GnuCash
5.6-150-g038405b370+
gnucash
gnome
gnc-plugin-page-register-filter.hpp
Go to the documentation of this file.
1
/**********************************************************************
2
* gnc-plugin-page-register-filter.hpp -- register page filter *
3
* *
4
* Copyright (C) 2026 Bob Fewell *
5
* *
6
* This program is free software; you can redistribute it and/or *
7
* modify it under the terms of the GNU General Public License as *
8
* published by the Free Software Foundation; either version 2 of *
9
* the License, or (at your option) any later version. *
10
* *
11
* This program is distributed in the hope that it will be useful, *
12
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
14
* GNU General Public License for more details. *
15
* *
16
* You should have received a copy of the GNU General Public License *
17
* along with this program; if not, contact: *
18
* *
19
* Free Software Foundation Voice: +1-617-542-5942 *
20
* 51 Franklin Street, Fifth Floor Fax: +1-617-542-2652 *
21
* Boston, MA 02110-1301, USA gnu@gnu.org *
22
**********************************************************************/
23
33
#ifndef __GNC_PLUGIN_PAGE_REGISTER_FILTER_HPP
34
#define __GNC_PLUGIN_PAGE_REGISTER_FILTER_HPP
35
36
#include <gtk/gtk.h>
37
#include "gnc-split-reg.h"
38
#include "
gnc-plugin-page.h
"
39
#include <stdbool.h>
40
41
struct
FilterData
42
{
43
GtkWidget* dialog;
44
cleared_match_t cleared_match;
45
time64
start_time;
46
time64
end_time;
47
int
days;
48
bool
save_filter;
49
};
50
51
void
gnc_ppr_filter_set_tooltip
(
GncPluginPage
* plugin_page,
struct
FilterData
*fd);
52
53
void
gnc_ppr_filter_clear_current_filter
(
GncPluginPage
* plugin_page);
54
55
void
gnc_ppr_filter_update_register
(
GncPluginPage
* plugin_page);
56
57
void
gnc_ppr_filter_by
(
GncPluginPage
*plugin_page,
Query
*query,
58
struct
FilterData
*fd,
bool
show_save_button);
59
60
#endif
/* __GNC_PLUGIN_PAGE_REGISTER_FILTER_HPP */
GncPluginPage
The instance data structure for a content plugin.
Definition:
gnc-plugin-page.h:58
gnc-plugin-page.h
Functions for adding plugins to a GnuCash window.
gnc_ppr_filter_set_tooltip
void gnc_ppr_filter_set_tooltip(GncPluginPage *plugin_page, FilterData *fd)
This function is used to update the tooltip shown in the register which shows a summary of the curren...
Definition:
gnc-plugin-page-register-filter.cpp:404
gnc_ppr_filter_update_register
void gnc_ppr_filter_update_register(GncPluginPage *plugin_page)
This function is called to update the register.
Definition:
gnc-plugin-page-register-filter.cpp:648
FilterData
Definition:
gnc-plugin-page-register-filter.hpp:41
gnc_ppr_filter_by
void gnc_ppr_filter_by(GncPluginPage *plugin_page, Query *query, FilterData *fd, bool show_save_button)
This function is called for the filter dialog.
Definition:
gnc-plugin-page-register-filter.cpp:1298
time64
gint64 time64
Most systems that are currently maintained, including Microsoft Windows, BSD-derived Unixes and Linux...
Definition:
gnc-date.h:87
_QofQuery
A Query.
Definition:
qofquery.cpp:74
gnc_ppr_filter_clear_current_filter
void gnc_ppr_filter_clear_current_filter(GncPluginPage *plugin_page)
This function is used to clear the current filter so that a specific split can be shown in the regist...
Definition:
gnc-plugin-page-register-filter.cpp:631
Generated by
1.8.14