summaryrefslogtreecommitdiffstats
path: root/src/extension/prefdialog/parameter-notebook.h
diff options
context:
space:
mode:
authorPatrick Storz <eduard.braun2@gmx.de>2019-08-06 20:30:54 +0000
committerPatrick Storz <eduard.braun2@gmx.de>2019-08-31 14:50:39 +0000
commit2bdffba8f4da0fe64d4a5b85096d057d389abef8 (patch)
tree24cad4825a1a74efca7d7607724b89fab87e2f4d /src/extension/prefdialog/parameter-notebook.h
parentAccept parameter type "bool" (diff)
downloadinkscape-2bdffba8f4da0fe64d4a5b85096d057d389abef8.tar.gz
inkscape-2bdffba8f4da0fe64d4a5b85096d057d389abef8.zip
Make parameter string generation a job of Inkscape::Extension
For this take a first step towards properly tracking children of each parameter and provide functions to look up all widgets.
Diffstat (limited to 'src/extension/prefdialog/parameter-notebook.h')
-rw-r--r--src/extension/prefdialog/parameter-notebook.h13
1 files changed, 1 insertions, 12 deletions
diff --git a/src/extension/prefdialog/parameter-notebook.h b/src/extension/prefdialog/parameter-notebook.h
index 90d032af3..4f23940e5 100644
--- a/src/extension/prefdialog/parameter-notebook.h
+++ b/src/extension/prefdialog/parameter-notebook.h
@@ -45,23 +45,18 @@ private:
*/
class ParamNotebookPage : public InxParameter {
friend class ParamNotebook;
- private:
- /** A table to store the parameters for this page.
- * This only gets created if there are parameters on this page */
- std::vector<InxParameter *> parameters;
public:
ParamNotebookPage(Inkscape::XML::Node *xml, Inkscape::Extension::Extension *ext);
~ParamNotebookPage() override;
Gtk::Widget *get_widget(SPDocument *doc, Inkscape::XML::Node *node, sigc::signal<void> *changeSignal) override;
- void build_param_string_list(std::list <std::string> &list) const override;
char *get_text() { return _text; };
InxParameter *get_param(const char *name) override;
}; /* class ParamNotebookPage */
/** A table to store the pages with parameters for this notebook.
* This only gets created if there are pages in this notebook */
- std::vector<ParamNotebookPage*> pages;
+ std::vector<ParamNotebookPage*> _pages;
public:
ParamNotebook(Inkscape::XML::Node *xml, Inkscape::Extension::Extension *ext);
@@ -69,12 +64,6 @@ public:
Gtk::Widget *get_widget(SPDocument *doc, Inkscape::XML::Node *node, sigc::signal<void> *changeSignal) override;
- /**
- * A function to get the currentpage and the parameters in a string form.
- * @return A string with the 'value' and all the parameters on all pages as command line arguments.
- */
- void build_param_string_list(std::list <std::string> &list) const override;
-
std::string value_to_string() const override;
InxParameter *get_param (const char *name) override;