Commit Graph

45 Commits (96b09ded9fedb0a97bab468124e1aeafdda93b43)

Author SHA1 Message Date
John Ralls bed44f404f Remove the always questionable Scheme generation and parsing code.
5 years ago
John Ralls a487ca3f98 Improve template conditional readability with custom traits values.
5 years ago
John Ralls 10381d42e0 Fix color option handling.
5 years ago
John Ralls e43ff93279 Fix some overly-long lines.
5 years ago
John Ralls 86d7637160 Handle GncOptionMultichoiceValue::set_value parameters
5 years ago
John Ralls 18997db720 Separate GncOptionAccountValue into GncOptionAccountListValue and GncOptionAccountSelValue.
5 years ago
John Ralls 05ac056449 Make separate option type for GncOwner.
5 years ago
John Ralls f5d8d508ee Create the GncOptionVariant's GncOptionValue in place.
5 years ago
John Ralls 6eb5dfed51 make-internal fail if there is a ui_item, not if there isn't.
5 years ago
John Ralls bbe74aa086 Remove tooltips from multichoice option values.
5 years ago
John Ralls f66a918be4 Implement GncOptionValue<const QofQuery*>
5 years ago
John Ralls 5c74337810 Add function GncOption::set_default_value.
5 years ago
John Ralls c04f4a00e0 Replace gnc_make_option<SCM> with gnc_make_scm_option
5 years ago
John Ralls d41292fddd Make set_selectable a GncOptionsGtkUIItem member function.
5 years ago
John Ralls 0b7ccfbd5b Create gnc-make-foo-option functions.
5 years ago
John Ralls a602f64b17 SFINAE-constrain the GncOption constructor templates.
5 years ago
John Ralls 472814d315 Change the normal internal option ValueType to SCM.
5 years ago
John Ralls 276d33975a Remove dialog-options.c, replaced by dialog-options.cpp.
5 years ago
John Ralls eb6e31f803 dialog-options: Change signature of gnc_option_get_gtk_widget()
5 years ago
John Ralls 67508ea039 Reimplement dialog-options for C++.
5 years ago
John Ralls 0106176436 Provide GncOption::is_alternate() for GncOptionRangeValue<>.
5 years ago
John Ralls 5fd53c94de Provide GncOption::GetLimits for setting a NUMBER_RANGE spin button.
5 years ago
John Ralls a995343a8b Provide for multiple selections in GncOptionMultichoiceValue
5 years ago
John Ralls 3200bd4966 Add a multiselect boolean member to GncOptionAccountValue.
5 years ago
John Ralls 6c8e0e23f7 Redesign GncOptionDateValue.
5 years ago
John Ralls 3b78b6e894 Change the GncOptionMultichoiceValue permissible value return types to const char*.
5 years ago
John Ralls 93a3716c00 Enable retrieval of a GncOptionDateValue's relative period.
5 years ago
John Ralls dc876d4041 Provide an accessor to GncOptionAccountValue::m_allowed
5 years ago
John Ralls 99c2c5e439 GncOptionUIItem from the GncOptionVariant classes to GncOption.
5 years ago
John Ralls aa246d3096 Make implementation classes and template code visible only in app-utils.
5 years ago
John Ralls cbd0607e80 Implement load and store options from/to book options.
5 years ago
John Ralls 826d75af16 Use istream::getline instead of std::getline for date option type parsing.
5 years ago
John Ralls 7ccba53739 Add stream functions to_scheme and from_scheme to GncOption.
5 years ago
John Ralls 98ca190700 Fix commodity in/out to use namespace & mnemonic instead of GUID.
5 years ago
John Ralls 4b997cd025 Fixups for GncOptionDateValue better design.
5 years ago
John Ralls 52d0ec5290 Change GncOptionDateValue design to better match usage.
5 years ago
John Ralls 883127a59d Implement operators >> and << on GncOption.
5 years ago
John Ralls b95ea2c4aa Add Account-list options.
5 years ago
John Ralls 7183e7c43a Fix begin/end of quarter calculations.
5 years ago
John Ralls 3dc4bc2377 Implement GncOptionDateValue.
5 years ago
John Ralls d544f85256 Replace boost::variant and boost::optional with the C++17 std equivs.
5 years ago
John Ralls 3296212aef Sketch out the rest of the option types.
5 years ago
John Ralls d88ec0dc1b Replace the gnc_make_foo_option free functions with a template ctor.
5 years ago
John Ralls b6fd844774 Wrap GncOptionValue/GncOptionValidatedValue in Boost::Variant.
5 years ago
John Ralls c0ba3e2706 [C++ Options] Begin Implementation for basic and validated options.
5 years ago