Searched refs:prefs (Results 1 - 25 of 194) sorted by relevance

12345678

/inkscape/src/
H A Dpreferences-test.h32 prefs = Inkscape::Preferences::get();
35 prefs = NULL;
41 TS_ASSERT_DIFFERS(prefs, static_cast<void*>(0));
42 TS_ASSERT_EQUALS(prefs->isWritable(), true);
47 prefs->setInt("/test/intvalue", 123);
48 prefs->setInt("/test/intvalue", 321);
49 TS_ASSERT_EQUALS(prefs->getInt("/test/intvalue"), 321);
54 TS_ASSERT_EQUALS(prefs->getInt("/this/path/does/not/exist", 123), 123);
59 prefs->setInt("/test/intvalue", 1000);
62 TS_ASSERT_EQUALS(prefs
124 Inkscape::Preferences *prefs; member in class:PreferencesTest
[all...]
H A Dselcue.cpp57 Inkscape::Preferences *prefs = Inkscape::Preferences::get(); local
58 _updateItemBboxes(prefs);
59 prefs->addObserver(_bounding_box_prefs_observer);
83 void Inkscape::SelCue::_updateItemBboxes(Inkscape::Preferences *prefs) argument
85 gint mode = prefs->getInt("/options/selcue/value", MARK);
92 int prefs_bbox = prefs->getBool("/tools/bounding_box");
139 Inkscape::Preferences *prefs = Inkscape::Preferences::get(); local
140 gint mode = prefs->getInt("/options/selcue/value", MARK);
147 int prefs_bbox = prefs->getBool("/tools/bounding_box");
237 Inkscape::Preferences *prefs local
[all...]
/inkscape/src/extension/
H A Derror-file.cpp66 Inkscape::Preferences *prefs = Inkscape::Preferences::get(); local
70 checkbutton->set_active(prefs->getBool(PREFERENCE_ID, true));
89 Inkscape::Preferences *prefs = Inkscape::Preferences::get(); local
90 prefs->setBool(PREFERENCE_ID, checkbutton->get_active());
101 Inkscape::Preferences *prefs = Inkscape::Preferences::get(); local
102 if (!prefs->getBool(PREFERENCE_ID, true))
H A Dpatheffect.cpp53 Inkscape::XML::Node * prefs = sp_repr_lookup_child(defs, "id", &(patheffect[1])); local
54 if (prefs == NULL) {
59 gchar const * ext_id = prefs->attribute("extension");
68 peffect->processPath(doc, path, prefs);
H A Dsystem.cpp100 Inkscape::Preferences *prefs = Inkscape::Preferences::get(); local
101 bool ask = prefs->getBool("/dialogs/import/ask");
114 if (!imod->prefs(filename)) {
246 if (!omod->prefs()) {
585 Inkscape::Preferences *prefs = Inkscape::Preferences::get(); local
590 extension = prefs->getString("/dialogs/save_as/default");
593 extension = prefs->getString("/dialogs/save_copy/default");
612 Inkscape::Preferences *prefs = Inkscape::Preferences::get(); local
618 use_current_dir = prefs->getBool("/dialogs/save_as/use_current_dir", true);
622 path = prefs
664 Inkscape::Preferences *prefs = Inkscape::Preferences::get(); local
682 Inkscape::Preferences *prefs = Inkscape::Preferences::get(); local
[all...]
/inkscape/src/widgets/
H A Ddropper-toolbar.cpp48 Inkscape::Preferences *prefs = Inkscape::Preferences::get(); local
49 prefs->setInt( "/tools/dropper/pick", gtk_toggle_action_get_active( act ) );
64 Inkscape::Preferences *prefs = Inkscape::Preferences::get(); local
65 prefs->setBool( "/tools/dropper/setalpha", gtk_toggle_action_get_active( act ) );
79 Inkscape::Preferences *prefs = Inkscape::Preferences::get(); local
80 gint pickAlpha = prefs->getInt( "/tools/dropper/pick", 1 );
110 gtk_toggle_action_set_active( GTK_TOGGLE_ACTION(act), prefs->getBool( "/tools/dropper/setalpha", true) );
H A Dspray-toolbar.cpp102 Inkscape::Preferences *prefs = Inkscape::Preferences::get(); local
103 int mode = prefs->getInt("/tools/spray/mode", 0);
145 Inkscape::Preferences *prefs = Inkscape::Preferences::get(); local
146 prefs->setDouble( "/tools/spray/width",
152 Inkscape::Preferences *prefs = Inkscape::Preferences::get(); local
153 prefs->setDouble( "/tools/spray/mean",
159 Inkscape::Preferences *prefs = Inkscape::Preferences::get(); local
160 prefs->setDouble( "/tools/spray/standard_deviation",
167 Inkscape::Preferences *prefs = Inkscape::Preferences::get(); local
168 prefs
174 Inkscape::Preferences *prefs = Inkscape::Preferences::get(); local
181 Inkscape::Preferences *prefs = Inkscape::Preferences::get(); local
188 Inkscape::Preferences *prefs = Inkscape::Preferences::get(); local
195 Inkscape::Preferences *prefs = Inkscape::Preferences::get(); local
202 Inkscape::Preferences *prefs = Inkscape::Preferences::get(); local
211 Inkscape::Preferences *prefs = Inkscape::Preferences::get(); local
223 Inkscape::Preferences *prefs = Inkscape::Preferences::get(); local
230 Inkscape::Preferences *prefs = Inkscape::Preferences::get(); local
238 Inkscape::Preferences *prefs = Inkscape::Preferences::get(); local
255 Inkscape::Preferences *prefs = Inkscape::Preferences::get(); local
262 Inkscape::Preferences *prefs = Inkscape::Preferences::get(); local
269 Inkscape::Preferences *prefs = Inkscape::Preferences::get(); local
276 Inkscape::Preferences *prefs = Inkscape::Preferences::get(); local
283 Inkscape::Preferences *prefs = Inkscape::Preferences::get(); local
291 Inkscape::Preferences *prefs = Inkscape::Preferences::get(); local
[all...]
H A Dtweak-toolbar.cpp56 Inkscape::Preferences *prefs = Inkscape::Preferences::get(); local
57 prefs->setDouble( "/tools/tweak/width",
63 Inkscape::Preferences *prefs = Inkscape::Preferences::get(); local
64 prefs->setDouble( "/tools/tweak/force",
70 Inkscape::Preferences *prefs = Inkscape::Preferences::get(); local
71 prefs->setBool("/tools/tweak/usepressure", gtk_toggle_action_get_active(act));
77 Inkscape::Preferences *prefs = Inkscape::Preferences::get(); local
78 prefs->setInt("/tools/tweak/mode", mode);
96 Inkscape::Preferences *prefs = Inkscape::Preferences::get(); local
97 prefs
102 Inkscape::Preferences *prefs = Inkscape::Preferences::get(); local
106 Inkscape::Preferences *prefs = Inkscape::Preferences::get(); local
110 Inkscape::Preferences *prefs = Inkscape::Preferences::get(); local
114 Inkscape::Preferences *prefs = Inkscape::Preferences::get(); local
121 Inkscape::Preferences *prefs = Inkscape::Preferences::get(); local
[all...]
H A Dmeasure-toolbar.cpp79 Inkscape::Preferences *prefs = Inkscape::Preferences::get(); local
80 prefs->setDouble(Glib::ustring("/tools/measure/fontsize"),
95 Inkscape::Preferences *prefs = Inkscape::Preferences::get(); local
96 prefs->setDouble(Glib::ustring("/tools/measure/offset"),
110 Inkscape::Preferences *prefs = Inkscape::Preferences::get(); local
111 prefs->setDouble(Glib::ustring("/tools/measure/scale"),
126 Inkscape::Preferences *prefs = Inkscape::Preferences::get(); local
127 prefs->setInt(Glib::ustring("/tools/measure/precision"),
141 Inkscape::Preferences *prefs = Inkscape::Preferences::get(); local
142 prefs
152 Inkscape::Preferences *prefs = Inkscape::Preferences::get(); local
170 Inkscape::Preferences *prefs = Inkscape::Preferences::get(); local
188 Inkscape::Preferences *prefs = Inkscape::Preferences::get(); local
206 Inkscape::Preferences *prefs = Inkscape::Preferences::get(); local
263 Inkscape::Preferences *prefs = Inkscape::Preferences::get(); local
[all...]
H A Dcalligraphy-toolbar.cpp57 Inkscape::Preferences *prefs = Inkscape::Preferences::get(); local
59 std::vector<Glib::ustring> presets = prefs->getAllDirs("/tools/calligraphic/preset");
66 Inkscape::Preferences *prefs = Inkscape::Preferences::get(); local
84 std::vector<Inkscape::Preferences::Entry> preset = prefs->getAllEntries(*i);
128 Inkscape::Preferences *prefs = Inkscape::Preferences::get(); local
129 prefs->setDouble( "/tools/calligraphic/mass", gtk_adjustment_get_value(adj) );
135 Inkscape::Preferences *prefs = Inkscape::Preferences::get(); local
136 prefs->setDouble( "/tools/calligraphic/wiggle", gtk_adjustment_get_value(adj) );
142 Inkscape::Preferences *prefs = Inkscape::Preferences::get(); local
143 prefs
149 Inkscape::Preferences *prefs = Inkscape::Preferences::get(); local
156 Inkscape::Preferences *prefs = Inkscape::Preferences::get(); local
163 Inkscape::Preferences *prefs = Inkscape::Preferences::get(); local
170 Inkscape::Preferences *prefs = Inkscape::Preferences::get(); local
177 Inkscape::Preferences *prefs = Inkscape::Preferences::get(); local
222 Inkscape::Preferences *prefs = Inkscape::Preferences::get(); local
346 Inkscape::Preferences *prefs = Inkscape::Preferences::get(); local
419 Inkscape::Preferences *prefs = Inkscape::Preferences::get(); local
[all...]
H A Deraser-toolbar.cpp55 Inkscape::Preferences *prefs = Inkscape::Preferences::get(); local
56 prefs->setDouble( "/tools/eraser/width", gtk_adjustment_get_value(adj) );
62 Inkscape::Preferences *prefs = Inkscape::Preferences::get(); local
63 prefs->setDouble( "/tools/eraser/mass", gtk_adjustment_get_value(adj) );
72 Inkscape::Preferences *prefs = Inkscape::Preferences::get(); local
73 prefs->setBool( "/tools/eraser/mode", eraserMode );
105 Inkscape::Preferences *prefs = Inkscape::Preferences::get(); local
107 prefs->setBool("/tools/eraser/break_apart", active);
113 Inkscape::Preferences *prefs = Inkscape::Preferences::get(); local
143 Inkscape::Preferences *prefs local
[all...]
H A Dpaintbucket-toolbar.cpp67 Inkscape::Preferences *prefs = Inkscape::Preferences::get(); local
68 prefs->setInt("/tools/paintbucket/threshold", (gint)gtk_adjustment_get_value(adj));
73 Inkscape::Preferences *prefs = Inkscape::Preferences::get(); local
74 prefs->setBool("/tools/paintbucket/autogap", ege_select_one_action_get_active( act ));
81 Inkscape::Preferences *prefs = Inkscape::Preferences::get(); local
85 prefs->setDouble("/tools/paintbucket/offset", (gdouble)gtk_adjustment_get_value(adj));
88 prefs->setString("/tools/paintbucket/offsetunits", unit->abbr);
119 Inkscape::Preferences *prefs = Inkscape::Preferences::get(); local
137 ege_select_one_action_set_active( act1, prefs->getInt("/tools/paintbucket/channels", 0) );
160 Glib::ustring stored_unit = prefs
[all...]
H A Dlpe-toolbar.cpp95 Inkscape::Preferences *prefs = Inkscape::Preferences::get(); local
96 prefs->setInt( "/tools/lpetool/mode", mode );
149 Inkscape::Preferences *prefs = Inkscape::Preferences::get(); local
152 prefs->setBool("/tools/lpetool/show_bbox", show);
170 Inkscape::Preferences *prefs = Inkscape::Preferences::get(); local
172 prefs->setBool("/tools/lpetool/show_measuring_info", show);
183 Inkscape::Preferences *prefs = Inkscape::Preferences::get(); local
184 prefs->setString("/tools/lpetool/unit", unit->abbr);
208 // TODO: should we provide a way to store points in prefs?
209 Inkscape::Preferences *prefs local
288 Inkscape::Preferences *prefs = Inkscape::Preferences::get(); local
[all...]
H A Dconnector-toolbar.cpp113 Inkscape::Preferences *prefs = Inkscape::Preferences::get(); local
114 prefs->setBool("/tools/connector/orthogonal", is_orthog);
160 Inkscape::Preferences *prefs = Inkscape::Preferences::get(); local
161 prefs->setDouble(Glib::ustring("/tools/connector/curvature"), newValue);
224 Inkscape::Preferences *prefs = Inkscape::Preferences::get(); local
227 int saved_compensation = prefs->getInt("/options/clonecompensation/value", SP_CLONE_COMPENSATION_UNMOVED);
228 prefs->setInt("/options/clonecompensation/value", SP_CLONE_COMPENSATION_UNMOVED);
232 prefs->setInt("/options/clonecompensation/value", saved_compensation);
239 Inkscape::Preferences *prefs = Inkscape::Preferences::get(); local
240 prefs
246 Inkscape::Preferences *prefs = Inkscape::Preferences::get(); local
254 Inkscape::Preferences *prefs = Inkscape::Preferences::get(); local
302 Inkscape::Preferences *prefs = Inkscape::Preferences::get(); local
[all...]
H A Dpencil-toolbar.cpp78 Inkscape::Preferences *prefs = Inkscape::Preferences::get(); local
79 prefs->setInt(freehand_tool_name(tbl) + "/freehand-mode", mode);
95 Inkscape::Preferences *prefs = Inkscape::Preferences::get(); local
96 guint freehandMode = prefs->getInt(( tool_is_pencil ? "/tools/freehand/pencil/freehand-mode" : "/tools/freehand/pen/freehand-mode" ), 0);
159 Inkscape::Preferences *prefs = Inkscape::Preferences::get(); local
160 prefs->setInt(freehand_tool_name(dataKludge) + "/shape", shape);
165 Inkscape::Preferences *prefs = Inkscape::Preferences::get(); local
166 prefs->setInt(freehand_tool_name(dataKludge) + "/simplify", simplify);
191 Inkscape::Preferences *prefs = Inkscape::Preferences::get(); local
210 ege_select_one_action_set_active( act1, prefs
282 Inkscape::Preferences *prefs = Inkscape::Preferences::get(); local
367 Inkscape::Preferences *prefs = Inkscape::Preferences::get(); local
405 Inkscape::Preferences *prefs = Inkscape::Preferences::get(); local
[all...]
/inkscape/src/ui/widget/
H A Dpreferences-widget.cpp201 Inkscape::Preferences *prefs = Inkscape::Preferences::get(); local
203 this->set_active( prefs->getBool(_prefs_path, default_value) );
211 Inkscape::Preferences *prefs = Inkscape::Preferences::get(); local
212 prefs->setBool(_prefs_path, this->get_active());
229 Inkscape::Preferences *prefs = Inkscape::Preferences::get(); local
230 Glib::ustring val = prefs->getString(_prefs_path);
249 Inkscape::Preferences *prefs = Inkscape::Preferences::get(); local
251 this->set_active( prefs->getInt(_prefs_path, int_value) == _int_value );
253 this->set_active( prefs->getInt(_prefs_path, int_value + 1) == _int_value );
259 Inkscape::Preferences *prefs local
277 Inkscape::Preferences *prefs = Inkscape::Preferences::get(); local
304 Inkscape::Preferences *prefs = Inkscape::Preferences::get(); local
336 Inkscape::Preferences *prefs = Inkscape::Preferences::get(); local
351 Inkscape::Preferences *prefs = Inkscape::Preferences::get(); local
410 Inkscape::Preferences *prefs = Inkscape::Preferences::get(); local
467 Inkscape::Preferences *prefs = Inkscape::Preferences::get(); local
496 Inkscape::Preferences *prefs = Inkscape::Preferences::get(); local
510 Inkscape::Preferences *prefs = Inkscape::Preferences::get(); local
525 Inkscape::Preferences *prefs = Inkscape::Preferences::get(); local
544 Inkscape::Preferences *prefs = Inkscape::Preferences::get(); local
607 Inkscape::Preferences *prefs = Inkscape::Preferences::get(); local
620 Inkscape::Preferences *prefs = Inkscape::Preferences::get(); local
638 Inkscape::Preferences *prefs = Inkscape::Preferences::get(); local
683 Inkscape::Preferences *prefs = Inkscape::Preferences::get(); local
701 Inkscape::Preferences *prefs = Inkscape::Preferences::get(); local
723 Inkscape::Preferences *prefs = Inkscape::Preferences::get(); local
740 Inkscape::Preferences *prefs = Inkscape::Preferences::get(); local
758 Inkscape::Preferences *prefs = Inkscape::Preferences::get(); local
767 Inkscape::Preferences *prefs = Inkscape::Preferences::get(); local
782 Inkscape::Preferences *prefs = Inkscape::Preferences::get(); local
812 Inkscape::Preferences *prefs = Inkscape::Preferences::get(); local
825 Inkscape::Preferences *prefs = Inkscape::Preferences::get(); local
918 Inkscape::Preferences *prefs = Inkscape::Preferences::get(); local
926 Inkscape::Preferences *prefs = Inkscape::Preferences::get(); local
933 Inkscape::Preferences *prefs = Inkscape::Preferences::get(); local
943 Inkscape::Preferences *prefs = Inkscape::Preferences::get(); local
953 Inkscape::Preferences *prefs = Inkscape::Preferences::get(); local
961 Inkscape::Preferences *prefs = Inkscape::Preferences::get(); local
969 Inkscape::Preferences *prefs = Inkscape::Preferences::get(); local
978 Inkscape::Preferences *prefs = Inkscape::Preferences::get(); local
[all...]
/inkscape/src/svg/
H A Dstringstream.cpp16 Inkscape::Preferences *prefs = Inkscape::Preferences::get(); local
17 ostr.precision(prefs->getInt("/options/svgoutput/numericprecision", 8));
77 Inkscape::Preferences *prefs = Inkscape::Preferences::get(); local
78 this->precision(prefs->getInt("/options/svgoutput/numericprecision", 8));
89 Inkscape::Preferences *prefs = Inkscape::Preferences::get(); local
90 this->precision(prefs->getInt("/options/svgoutput/numericprecision", 8));
/inkscape/src/ui/dialog/
H A Ddialog.cpp154 Inkscape::Preferences *prefs = Inkscape::Preferences::get(); local
155 int x = prefs->getInt(_prefs_path + "/x", -1000);
156 int y = prefs->getInt(_prefs_path + "/y", -1000);
157 int w = prefs->getInt(_prefs_path + "/w", 0);
158 int h = prefs->getInt(_prefs_path + "/h", 0);
193 Inkscape::Preferences *prefs = Inkscape::Preferences::get(); local
194 prefs->setInt(_prefs_path + "/x", x);
195 prefs->setInt(_prefs_path + "/y", y);
196 prefs->setInt(_prefs_path + "/w", w);
197 prefs
210 Inkscape::Preferences *prefs = Inkscape::Preferences::get(); local
[all...]
H A Dalign-and-distribute.cpp94 Inkscape::Preferences *prefs = Inkscape::Preferences::get(); local
95 int prev_pref = prefs->getInt("/dialogs/align/align-nodes-to");
98 prefs->setInt("/dialogs/align/align-nodes-to", MIN_NODE );
105 prefs->setInt("/dialogs/align/align-nodes-to", MAX_NODE );
109 prefs->setInt("/dialogs/align/align-nodes-to", MAX_NODE );
116 prefs->setInt("/dialogs/align/align-nodes-to", MIN_NODE );
125 prefs->setInt("/dialogs/align/align-nodes-to", prev_pref );
133 Inkscape::Preferences *prefs = Inkscape::Preferences::get();
134 bool sel_as_group = prefs->getBool("/dialogs/align/sel-as-groups");
145 switch (AlignTarget(prefs
846 Inkscape::Preferences *prefs = Inkscape::Preferences::get(); local
959 Inkscape::Preferences *prefs = Inkscape::Preferences::get(); local
1185 Inkscape::Preferences *prefs = Inkscape::Preferences::get(); local
1192 Inkscape::Preferences *prefs = Inkscape::Preferences::get(); local
1199 Inkscape::Preferences *prefs = Inkscape::Preferences::get(); local
[all...]
/inkscape/src/ui/tools/
H A Ddropper-tool.cpp99 Inkscape::Preferences *prefs = Inkscape::Preferences::get(); local
101 if (prefs->getBool("/tools/dropper/selcue")) {
105 if (prefs->getBool("/tools/dropper/gradientdrag")) {
148 Inkscape::Preferences *prefs = Inkscape::Preferences::get(); local
150 int pick = prefs->getInt("/tools/dropper/pick", SP_DROPPER_PICK_VISIBLE);
151 bool setalpha = prefs->getBool("/tools/dropper/setalpha", true);
160 Inkscape::Preferences *prefs = Inkscape::Preferences::get(); local
164 int pick = prefs->getInt("/tools/dropper/pick", SP_DROPPER_PICK_VISIBLE);
165 bool setalpha = prefs->getBool("/tools/dropper/setalpha", true);
190 if (prefs
[all...]
H A Dlpe-tool.cpp118 Inkscape::Preferences *prefs = Inkscape::Preferences::get(); local
124 if (prefs->getBool("/tools/lpetool/selcue")) {
207 Inkscape::Preferences *prefs = Inkscape::Preferences::get();
208 int mode = prefs->getInt("/tools/lpetool/mode");
325 Inkscape::Preferences *prefs = Inkscape::Preferences::get(); local
327 double ulx = prefs->getDouble("/tools/lpetool/bbox_upperleftx", 0);
328 double uly = prefs->getDouble("/tools/lpetool/bbox_upperlefty", 0);
329 double lrx = prefs->getDouble("/tools/lpetool/bbox_lowerrightx", w);
330 double lry = prefs->getDouble("/tools/lpetool/bbox_lowerrighty", h);
348 Inkscape::Preferences *prefs local
390 Inkscape::Preferences *prefs = Inkscape::Preferences::get(); local
440 Inkscape::Preferences *prefs = Inkscape::Preferences::get(); local
[all...]
H A Dzoom-tool.cpp61 Inkscape::Preferences *prefs = Inkscape::Preferences::get(); local
63 if (prefs->getBool("/tools/zoom/selcue")) {
67 if (prefs->getBool("/tools/zoom/gradientdrag")) {
75 Inkscape::Preferences *prefs = Inkscape::Preferences::get(); local
77 tolerance = prefs->getIntLimited("/options/dragtolerance/value", 0, 0, 100);
78 double const zoom_inc = prefs->getDoubleLimited("/options/zoomincrement/value", M_SQRT2, 1.01, 10);
/inkscape/src/extension/internal/
H A Dmetafile-inout.cpp215 Inkscape::Preferences *prefs = Inkscape::Preferences::get(); local
216 bool transform_stroke = prefs->getBool("/options/transform/stroke", true);
217 bool transform_rectcorners = prefs->getBool("/options/transform/rectcorners", true);
218 bool transform_pattern = prefs->getBool("/options/transform/pattern", true);
219 bool transform_gradient = prefs->getBool("/options/transform/gradient", true);
220 prefs->setBool("/options/transform/stroke", true);
221 prefs->setBool("/options/transform/rectcorners", true);
222 prefs->setBool("/options/transform/pattern", true);
223 prefs->setBool("/options/transform/gradient", true);
229 prefs
[all...]
H A Dbluredge.cpp61 Inkscape::Preferences *prefs = Inkscape::Preferences::get(); local
62 double old_offset = prefs->getDouble("/options/defaultoffsetwidth/value", 1.0, "px");
98 prefs->setDoubleUnit("/options/defaultoffsetwidth/value", offset, "px");
101 prefs->setDoubleUnit("/options/defaultoffsetwidth/value", offset, "px");
111 prefs->setDoubleUnit("/options/defaultoffsetwidth/value", old_offset, "px");
H A Dgdkpixbuf-input.cpp29 Inkscape::Preferences *prefs = Inkscape::Preferences::get(); local
30 bool ask = prefs->getBool("/dialogs/import/ask");
31 Glib::ustring link = prefs->getString("/dialogs/import/link");
32 bool forcexdpi = prefs->getBool("/dialogs/import/forcexdpi");
33 Glib::ustring scale = prefs->getString("/dialogs/import/scale");
52 prefs->setString("/dialogs/import/link", link );
56 prefs->setBool("/dialogs/import/forcexdpi", forcexdpi );
60 prefs->setString("/dialogs/import/scale", scale );
61 prefs->setBool("/dialogs/import/ask", !mod->get_param_bool("do_not_ask") );
78 double defaultxdpi = prefs
[all...]

Completed in 56 milliseconds

12345678