GnuCash c935c2f+
Loading...
Searching...
No Matches
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>
38#include "gnc-plugin-page.h"
39#include <stdbool.h>
40
42{
43 GtkWidget* dialog;
44 cleared_match_t cleared_match;
45 GncAccountingPeriod start_ap;
46 time64 start_time;
47 int start_days;
49 time64 end_time;
50 int end_days;
51 int days;
52 bool save_filter;
53};
54
55void gnc_ppr_filter_set_tooltip (GncPluginPage* plugin_page, struct FilterData *fd);
56
58
60
61void gnc_ppr_filter_by (GncPluginPage *plugin_page, Query *query,
62 struct FilterData *fd, bool show_save_button);
63
64#endif /* __GNC_PLUGIN_PAGE_REGISTER_FILTER_HPP */
General utilities for dealing with accounting periods.
Functions for adding plugins to a GnuCash window.
gint64 time64
Most systems that are currently maintained, including Microsoft Windows, BSD-derived Unixes and Linux...
Definition gnc-date.h:87
GncAccountingPeriod
This specifies a time interval.
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...
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...
void gnc_ppr_filter_by(GncPluginPage *plugin_page, Query *query, FilterData *fd, bool show_save_button)
This function is called for the filter dialog.
void gnc_ppr_filter_update_register(GncPluginPage *plugin_page)
This function is called to update the register.
The instance data structure for a content plugin.
A Query.
Definition qofquery.cpp:75