some tweaks to the GUI of the dynamic profile editor
This commit is contained in:
@@ -2039,11 +2039,12 @@ ZOOMPANEL_ZOOMFITCROPSCREEN;Fit crop to screen\nShortcut: <b>Alt</b>-<b>f</b>
|
||||
ZOOMPANEL_ZOOMFITSCREEN;Fit whole image to screen\nShortcut: <b>f</b>
|
||||
ZOOMPANEL_ZOOMIN;Zoom In\nShortcut: <b>+</b>
|
||||
ZOOMPANEL_ZOOMOUT;Zoom Out\nShortcut: <b>-</b>
|
||||
DYNPROFILEEDITOR_PROFILE;Processing profile
|
||||
DYNPROFILEEDITOR_MOVE_UP;Move up
|
||||
DYNPROFILEEDITOR_MOVE_DOWN;Move down
|
||||
DYNPROFILEEDITOR_PROFILE;Processing Profile
|
||||
DYNPROFILEEDITOR_MOVE_UP;Move Up
|
||||
DYNPROFILEEDITOR_MOVE_DOWN;Move Down
|
||||
DYNPROFILEEDITOR_NEW;New
|
||||
DYNPROFILEEDITOR_EDIT;Edit
|
||||
DYNPROFILEEDITOR_DELETE;Delete
|
||||
DYNPROFILEEDITOR_NEW_RULE;New dynamic profile rule
|
||||
DYNPROFILEEDITOR_EDIT_RULE;Edit dynamic profile rule
|
||||
DYNPROFILEEDITOR_NEW_RULE;New Dynamic Profile Rule
|
||||
DYNPROFILEEDITOR_EDIT_RULE;Edit Dynamic Profile Rule
|
||||
DYNPROFILEEDITOR_ENTRY_TOOLTIP;The matching is case insensitive.\nUse the "re:" prefix to enter\na regular expression.
|
||||
|
@@ -33,24 +33,6 @@ Glib::ustring to_str(V n)
|
||||
return buf.str();
|
||||
}
|
||||
|
||||
|
||||
int to_int(const Glib::ustring &s)
|
||||
{
|
||||
std::istringstream buf(s);
|
||||
int r = -1;
|
||||
buf >> r;
|
||||
return r;
|
||||
}
|
||||
|
||||
|
||||
double to_double(const Glib::ustring &s)
|
||||
{
|
||||
std::istringstream buf(s);
|
||||
double r = 0.0;
|
||||
buf >> r;
|
||||
return r;
|
||||
}
|
||||
|
||||
} // namespace
|
||||
|
||||
|
||||
@@ -207,6 +189,7 @@ void DynamicProfilePanel::EditDialog::add_optional(const Glib::ustring &name,
|
||||
field = Gtk::manage(new Gtk::Entry());
|
||||
hb->pack_start(*field, true, true, 2);
|
||||
get_content_area()->pack_start(*hb, Gtk::PACK_SHRINK, 4);
|
||||
field->set_tooltip_text(M("DYNPROFILEEDITOR_ENTRY_TOOLTIP"));
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user