2020-01-27 15:40:39 -06:00
|
|
|
/********************************************************************\
|
|
|
|
* gnc-option-uitype.hpp -- UI Control Enum for GncOption *
|
|
|
|
* Copyright (C) 2020 John Ralls <jralls@ceridwen.us> *
|
|
|
|
* *
|
|
|
|
* This program is free software; you can redistribute it and/or *
|
|
|
|
* modify it under the terms of the GNU General Public License as *
|
|
|
|
* published by the Free Software Foundation; either version 2 of *
|
|
|
|
* the License, or (at your option) any later version. *
|
|
|
|
* *
|
|
|
|
* This program is distributed in the hope that it will be useful, *
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
|
|
|
|
* GNU General Public License for more details. *
|
|
|
|
* *
|
|
|
|
* You should have received a copy of the GNU General Public License*
|
|
|
|
* along with this program; if not, contact: *
|
|
|
|
* *
|
|
|
|
* Free Software Foundation Voice: +1-617-542-5942 *
|
|
|
|
* 51 Franklin Street, Fifth Floor Fax: +1-617-542-2652 *
|
|
|
|
* Boston, MA 02110-1301, USA gnu@gnu.org *
|
|
|
|
* *
|
|
|
|
\********************************************************************/
|
|
|
|
#ifndef GNC_OPTION_UITYPE_HPP__
|
|
|
|
#define GNC_OPTION_UITYPE_HPP__
|
|
|
|
|
2021-11-10 20:01:55 -06:00
|
|
|
/** @addtogroup Engine
|
|
|
|
@{ */
|
|
|
|
/** @addtogroup Options
|
|
|
|
@{ */
|
|
|
|
/** @file gnc-option-uitype.hpp
|
|
|
|
@brief OptionUITypes
|
|
|
|
@author Copyright 2019-2021 John Ralls <jralls@ceridwen.us>
|
|
|
|
*/
|
|
|
|
|
|
|
|
/** @enum GncOptionUIType
|
|
|
|
* Used by GncOptionClassifier to indicate to dialog-options what control
|
|
|
|
* should be displayed for the option.
|
|
|
|
*/
|
2021-01-04 19:13:53 -06:00
|
|
|
enum class GncOptionUIType : unsigned int
|
2020-01-27 15:40:39 -06:00
|
|
|
{
|
|
|
|
INTERNAL,
|
|
|
|
BOOLEAN,
|
|
|
|
STRING,
|
|
|
|
TEXT,
|
|
|
|
CURRENCY,
|
|
|
|
COMMODITY,
|
|
|
|
MULTICHOICE,
|
2020-02-18 16:23:59 -06:00
|
|
|
DATE_ABSOLUTE,
|
2020-03-05 20:06:46 -06:00
|
|
|
DATE_RELATIVE,
|
|
|
|
DATE_BOTH,
|
2020-01-27 15:40:39 -06:00
|
|
|
ACCOUNT_LIST,
|
|
|
|
ACCOUNT_SEL,
|
|
|
|
LIST,
|
|
|
|
NUMBER_RANGE,
|
|
|
|
COLOR,
|
|
|
|
FONT,
|
2020-03-05 20:07:35 -06:00
|
|
|
PLOT_SIZE,
|
2020-01-27 15:40:39 -06:00
|
|
|
BUDGET,
|
|
|
|
PIXMAP,
|
|
|
|
RADIOBUTTON,
|
|
|
|
DATE_FORMAT,
|
|
|
|
OWNER,
|
|
|
|
CUSTOMER,
|
|
|
|
VENDOR,
|
|
|
|
EMPLOYEE,
|
|
|
|
INVOICE,
|
2021-03-11 19:56:53 -06:00
|
|
|
JOB,
|
2020-01-27 15:40:39 -06:00
|
|
|
TAX_TABLE,
|
2022-05-06 09:05:12 -05:00
|
|
|
INV_REPORT,
|
2020-01-27 15:40:39 -06:00
|
|
|
QUERY,
|
2022-03-21 14:46:02 -05:00
|
|
|
REPORT_PLACEMENT,
|
2020-04-04 15:31:34 -05:00
|
|
|
MAX_VALUE, //Nake sure this one is always last
|
2020-01-27 15:40:39 -06:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // GNC_OPTION_UITYPE_H__
|
2021-11-10 20:01:55 -06:00
|
|
|
/** @}
|
|
|
|
@} */
|