]> Dogcows Code - chaz/homebank/blob - src/ui-filter.h
Merge branch 'upstream'
[chaz/homebank] / src / ui-filter.h
1 /* HomeBank -- Free, easy, personal accounting for everyone.
2 * Copyright (C) 1995-2019 Maxime DOYEN
3 *
4 * This file is part of HomeBank.
5 *
6 * HomeBank is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
10 *
11 * HomeBank 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, see <http://www.gnu.org/licenses/>.
18 */
19
20 #ifndef __HB_FILTER_GTK_H__
21 #define __HB_FILTER_GTK_H__
22
23 enum
24 {
25 BUTTON_ALL,
26 BUTTON_NONE,
27 BUTTON_INVERT,
28 MAX_BUTTON
29 };
30
31
32
33
34
35 struct ui_flt_manage_data
36 {
37 Filter *filter;
38
39 GtkWidget *stack;
40
41 GtkWidget *CY_option[FILTER_MAX];
42
43 GtkWidget *PO_mindate, *PO_maxdate;
44 GtkWidget *CY_month, *NB_year;
45
46 GtkWidget *CM_reconciled;
47 GtkWidget *CM_cleared;
48 GtkWidget *LB_force, *GR_force;
49
50 GtkWidget *CM_forceadd, *CM_forcechg, *CM_forceremind;
51
52 GtkWidget *CM_paymode[NUM_PAYMODE_MAX];
53
54 GtkWidget *ST_minamount, *ST_maxamount;
55
56 GtkWidget *CM_exact;
57 GtkWidget *ST_info, *ST_memo, *ST_tag;
58
59 GtkWidget *LV_acc, *BT_acc[MAX_BUTTON];
60 GtkWidget *LV_pay, *BT_pay[MAX_BUTTON];
61 GtkWidget *LV_cat, *BT_cat[MAX_BUTTON];
62
63 GtkWidget *BT_expand, *BT_collapse;
64
65
66 gboolean show_account;
67
68
69 };
70
71
72 gint ui_flt_manage_dialog_new(GtkWindow *parentwindow, Filter *filter, gboolean show_account, gboolean txnmode);
73
74
75 #endif
This page took 0.034028 seconds and 4 git commands to generate.