Merge branch 'dev' of https://github.com/Beep6581/RawTherapee into defish
This commit is contained in:
@@ -1112,6 +1112,9 @@ Gtk::Widget* Preferences::getGeneralPanel()
|
||||
workflowGrid->attach_next_to(*curveBBoxPosL, *flayoutlab, Gtk::POS_BOTTOM, 1, 1);
|
||||
workflowGrid->attach_next_to(*curveBBoxPosC, *editorLayout, Gtk::POS_BOTTOM, 1, 1);
|
||||
workflowGrid->attach_next_to(*curveBBoxPosRestartL, *lNextStart, Gtk::POS_BOTTOM, 1, 1);
|
||||
|
||||
curveBBoxPosS = Gtk::manage(new Gtk::ComboBoxText());
|
||||
setExpandAlignProperties(curveBBoxPosS, true, false, Gtk::ALIGN_FILL, Gtk::ALIGN_BASELINE);
|
||||
|
||||
Gtk::Label* complexityL = Gtk::manage(new Gtk::Label(M("PREFERENCES_COMPLEXITYLOC") + ":"));
|
||||
setExpandAlignProperties(complexityL, false, false, Gtk::ALIGN_START, Gtk::ALIGN_BASELINE);
|
||||
@@ -1124,13 +1127,29 @@ Gtk::Widget* Preferences::getGeneralPanel()
|
||||
workflowGrid->attach_next_to(*complexityL, *curveBBoxPosL, Gtk::POS_BOTTOM, 1, 1);
|
||||
workflowGrid->attach_next_to(*complexitylocal, *curveBBoxPosC, Gtk::POS_BOTTOM, 1, 1);
|
||||
|
||||
|
||||
Gtk::Label* spotlocalL = Gtk::manage(new Gtk::Label(M("PREFERENCES_SPOTLOC") + ":"));
|
||||
setExpandAlignProperties(spotlocalL, false, false, Gtk::ALIGN_START, Gtk::ALIGN_BASELINE);
|
||||
spotlocal = Gtk::manage(new Gtk::ComboBoxText());
|
||||
setExpandAlignProperties(spotlocal, true, false, Gtk::ALIGN_FILL, Gtk::ALIGN_BASELINE);
|
||||
spotlocal->append(M("TP_LOCALLAB_EXNORM"));
|
||||
spotlocal->append(M("TP_LOCALLAB_EXECLU"));
|
||||
spotlocal->append(M("TP_LOCALLAB_EXFULL"));
|
||||
spotlocal->append(M("TP_LOCALLAB_EXMAIN"));
|
||||
spotlocal->set_active(2);
|
||||
workflowGrid->attach_next_to(*spotlocalL, *complexityL, Gtk::POS_BOTTOM, 1, 1);
|
||||
workflowGrid->attach_next_to(*spotlocal, *complexitylocal, Gtk::POS_BOTTOM, 1, 1);
|
||||
|
||||
|
||||
zoomOnScrollCB = Gtk::manage(new Gtk::CheckButton(M("PREFERENCES_ZOOMONSCROLL")));
|
||||
setExpandAlignProperties(zoomOnScrollCB, false, false, Gtk::ALIGN_START, Gtk::ALIGN_BASELINE);
|
||||
workflowGrid->attach_next_to(*zoomOnScrollCB, *complexityL, Gtk::POS_BOTTOM, 1, 1);
|
||||
//workflowGrid->attach_next_to(*zoomOnScrollCB, *complexityL, Gtk::POS_BOTTOM, 1, 1);
|
||||
workflowGrid->attach_next_to(*zoomOnScrollCB, *spotlocalL, Gtk::POS_BOTTOM, 1, 1);
|
||||
|
||||
inspectorWindowCB = Gtk::manage(new Gtk::CheckButton(M("PREFERENCES_INSPECTORWINDOW")));
|
||||
setExpandAlignProperties(inspectorWindowCB, false, false, Gtk::ALIGN_START, Gtk::ALIGN_BASELINE);
|
||||
workflowGrid->attach_next_to(*inspectorWindowCB, *complexitylocal, Gtk::POS_BOTTOM, 1, 1);
|
||||
// workflowGrid->attach_next_to(*inspectorWindowCB, *complexitylocal, Gtk::POS_BOTTOM, 1, 1);
|
||||
workflowGrid->attach_next_to(*inspectorWindowCB, *spotlocal, Gtk::POS_BOTTOM, 1, 1);
|
||||
Gtk::Label* inspectorNextStartL = Gtk::manage(new Gtk::Label(Glib::ustring("(") + M("PREFERENCES_APPLNEXTSTARTUP") + ")"));
|
||||
setExpandAlignProperties(inspectorNextStartL, false, false, Gtk::ALIGN_START, Gtk::ALIGN_BASELINE);
|
||||
workflowGrid->attach_next_to(*inspectorNextStartL, *inspectorWindowCB, Gtk::POS_RIGHT, 1, 1);
|
||||
@@ -1471,6 +1490,9 @@ Gtk::Widget* Preferences::getFileBrowserPanel()
|
||||
vbro->pack_start(*sameThumbSize, Gtk::PACK_SHRINK, 0);
|
||||
vbro->pack_start(*ckbInternalThumbIfUntouched, Gtk::PACK_SHRINK, 0);
|
||||
|
||||
thumbnailRankColorMode = Gtk::manage(new Gtk::CheckButton(M("PREFERENCES_THUMBNAIL_RANK_COLOR_MODE")));
|
||||
vbro->pack_start(*thumbnailRankColorMode, Gtk::PACK_SHRINK, 0);
|
||||
|
||||
Gtk::Box* hbrecent = Gtk::manage(new Gtk::Box());
|
||||
Gtk::Label* labrecent = Gtk::manage (new Gtk::Label (M("PREFERENCES_MAXRECENTFOLDERS") + ":", Gtk::ALIGN_START));
|
||||
maxRecentFolders = Gtk::manage(new Gtk::SpinButton());
|
||||
@@ -1992,6 +2014,8 @@ void Preferences::storePreferences()
|
||||
|
||||
moptions.curvebboxpos = curveBBoxPosC->get_active_row_number();
|
||||
moptions.complexity = complexitylocal->get_active_row_number();
|
||||
moptions.spotmet = spotlocal->get_active_row_number();
|
||||
|
||||
moptions.inspectorWindow = inspectorWindowCB->get_active();
|
||||
moptions.zoomOnScroll = zoomOnScrollCB->get_active();
|
||||
moptions.histogramPosition = ckbHistogramPositionLeft->get_active() ? 1 : 2;
|
||||
@@ -2030,6 +2054,8 @@ void Preferences::storePreferences()
|
||||
|
||||
moptions.rtSettings.metadata_xmp_sync = rtengine::Settings::MetadataXmpSync(metadataSyncCombo->get_active_row_number());
|
||||
moptions.rtSettings.xmp_sidecar_style = rtengine::Settings::XmpSidecarStyle(xmpSidecarCombo->get_active_row_number());
|
||||
|
||||
moptions.thumbnailRankColorMode = thumbnailRankColorMode->get_active() ? Options::ThumbnailPropertyMode::XMP : Options::ThumbnailPropertyMode::PROCPARAMS;
|
||||
}
|
||||
|
||||
void Preferences::fillPreferences()
|
||||
@@ -2212,6 +2238,7 @@ void Preferences::fillPreferences()
|
||||
|
||||
curveBBoxPosC->set_active(moptions.curvebboxpos);
|
||||
complexitylocal->set_active(moptions.complexity);
|
||||
spotlocal->set_active(moptions.spotmet);
|
||||
inspectorWindowCB->set_active(moptions.inspectorWindow);
|
||||
zoomOnScrollCB->set_active(moptions.zoomOnScroll);
|
||||
|
||||
@@ -2288,6 +2315,8 @@ void Preferences::fillPreferences()
|
||||
|
||||
metadataSyncCombo->set_active(int(moptions.rtSettings.metadata_xmp_sync));
|
||||
xmpSidecarCombo->set_active(int(moptions.rtSettings.xmp_sidecar_style));
|
||||
|
||||
thumbnailRankColorMode->set_active(moptions.thumbnailRankColorMode == Options::ThumbnailPropertyMode::XMP);
|
||||
}
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user