summaryrefslogtreecommitdiffstats
path: root/src/extension/prefdialog/parameter-optiongroup.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2019-09-25Extensions: Warn for duplicate page names and option names/valuesPatrick Storz1-0/+18
This is easy to miss and causes confusing behavior (e.g. wrong page/option selected)
2019-09-07Extensions: Handle optiongroup options without valuePatrick Storz1-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
2019-08-31Make 'gui-text' required for visible parametersPatrick Storz1-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.
2019-08-31Simplify pref_name() functionPatrick Storz1-6/+2
2019-08-31Remove completely unused "doc" and "node" parametersPatrick Storz1-22/+11
2019-08-31Optimize parameter string generationPatrick Storz1-7/+2
Also rename overloaded string() functions, so it's clear what they actually do, as it's not the same thing at all...
2019-08-31More cleanupPatrick Storz1-2/+2
2019-08-31Rename Parameter -> InxParameter for consistencyPatrick Storz1-2/+2
2019-08-31Create new InxWidget base class for extension widgets.Patrick Storz1-1/+1
2019-08-31Derive optiongroup options from ParameterPatrick Storz1-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.
2019-08-31Add function to get proper translation within context of ParameterPatrick Storz1-6/+1
2019-08-31Refactor a lot of the parameter handling codePatrick Storz1-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