Lines Matching refs:prefs
95 Inkscape::Preferences *prefs = Inkscape::Preferences::get();
96 prefs->setInt( "/tools/lpetool/mode", mode );
149 Inkscape::Preferences *prefs = Inkscape::Preferences::get();
152 prefs->setBool("/tools/lpetool/show_bbox", show);
170 Inkscape::Preferences *prefs = Inkscape::Preferences::get();
172 prefs->setBool("/tools/lpetool/show_measuring_info", show);
183 Inkscape::Preferences *prefs = Inkscape::Preferences::get();
184 prefs->setString("/tools/lpetool/unit", unit->abbr);
208 // TODO: should we provide a way to store points in prefs?
209 Inkscape::Preferences *prefs = Inkscape::Preferences::get();
210 prefs->setDouble("/tools/lpetool/bbox_upperleftx", A[Geom::X]);
211 prefs->setDouble("/tools/lpetool/bbox_upperlefty", A[Geom::Y]);
212 prefs->setDouble("/tools/lpetool/bbox_lowerrightx", B[Geom::X]);
213 prefs->setDouble("/tools/lpetool/bbox_lowerrighty", B[Geom::Y]);
288 Inkscape::Preferences *prefs = Inkscape::Preferences::get();
289 prefs->setString("/tools/lpetool/unit", unit->abbr);
327 gint lpeToolMode = prefs->getInt("/tools/lpetool/mode", 0);
341 gtk_toggle_action_set_active( GTK_TOGGLE_ACTION(act), prefs->getBool( "/tools/lpetool/show_bbox", true ) );
382 gtk_toggle_action_set_active( GTK_TOGGLE_ACTION(act), prefs->getBool( "/tools/lpetool/show_measuring_info", true ) );
391 gtk_action_set_sensitive(act, prefs->getBool("/tools/lpetool/show_measuring_info", true));