diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2017-10-13 15:06:21 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2017-10-13 15:09:27 +0200 |
commit | 535e81402a65fa410e98899cd1780784d2f9815a (patch) | |
tree | a84eb51afab232a2855e207027b8ce61c1910de8 /tracker-pt/FTNoIR_PT_Controls.ui | |
parent | 98cb8723dcfbe27b9058cc21605f5a663d743bfe (diff) |
tracker/pt: add threshold slider state description
Isolate point radius code and reuse it.
Diffstat (limited to 'tracker-pt/FTNoIR_PT_Controls.ui')
-rw-r--r-- | tracker-pt/FTNoIR_PT_Controls.ui | 64 |
1 files changed, 42 insertions, 22 deletions
diff --git a/tracker-pt/FTNoIR_PT_Controls.ui b/tracker-pt/FTNoIR_PT_Controls.ui index 1132d156..ac85b2cb 100644 --- a/tracker-pt/FTNoIR_PT_Controls.ui +++ b/tracker-pt/FTNoIR_PT_Controls.ui @@ -9,8 +9,8 @@ <rect> <x>0</x> <y>0</y> - <width>412</width> - <height>616</height> + <width>411</width> + <height>630</height> </rect> </property> <property name="sizePolicy"> @@ -458,8 +458,8 @@ <string>Point extraction</string> </property> <layout class="QGridLayout" name="gridLayout_7"> - <item row="3" column="0"> - <widget class="QLabel" name="label_8"> + <item row="1" column="0"> + <widget class="QLabel" name="label"> <property name="sizePolicy"> <sizepolicy hsizetype="Preferred" vsizetype="Maximum"> <horstretch>0</horstretch> @@ -467,15 +467,15 @@ </sizepolicy> </property> <property name="text"> - <string>Max size</string> + <string>Threshold</string> </property> <property name="buddy"> - <cstring>maxdiam_spin</cstring> + <cstring>threshold_slider</cstring> </property> </widget> </item> - <item row="1" column="0"> - <widget class="QLabel" name="label"> + <item row="3" column="0"> + <widget class="QLabel" name="label_7"> <property name="sizePolicy"> <sizepolicy hsizetype="Preferred" vsizetype="Maximum"> <horstretch>0</horstretch> @@ -483,15 +483,15 @@ </sizepolicy> </property> <property name="text"> - <string>Threshold</string> + <string>Min size</string> </property> <property name="buddy"> - <cstring>threshold_slider</cstring> + <cstring>mindiam_spin</cstring> </property> </widget> </item> - <item row="2" column="0"> - <widget class="QLabel" name="label_7"> + <item row="4" column="0"> + <widget class="QLabel" name="label_8"> <property name="sizePolicy"> <sizepolicy hsizetype="Preferred" vsizetype="Maximum"> <horstretch>0</horstretch> @@ -499,10 +499,10 @@ </sizepolicy> </property> <property name="text"> - <string>Min size</string> + <string>Max size</string> </property> <property name="buddy"> - <cstring>mindiam_spin</cstring> + <cstring>maxdiam_spin</cstring> </property> </widget> </item> @@ -537,8 +537,8 @@ </property> </widget> </item> - <item row="0" column="0"> - <widget class="QLabel" name="label_11"> + <item row="0" column="1"> + <widget class="QCheckBox" name="auto_threshold"> <property name="sizePolicy"> <sizepolicy hsizetype="Preferred" vsizetype="Maximum"> <horstretch>0</horstretch> @@ -546,12 +546,12 @@ </sizepolicy> </property> <property name="text"> - <string>Automatic threshold</string> + <string>Enable, slider sets point size</string> </property> </widget> </item> - <item row="0" column="1"> - <widget class="QCheckBox" name="auto_threshold"> + <item row="0" column="0"> + <widget class="QLabel" name="label_11"> <property name="sizePolicy"> <sizepolicy hsizetype="Preferred" vsizetype="Maximum"> <horstretch>0</horstretch> @@ -559,11 +559,11 @@ </sizepolicy> </property> <property name="text"> - <string>Enable, slider sets point size</string> + <string>Automatic threshold</string> </property> </widget> </item> - <item row="3" column="1"> + <item row="4" column="1"> <widget class="QDoubleSpinBox" name="maxdiam_spin"> <property name="sizePolicy"> <sizepolicy hsizetype="Preferred" vsizetype="Maximum"> @@ -585,7 +585,7 @@ </property> </widget> </item> - <item row="2" column="1"> + <item row="3" column="1"> <widget class="QDoubleSpinBox" name="mindiam_spin"> <property name="sizePolicy"> <sizepolicy hsizetype="Preferred" vsizetype="Maximum"> @@ -607,6 +607,26 @@ </property> </widget> </item> + <item row="2" column="1"> + <widget class="QLabel" name="threshold_value_display"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Minimum" vsizetype="Maximum"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="text"> + <string/> + </property> + </widget> + </item> + <item row="2" column="0"> + <widget class="QLabel" name="label_14"> + <property name="text"> + <string>Value</string> + </property> + </widget> + </item> </layout> </widget> </item> |