summaryrefslogtreecommitdiffstats
path: root/src/extension/prefdialog/parameter-notebook.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2019-09-25Extensions: Warn for duplicate page names and option names/valuesPatrick Storz1-0/+13
This is easy to miss and causes confusing behavior (e.g. wrong page/option selected)
2019-09-01Add appearance="multiline" to parameters of type stringPatrick Storz1-1/+2
Renders a Gtk::TextView that automatically fills the available space in the extension's preferences dialog and can be used to accept longer multi-line strings. Newlines in the string value will be passed as "\\n" to the extension script (i.e. literal '\n' with the backspace escaped).
2019-08-31Add new widgets "hbox" and "vbox" for layouting purposesPatrick Storz1-5/+10
2019-08-31Simplify pref_name() functionPatrick Storz1-6/+2
2019-08-31Remove completely unused "doc" and "node" parametersPatrick Storz1-16/+9
2019-08-31Re-implement get_param() locally using get_widgets()Patrick Storz1-36/+1
2019-08-31Inherit destructor and recursively delete all widgetsPatrick Storz1-15/+0
let's hope this works as expected...
2019-08-31Complete conversion of ParamNotebook to use _childrenPatrick Storz1-13/+21
2019-08-31Make parameter string generation a job of Inkscape::ExtensionPatrick Storz1-44/+29
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-20/+13
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/+3
2019-08-31More cleanupPatrick Storz1-5/+5
2019-08-31Rename Parameter -> InxParameter for consistencyPatrick Storz1-6/+6
2019-08-31Create new InxWidget base class for extension widgets.Patrick Storz1-3/+3
2019-08-31cleanup includes in parametersPatrick Storz1-5/+3
2019-08-31Add function to get proper translation within context of ParameterPatrick Storz1-5/+12
2019-08-31Refactor a lot of the parameter handling codePatrick Storz1-183/+106
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-1/+2
2019-08-31Move prefdialog to own directoryPatrick Storz1-0/+0
2019-05-26Rm unused code now Gtk+ >= 3.22 dependency is setAlexander Valavanis1-4/+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-10-22Remove 'document-private.h' where not needed plus some other header cleanup.Tavmjong Bah1-1/+0
2018-10-01Remove #include "config.h" wherever possibleEduard Braun1-4/+0
2018-06-19Run clang-tidy’s modernize-redundant-void-arg pass.Emmanuel Gil Peyrot1-2/+2
2018-06-18Run clang-tidy’s modernize-use-nullptr pass.Emmanuel Gil Peyrot1-21/+21
This replaces all NULL or 0 with nullptr when assigned to or returned as a pointer.
2018-05-04Revert "Fix include order with clang-tidy check llvm-include-order"Marc Jeanmougin1-3/+3
This reverts commit bba4ff6672494fab59286b50f6c645ad62a47e60.
2018-04-29Fix include order with clang-tidy check llvm-include-orderMarc Jeanmougin1-3/+3
2018-01-30Move classes derived from SPObject to own directory.Tavmjong Bah1-1/+0
A lot of header clean-up.
2017-10-01Removed all GSList occurences in .h filesMarc Jeanmougin1-84/+41
2017-04-24Extensions: Fixes and improvements for "gui-description" parameter attribute ↵Eduard Braun1-1/+1
along the lines of r14955 - "gui-description" was always translated (as opposed to only "_gui-description") - Added possibility to specify "msgctxt" for "_gui-description" (bzr r15635)
2017-04-09Some code refactoring for consistencyEduard Braun1-31/+31
(notably "gui_hidden" -> hidden", "guitext" -> "text", "desc" -> "description") (bzr r15633.1.3)
2017-04-09Remove unused field "scope"Eduard Braun1-19/+3
(bzr r15633.1.2)
2017-04-09Remove unused field "gui_tip"Eduard Braun1-10/+3
("gui_description" does now what "gui_tip" was supposed to do) (bzr r15633.1.1)
2017-02-26Gtk+ 3 deprecation fixesAlex Valavanis1-0/+4
(bzr r15547)
2017-02-12Extensions: Harmonize appearance and try to simplify layouting a bitEduard Braun1-3/+4
(bzr r15509)
2017-02-12Extensions: Make "indent" attribute a common attribute for all parameters ↵Eduard Braun1-7/+32
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)
2016-07-28extensions: Drop GTKMM2 fallbacksAlex Valavanis1-8/+0
(bzr r15023.2.5)
2015-04-27Fix unnecessary inclusion of glibmm/threads.h. This can be resolved by ↵Alex Valavanis1-4/+0
ensuring that glibmm headers always preceed glib.h headers. Same applies with gtkmm/gtk+ etc (bzr r14064)
2014-05-22i18n. Fix for Bug #1318339 (Tooltips in extensions page elements are not ↵Nicolas Dufour1-1/+1
translated). Fixed bugs: - https://launchpad.net/bugs/1318339 (bzr r13396)
2013-06-06Added configure/ifdef guards to only bring in the needed #include if glibmm ↵Jon A. Cruz1-0/+2
has it. (bzr r12353)
2013-06-04Correct to compile against recent gtkmm, including updated macports ↵Jon A. Cruz1-0/+1
versions. Fixes bug #1179338. Fixed bugs: - https://launchpad.net/bugs/1179338 (bzr r12346.1.1)
2012-12-16Extensions. Fix for Bug #1089814 (INX: hidden parameter inside a notebook ↵Nicolas Dufour1-8/+10
page triggers crash). (bzr r11956)
2012-05-22Drop deprecated GtkNotebookPage usageAlex Valavanis1-2/+9
(bzr r11401)
2012-03-01various minor thingsKris De Gussem1-16/+18
(bzr r11036)
2012-02-29cppcheckKris De Gussem1-2/+0
added todo warning for sp-conn-end (after devmail message) (bzr r11033)
2012-02-06Extensions: replace deprecated gtkmm symbolsAlex Valavanis1-1/+1
(bzr r10943)
2012-01-03Janitorial tasks: get rid of deprecated repr wrapper functionsKris De Gussem1-4/+4
(bzr r10830)
2012-01-03Fixed null-pointer ctor crashes.Jon A. Cruz1-2/+5
(bzr r10828)
2012-01-03Cleanup GSEAL issues and deprecated GtkTooltipsAlex Valavanis1-10/+2
(bzr r10826)
2011-12-19Const correctness fixes that also correct bug #893146.Jon A. Cruz1-76/+68
Fixed bugs: - https://launchpad.net/bugs/893146 (bzr r10783)