321 changes: 230 additions & 91 deletions src/ui/qgsoptionsbase.ui
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
<item row="2" column="0">
<widget class="QTabWidget" name="tabWidget">
<property name="currentIndex">
<number>1</number>
<number>0</number>
</property>
<property name="iconSize">
<size>
Expand Down Expand Up @@ -66,8 +66,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>760</width>
<height>1041</height>
<width>766</width>
<height>938</height>
</rect>
</property>
<layout class="QGridLayout" name="gridLayout">
Expand Down Expand Up @@ -941,9 +941,9 @@
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>760</width>
<height>625</height>
<y>-169</y>
<width>766</width>
<height>621</height>
</rect>
</property>
<layout class="QGridLayout" name="gridLayout_8">
Expand Down Expand Up @@ -1039,6 +1039,218 @@
</layout>
</widget>
</item>
<item row="3" column="0">
<widget class="QGroupBox" name="groupBox_14">
<property name="title">
<string>Rasters</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_4">
<item>
<widget class="QWidget" name="widget" native="true">
<layout class="QHBoxLayout" name="horizontalLayout_19">
<property name="margin">
<number>0</number>
</property>
<item>
<widget class="QLabel" name="label_21">
<property name="text">
<string>RGB band selection</string>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer_19">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Maximum</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>15</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QLabel" name="label_22">
<property name="text">
<string>Red band</string>
</property>
</widget>
</item>
<item>
<widget class="QSpinBox" name="spnRed"/>
</item>
<item>
<widget class="QLabel" name="label_23">
<property name="text">
<string>Green band</string>
</property>
</widget>
</item>
<item>
<widget class="QSpinBox" name="spnGreen"/>
</item>
<item>
<widget class="QLabel" name="label_24">
<property name="text">
<string>Blue band</string>
</property>
</widget>
</item>
<item>
<widget class="QSpinBox" name="spnBlue"/>
</item>
<item>
<spacer name="horizontalSpacer_20">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QWidget" name="widget_2" native="true">
<layout class="QHBoxLayout" name="horizontalLayout_20">
<property name="margin">
<number>0</number>
</property>
<item>
<widget class="QCheckBox" name="chkUseStandardDeviation">
<property name="text">
<string>Use standard deviation</string>
</property>
</widget>
</item>
<item>
<widget class="QDoubleSpinBox" name="spnThreeBandStdDev">
<property name="maximum">
<double>10.000000000000000</double>
</property>
<property name="singleStep">
<double>0.100000000000000</double>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer_21">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>258</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QWidget" name="widget_3" native="true">
<layout class="QHBoxLayout" name="horizontalLayout_22">
<property name="margin">
<number>0</number>
</property>
<item>
<widget class="QLabel" name="label_37">
<property name="text">
<string>Contrast enhancement</string>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="cboxContrastEnhancementAlgorithm"/>
</item>
<item>
<spacer name="horizontalSpacer_23">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>208</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QWidget" name="widget_4" native="true">
<layout class="QHBoxLayout" name="horizontalLayout_18">
<property name="margin">
<number>0</number>
</property>
<item>
<widget class="QLabel" name="label_36">
<property name="text">
<string>Cumulative pixel count cut limits</string>
</property>
</widget>
</item>
<item>
<widget class="QDoubleSpinBox" name="mRasterCumulativeCutLowerDoubleSpinBox">
<property name="decimals">
<number>1</number>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label_34">
<property name="text">
<string>-</string>
</property>
</widget>
</item>
<item>
<widget class="QDoubleSpinBox" name="mRasterCumulativeCutUpperDoubleSpinBox">
<property name="decimals">
<number>1</number>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label_35">
<property name="text">
<string>%</string>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer_18">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>123</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
</item>
</layout>
</widget>
</item>
<item row="4" column="0">
<widget class="QGroupBox" name="groupBox_2">
<property name="title">
Expand Down Expand Up @@ -1085,79 +1297,6 @@
</layout>
</widget>
</item>
<item row="3" column="0">
<widget class="QGroupBox" name="groupBox_14">
<property name="title">
<string>Rasters</string>
</property>
<layout class="QGridLayout" name="gridLayout_12">
<item row="0" column="0">
<widget class="QLabel" name="label_21">
<property name="text">
<string>RGB band selection</string>
</property>
</widget>
</item>
<item row="0" column="3">
<widget class="QLabel" name="label_22">
<property name="text">
<string>Red band</string>
</property>
</widget>
</item>
<item row="0" column="4">
<widget class="QSpinBox" name="spnRed"/>
</item>
<item row="0" column="5">
<widget class="QLabel" name="label_23">
<property name="text">
<string>Green band</string>
</property>
</widget>
</item>
<item row="0" column="6">
<widget class="QSpinBox" name="spnGreen"/>
</item>
<item row="0" column="7">
<widget class="QLabel" name="label_24">
<property name="text">
<string>Blue band</string>
</property>
</widget>
</item>
<item row="0" column="8">
<widget class="QSpinBox" name="spnBlue"/>
</item>
<item row="1" column="0" colspan="3">
<widget class="QCheckBox" name="chkUseStandardDeviation">
<property name="text">
<string>Use standard deviation</string>
</property>
</widget>
</item>
<item row="2" column="0" colspan="2">
<widget class="QLabel" name="label_25">
<property name="text">
<string>Contrast enhancement</string>
</property>
</widget>
</item>
<item row="1" column="6" colspan="3">
<widget class="QDoubleSpinBox" name="spnThreeBandStdDev">
<property name="maximum">
<double>10.000000000000000</double>
</property>
<property name="singleStep">
<double>0.100000000000000</double>
</property>
</widget>
</item>
<item row="2" column="6" colspan="3">
<widget class="QComboBox" name="cboxContrastEnhancementAlgorithm"/>
</item>
</layout>
</widget>
</item>
</layout>
</widget>
</widget>
Expand Down Expand Up @@ -1189,8 +1328,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>760</width>
<height>780</height>
<width>766</width>
<height>718</height>
</rect>
</property>
<layout class="QGridLayout" name="gridLayout_4">
Expand Down Expand Up @@ -1559,8 +1698,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>778</width>
<height>436</height>
<width>784</width>
<height>452</height>
</rect>
</property>
<layout class="QGridLayout" name="gridLayout_10">
Expand Down Expand Up @@ -1640,8 +1779,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>760</width>
<height>627</height>
<width>766</width>
<height>572</height>
</rect>
</property>
<layout class="QGridLayout" name="gridLayout_13">
Expand Down Expand Up @@ -2016,8 +2155,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>778</width>
<height>436</height>
<width>784</width>
<height>452</height>
</rect>
</property>
<layout class="QGridLayout" name="gridLayout_15">
Expand Down Expand Up @@ -2203,8 +2342,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>760</width>
<height>551</height>
<width>766</width>
<height>536</height>
</rect>
</property>
<layout class="QGridLayout" name="gridLayout_17">
Expand Down Expand Up @@ -2300,8 +2439,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>760</width>
<height>554</height>
<width>766</width>
<height>491</height>
</rect>
</property>
<layout class="QGridLayout" name="gridLayout_20">
Expand Down
72 changes: 53 additions & 19 deletions src/ui/qgsrasterminmaxwidgetbase.ui
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>416</width>
<height>275</height>
<width>433</width>
<height>293</height>
</rect>
</property>
<property name="windowTitle">
Expand All @@ -22,29 +22,63 @@
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="QWidget" name="widget" native="true">
<layout class="QGridLayout" name="gridLayout_4">
<item row="0" column="0" colspan="3">
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="0" colspan="2">
<widget class="QRadioButton" name="mCumulativeCutRadioButton">
<property name="text">
<string>2 - 98% cumulative pixel count cut</string>
<string>Cumulative pixel count cut</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
</item>
<item row="0" column="3" colspan="2">
<spacer name="horizontalSpacer_6">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>123</width>
<height>20</height>
</size>
</property>
</spacer>
<item row="0" column="2" colspan="3">
<widget class="QWidget" name="widget_4" native="true">
<layout class="QHBoxLayout" name="horizontalLayout_3">
<item>
<widget class="QDoubleSpinBox" name="mCumulativeCutLowerDoubleSpinBox">
<property name="decimals">
<number>1</number>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label">
<property name="text">
<string>-</string>
</property>
</widget>
</item>
<item>
<widget class="QDoubleSpinBox" name="mCumulativeCutUpperDoubleSpinBox">
<property name="decimals">
<number>1</number>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label_2">
<property name="text">
<string>%</string>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer_6">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>123</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
</item>
<item row="1" column="0">
<widget class="QRadioButton" name="mMinMaxRadioButton">
Expand All @@ -66,14 +100,14 @@
</property>
</spacer>
</item>
<item row="2" column="0" colspan="2">
<item row="2" column="0" colspan="3">
<widget class="QRadioButton" name="mStdDevRadioButton">
<property name="text">
<string>Mean +/- standard deviation ×</string>
</property>
</widget>
</item>
<item row="2" column="2" colspan="2">
<item row="2" column="3">
<widget class="QDoubleSpinBox" name="mStdDevSpinBox">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
Expand Down