summaryrefslogtreecommitdiffstats
path: root/src/extension/param/parameter.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Move prefdialog to own directoryPatrick Storz2019-08-311-461/+0
|
* modernize loopsMarc Jeanmougin2019-01-021-3/+2
|
* Clarify licensesMax Gaukler2018-11-081-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
* Remove 'document-private.h' where not needed plus some other header cleanup.Tavmjong Bah2018-10-221-9/+13
|
* Remove #include "config.h" wherever possibleEduard Braun2018-10-011-4/+0
|
* Run clang-tidy’s modernize-redundant-void-arg pass.Emmanuel Gil Peyrot2018-06-191-2/+2
|
* Run clang-tidy’s modernize-use-nullptr pass.Emmanuel Gil Peyrot2018-06-181-38/+38
| | | | | This replaces all NULL or 0 with nullptr when assigned to or returned as a pointer.
* Misc. typosluz.paz2018-05-141-1/+1
| | | Found via `codespell` and `grep`
* Revert "Fix include order with clang-tidy check llvm-include-order"Marc Jeanmougin2018-05-041-2/+2
| | | | This reverts commit bba4ff6672494fab59286b50f6c645ad62a47e60.
* Fix include order with clang-tidy check llvm-include-orderMarc Jeanmougin2018-04-291-2/+2
|
* Move classes derived from SPObject to own directory.Tavmjong Bah2018-01-301-1/+1
| | | | A lot of header clean-up.
* Restore r14978 which was reverted in r15047 due to messed up mergeEduard Braun2017-04-241-1/+0
| | | | | | http://bazaar.launchpad.net/~inkscape.dev/inkscape/trunk/revision/14978 http://bazaar.launchpad.net/~inkscape.dev/inkscape/trunk/revision/15047 (bzr r15638)
* Extensions: Fixes and improvements for "gui-description" parameter attribute ↵Eduard Braun2017-04-241-0/+8
| | | | | | | | 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)
* Some code refactoring for consistencyEduard Braun2017-04-091-44/+44
| | | | | (notably "gui_hidden" -> hidden", "guitext" -> "text", "desc" -> "description") (bzr r15633.1.3)
* Remove unused field "scope"Eduard Braun2017-04-091-29/+13
| | | (bzr r15633.1.2)
* Remove unused field "gui_tip"Eduard Braun2017-04-091-26/+14
| | | | | ("gui_description" does now what "gui_tip" was supposed to do) (bzr r15633.1.1)
* Restore r14955 which was reverted in r15047 due to messed up mergeEduard Braun2017-04-241-0/+11
| | | | | | | | | http://bazaar.launchpad.net/~inkscape.dev/inkscape/trunk/revision/14955 http://bazaar.launchpad.net/~inkscape.dev/inkscape/trunk/revision/15047 Fixed bugs: - https://launchpad.net/bugs/1669951 (bzr r15633)
* Extensions: Add 'appearance="url"' to desccription parameters.Eduard Braun2017-02-131-4/+8
| | | | | | | | It allows to create and add a clickable plain text link to extensions The description parameter's text is escaped and converted to a URL as-is preventing potential security issues The Scour extension shows a first example implementation (bzr r15519)
* Extensions: Do not require name for pure UI elements (i.e. parameters that ↵Eduard Braun2017-02-131-2/+9
| | | | | do not store a value and therefore do not need to have a name) (bzr r15515)
* Extensions: Make "indent" attribute a common attribute for all parameters ↵Eduard Braun2017-02-121-15/+28
| | | | | | | | | | | | | 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)
* Replaced old selection containersAdrian Boguszewski2016-06-121-0/+2
|\ | | | | (bzr r14954.1.6)
| * Clean up includes after r14955Eduard Braun2016-06-111-1/+2
| | | | | | | | | | | | Fixed bugs: - https://launchpad.net/bugs/1589300 (bzr r14978)
| * Extensions: Fixes and improvements for "gui-text" parameter attributeEduard Braun2016-06-051-0/+11
|/ | | | | | | - "gui-text" was always translated (as opposed to only "_gui-text") - This made it impossible to have parameters without label (since the empty string returns the whole .po file header when translated), which caused an issue in restack extension - Added possibility to specify "msgctxt" for "gui-text" (bzr r14955)
* Fix more GThreads issuesAlex Valavanis2015-12-271-5/+2
| | | (bzr r14546)
* moved ColorNotebook to ui/widgetTomasz Boczkowski2014-06-011-2/+1
| | | (bzr r13341.6.51)
* SPColorNotebok c++-sification - available pages listTomasz Boczkowski2014-05-301-0/+4
| | | (bzr r13341.6.28)
* Add command line option to specify PDF export version. Patch from schwieni.Vinícius dos Santos Oliveira2013-06-051-0/+18
| | | | | | | | | | | | | From the patch's author: Additional command line option added to export to different PDF-versions supported by cairo (currently only "PDF 1.4" and "PDF 1.5"). The user must provide the exact string found in the PDF-export dialog of Inkscape. This feature was previously only accessible via the GUI of Inkscape. This option is useful for people opting for PDF-a conformance in their PDFs. Moreover, the Extension and Parameter classes are extended by setters for enum parameters (used in combo boxes). (bzr r12348)
* Header tidying, suppress all gdk deprecation errors in gtkmmAlex Valavanis2012-02-291-0/+1
| | | (bzr r11030)
* Const correctness fixes that also correct bug #893146.Jon A. Cruz2011-12-191-147/+122
| | | | | | Fixed bugs: - https://launchpad.net/bugs/893146 (bzr r10783)
* one constructor cannot call the other to initialize the object. See ↵Johan B. C. Engelen2011-10-281-2/+18
| | | | | C++faq-lite 10.3 (bzr r10699)
* Warning cleanup.Jon A. Cruz2011-10-231-3/+2
| | | (bzr r10691)
* Removed outdated/unsafe SP_DOCUMENT_DEFS macro and reduced usage of ↵Jon A. Cruz2011-06-041-1/+1
| | | | | SP_ROOT() gtk type function/macro. (bzr r10254)
* remove unnecessary includes.Johan B. C. Engelen2011-04-161-4/+0
| | | (bzr r10174)
* Extensions. Replacing the groupheader element with an appearance mode in the ↵Nicolas Dufour2011-03-251-4/+5
| | | | | description element. (bzr r10129)
* Extensions. Float and Int default mode set to minimal. Filters' mode changed ↵Nicolas Dufour2011-03-151-6/+6
| | | | | to full. (bzr r10106)
* Extensions. Slider in Float and Int extension widgets.Nicolas Dufour2011-03-141-2/+10
| | | (bzr r10103)
* Finished cleanup of outdated SP_OBJECT_REPR C macro.Jon A. Cruz2011-02-221-1/+1
| | | (bzr r10067)
* Merge and cleanup of GSoC C++-ification project.Jon A. Cruz2010-12-121-3/+3
|\ | | | | (bzr r9945.1.1)
* | Extensions. Notebooks now work with internal extensions.Nicolas Dufour2010-12-031-2/+7
| | | | | | (bzr r9933)
* | Super duper mega (fun!) commit: replaced encoding=utf-8 with ↵Chris Morgan2010-11-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fileencoding=utf-8 in all 1074 Vim modelines. The reason for this is that (a) setting the encoding isn't nice, and (b) Vim 7.3 (with modeline enabled) disallows it and pops up an error whenever you open any file with it ("invalid modeline"). Also corrected five deviant modestrings: * src/ui/widget/dock.cpp and src/ui/widget/dock.h: missing colon at the end * src/ui/dialog/tile.cpp: removed gratuitous second colon at the end * src/helper/units-test.h: removed gratuitous space before a colon * share/extensions/export_gimp_palette.py: missing textwidth=99 That's my geekiest commit yet. (bzr r9900)
* | Extensions. General UI improvements (gnome HIG). New group header extension ↵Nicolas Dufour2010-09-071-1/+5
|/ | | | | parameter. (bzr r9748)
* Added wrappers for the "optiongroup" type that correspond to existing ↵Jon A. Cruz2010-03-181-0/+21
| | | | | "float", "enum" etc. wrappers. (bzr r9201)
* Revert recent refactoring changes by johnce because they break the build, ↵Maximilian Albert2009-08-061-13/+13
| | | | | which cannot be fixed easily. (bzr r8422)
* SPDocument->Documentjohnce2009-08-051-13/+13
| | | (bzr r8408)
* From trunkTed Gould2008-10-271-6/+6
| | | (bzr r6885)
* release reprs properlybulia byak2008-09-201-0/+2
| | | (bzr r6855)
* Added an 'appearance' hint to .inx optiongroups to allow for dropdowns ↵Jon A. Cruz2008-05-241-1/+6
| | | | | instead of radio buttons. (bzr r5748)
* Fixes Bug #216584 (Effects/Color/Replace color not accepting UC) and also ↵Marcin Floryan2008-04-151-0/+5
| | | | | implements max_length attribute for string parameters in inx files. (bzr r5450)
* r18381@shi: ted | 2008-03-07 20:11:34 -0800Ted Gould2008-04-041-0/+389
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)