added GUI for editing dynamic processing profile rules
This commit is contained in:
@@ -82,6 +82,7 @@ Preferences::Preferences (RTWindow *rtwindow)
|
||||
|
||||
nb->append_page (*getGeneralPanel(), M("PREFERENCES_TAB_GENERAL"));
|
||||
nb->append_page (*getProcParamsPanel(), M("PREFERENCES_TAB_IMPROC"));
|
||||
nb->append_page (*getDynProfilePanel(), M("PREFERENCES_TAB_DYNAMICPROFILE"));
|
||||
nb->append_page (*getFileBrowserPanel(), M("PREFERENCES_TAB_BROWSER"));
|
||||
nb->append_page (*getColorManagementPanel(), M("PREFERENCES_TAB_COLORMGR"));
|
||||
nb->append_page (*getBatchProcPanel(), M("PREFERENCES_BATCH_PROCESSING"));
|
||||
@@ -420,6 +421,14 @@ void Preferences::behSetRadioToggled (const Glib::ustring& path)
|
||||
iter->set_value (behavColumns.badd, false);
|
||||
}
|
||||
|
||||
|
||||
Gtk::Widget *Preferences::getDynProfilePanel()
|
||||
{
|
||||
dynProfilePanel = Gtk::manage(new DynamicProfilePanel());
|
||||
return dynProfilePanel;
|
||||
}
|
||||
|
||||
|
||||
Gtk::Widget* Preferences::getProcParamsPanel ()
|
||||
{
|
||||
|
||||
@@ -2020,6 +2029,7 @@ void Preferences::okPressed ()
|
||||
options.copyFrom (&moptions);
|
||||
options.filterOutParsedExtensions();
|
||||
Options::save ();
|
||||
dynProfilePanel->save();
|
||||
hide ();
|
||||
}
|
||||
|
||||
@@ -2181,6 +2191,8 @@ void Preferences::updateProfileList()
|
||||
{
|
||||
rprofiles->updateProfileList();
|
||||
iprofiles->updateProfileList();
|
||||
rprofiles->addRow(profileStore.getInternalDynamicPSE());
|
||||
iprofiles->addRow(profileStore.getInternalDynamicPSE());
|
||||
}
|
||||
|
||||
void Preferences::restoreValue()
|
||||
|
Reference in New Issue
Block a user