GnuCash  5.6-150-g038405b370+
gnc-option-uitype.hpp
Go to the documentation of this file.
1 /********************************************************************\
2  * gnc-option-uitype.hpp -- UI Control Enum for GncOption *
3  * Copyright (C) 2020 John Ralls <jralls@ceridwen.us> *
4  * *
5  * This program is free software; you can redistribute it and/or *
6  * modify it under the terms of the GNU General Public License as *
7  * published by the Free Software Foundation; either version 2 of *
8  * the License, or (at your option) any later version. *
9  * *
10  * This program is distributed in the hope that it will be useful, *
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of *
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
13  * GNU General Public License for more details. *
14  * *
15  * You should have received a copy of the GNU General Public License*
16  * along with this program; if not, contact: *
17  * *
18  * Free Software Foundation Voice: +1-617-542-5942 *
19  * 51 Franklin Street, Fifth Floor Fax: +1-617-542-2652 *
20  * Boston, MA 02110-1301, USA gnu@gnu.org *
21  * *
22 \********************************************************************/
23 #ifndef GNC_OPTION_UITYPE_HPP__
24 #define GNC_OPTION_UITYPE_HPP__
25 
39 enum class GncOptionUIType : unsigned int
40 {
41  INTERNAL,
42  BOOLEAN,
43  STRING,
44  TEXT,
45  CURRENCY,
46  COMMODITY,
47  MULTICHOICE,
48  DATE_ABSOLUTE,
49  DATE_RELATIVE,
50  DATE_BOTH,
51  ACCOUNT_LIST,
52  ACCOUNT_SEL,
53  LIST,
54  NUMBER_RANGE,
55  COLOR,
56  FONT,
57  PLOT_SIZE,
58  BUDGET,
59  PIXMAP,
60  RADIOBUTTON,
61  DATE_FORMAT,
62  OWNER,
63  CUSTOMER,
64  VENDOR,
65  EMPLOYEE,
66  INVOICE,
67  JOB,
68  TAX_TABLE,
69  INV_REPORT,
70  QUERY,
71  REPORT_PLACEMENT,
72  MAX_VALUE, //Nake sure this one is always last
73 };
74 
75 #endif // GNC_OPTION_UITYPE_H__
76 
GncOptionUIType
Used by GncOptionClassifier to indicate to dialog-options what control should be displayed for the op...