summaryrefslogtreecommitdiffstats
path: root/src/extension/prefdialog/parameter-notebook.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2019-09-25Extensions: Warn for duplicate page names and option names/valuesPatrick Storz1-4/+0
This is easy to miss and causes confusing behavior (e.g. wrong page/option selected)
2019-08-31Make 'gui-text' required for visible parametersPatrick Storz1-2/+0
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-31Remove completely unused "doc" and "node" parametersPatrick Storz1-4/+4
2019-08-31Re-implement get_param() locally using get_widgets()Patrick Storz1-3/+0
2019-08-31Inherit destructor and recursively delete all widgetsPatrick Storz1-2/+0
let's hope this works as expected...
2019-08-31Complete conversion of ParamNotebook to use _childrenPatrick Storz1-1/+5
2019-08-31Make parameter string generation a job of Inkscape::ExtensionPatrick Storz1-12/+1
For this take a first step towards properly tracking children of each parameter and provide functions to look up all widgets.
2019-08-31Optimize parameter string generationPatrick Storz1-5/+3
Also rename overloaded string() functions, so it's clear what they actually do, as it's not the same thing at all...
2019-08-31InxParameter::string(): remove useless overridesPatrick Storz1-4/+4
2019-08-31More cleanupPatrick Storz1-7/+7
2019-08-31Rename Parameter -> InxParameter for consistencyPatrick Storz1-6/+6
2019-08-31Add function to get proper translation within context of ParameterPatrick Storz1-1/+1
2019-08-31Refactor a lot of the parameter handling codePatrick Storz1-36/+23
Many fixes, improvements and simplifications to existing code. Implements the first part of the changes discussed in https://gitlab.com/inkscape/inkscape/issues/333
2019-08-31Rename parameter source files to avoid name conflictsPatrick Storz1-0/+2
2019-08-31Move prefdialog to own directoryPatrick Storz1-0/+0
2018-11-08Clarify licensesMax Gaukler1-1/+2
- add license headers to everything - convert a few files from public domain or LGPL2.1+ to GPL2+ - some archaeology to clarify which files are from which library
2018-06-19Run clang-tidy’s modernize-redundant-void-arg pass.Emmanuel Gil Peyrot1-3/+3
2018-06-18Run clang-tidy’s modernize-use-override pass.Emmanuel Gil Peyrot1-8/+8
This adds the override specifier on all methods which override a virtual method, whether they were already virtual or missing this specifier.
2017-10-01Removed all GSList occurences in .h filesMarc Jeanmougin1-1/+28
2017-04-09Some code refactoring for consistencyEduard Braun1-3/+3
(notably "gui_hidden" -> hidden", "guitext" -> "text", "desc" -> "description") (bzr r15633.1.3)
2017-04-09Remove unused field "scope"Eduard Braun1-1/+0
(bzr r15633.1.2)
2017-04-09Remove unused field "gui_tip"Eduard Braun1-1/+0
("gui_description" does now what "gui_tip" was supposed to do) (bzr r15633.1.1)
2017-02-12Extensions: Make "indent" attribute a common attribute for all parameters ↵Eduard Braun1-1/+10
that behaves more consistent and predictable than before. - Every "Parameter" now has an "_indent" member variable (specifying the indentation level; set in "Parameter::make()", see parameter.cpp) - Indentation is achieved by using "set_margin_left()" on the parameter's widget. This fixes bug #1662035 (comment #4 contains some more details about this patch). - Specifying "indent" on a parameter will now work consistently for all parameters. Previously the "indent" attribute often had no effect at all, e.g. for notebooks but also for parameters with 'appearance="full"' which was reasonable in most cases but made the outcome of using this attribute often unpredictable and is unnecessarily restrictive. - Most visible change: "description"s always used an indentation level of at least one (even if no indentation was specified). For the sake of consistency this discrepancy was dropped. Previous appearance can easily be restored by setting 'indent="1"'. Fixed bugs: - https://launchpad.net/bugs/1662035 (bzr r15508)
2012-02-29Header tidying, suppress all gdk deprecation errors in gtkmmAlex Valavanis1-4/+4
(bzr r11030)
2011-12-19Const correctness fixes that also correct bug #893146.Jon A. Cruz1-7/+19
Fixed bugs: - https://launchpad.net/bugs/893146 (bzr r10783)
2011-10-04More forward.h purging.Jon A. Cruz1-1/+1
(bzr r10665)
2010-12-03Extensions. Notebooks now work with internal extensions.Nicolas Dufour1-0/+2
(bzr r9933)
2009-08-06Revert recent refactoring changes by johnce because they break the build, ↵Maximilian Albert1-3/+3
which cannot be fixed easily. (bzr r8422)
2009-08-05SPDocument->Documentjohnce1-3/+3
(bzr r8407)
2008-04-04r18381@shi: ted | 2008-03-07 20:11:34 -0800Ted Gould1-2/+2
New work branch r18391@shi: ted | 2008-03-08 21:36:03 -0800 Moving the parameters around to clean up the directories. r18392@shi: ted | 2008-03-08 21:57:14 -0800 Moving the 'get' function to cpp r18870@shi: ted | 2008-04-03 21:10:20 -0700 Adding in to the parameter prototype the ability to have a gui-tip and a gui-hidden parameter r18871@shi: ted | 2008-04-03 21:17:39 -0700 Using the _gui-hidden parameter to block the creation of the widget if set. r18890@shi: ted | 2008-04-03 21:53:55 -0700 Merge from r18024 which got lost in the shuffle. (bzr r5322)
2008-03-01Warning and whitespace cleanupJon A. Cruz1-7/+7
(bzr r4914)
2008-02-29r18220@shi: ted | 2008-02-29 13:18:55 -0800Ted Gould1-9/+8
Okay, sadly I'm not keeping the version history because I'm not convenced that SVK will do it right. One mega-patch, but that's life. Reshuffle the exection-env and prefdialog code so that the state machines aren't intertwines, which fixes a whole host of bugs with them. I think the behavior is correct now. Make it so that the effects can count how many preferences they have to determine if the dialog should be shown (fix above). Once this code was written it was easy to make it show an ellipsis on the verb if there is a dialog or not. This involved removing ellipsis from those effects that had it hard coded. Make it so that the parameters know that their command line options are going into a list. They don't have to acknowledge it, but they can, and specifically notebook does and handles it differently. This should fix the notebooks on Win32, but doesn't apparently completely. Change the script extension on windows to use pythonw instead of python so that the command line doesn't appear all the time. (bzr r4908)
2008-02-28Warning cleanupJon A. Cruz1-7/+7
(bzr r4891)
2008-02-27Fix passing of notebook extension parameters.Johan B. C. Engelen1-0/+1
(bzr r4884)
2007-11-04Add virtual to a lot of the destructors. Note: perhaps it will have to be ↵Johan B. C. Engelen1-1/+1
reverted for some files to keep them C-compatible. (bzr r4024)
2007-06-27r15506@tres: ted | 2007-05-24 22:30:55 -0700Ted Gould1-1/+1
Wow, the basics are kinda working. Only for ints and floats, and it seems to not like repeadative entry. But, it really is seeming very feasible. (bzr r3128)
2007-02-19Cleaned up DOS line ends that had snuck in.Jon A. Cruz1-68/+68
(bzr r2399)
2006-09-14Added notebook (tabs) support for Effects. Now you can specify a notebook ↵Johan B. C. Engelen1-0/+68
parameter in the .inx file, and create pages. Will commit a new effect that uses this, so there will be an example. (bzr r1706)