summaryrefslogtreecommitdiffstats
path: root/src/extension/prefdialog/parameter-optiongroup.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Extensions: Warn for duplicate page names and option names/valuesPatrick Storz2019-09-251-0/+18
| | | | | This is easy to miss and causes confusing behavior (e.g. wrong page/option selected)
* Extensions: Handle optiongroup options without valuePatrick Storz2019-09-071-2/+11
| | | | | | | | | | We use the user visible GUI text as value in this case, which may or may not be translated. For backwards-compatibility with enum items use the untranslated value instead, if one of the deprecated tag-names is found. Fixes https://gitlab.com/inkscape/inkscape/issues/399
* Make 'gui-text' required for visible parametersPatrick Storz2019-08-311-0/+1
| | | | | | | | | We were actually crashing for visible parameters without 'gui-text' otherwise. Also make sure we actually *do* bail out if we have parameters missing required fields and throw/catch an exception instead of producing broken instances.
* Simplify pref_name() functionPatrick Storz2019-08-311-6/+2
|
* Remove completely unused "doc" and "node" parametersPatrick Storz2019-08-311-22/+11
|
* Optimize parameter string generationPatrick Storz2019-08-311-7/+2
| | | | | Also rename overloaded string() functions, so it's clear what they actually do, as it's not the same thing at all...
* More cleanupPatrick Storz2019-08-311-2/+2
|
* Rename Parameter -> InxParameter for consistencyPatrick Storz2019-08-311-2/+2
|
* Create new InxWidget base class for extension widgets.Patrick Storz2019-08-311-1/+1
|
* Derive optiongroup options from ParameterPatrick Storz2019-08-311-38/+44
| | | | | | A bit hackish for now as <option>s are not really parameters and don't have a name, pending creation of a better base-class for non-parameter .inx elements.
* Add function to get proper translation within context of ParameterPatrick Storz2019-08-311-6/+1
|
* Refactor a lot of the parameter handling codePatrick Storz2019-08-311-0/+342
Many fixes, improvements and simplifications to existing code. Implements the first part of the changes discussed in https://gitlab.com/inkscape/inkscape/issues/333