diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2022-05-29 16:46:19 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2022-06-05 14:44:25 +0200 |
commit | 800c13a72ace78be48537906898e35dead5b51b8 (patch) | |
tree | 5e4ce313495568d99fa3f21a9f097cc4fc5edeb1 /tracker-trackhat/dialog.ui | |
parent | fc7847ae9fafdd7cbca64f4619eb481bee58a5d7 (diff) |
tracker/trackhat: implement LED tracking indicator
Diffstat (limited to 'tracker-trackhat/dialog.ui')
-rw-r--r-- | tracker-trackhat/dialog.ui | 95 |
1 files changed, 65 insertions, 30 deletions
diff --git a/tracker-trackhat/dialog.ui b/tracker-trackhat/dialog.ui index 927cb945..7c2ea8ee 100644 --- a/tracker-trackhat/dialog.ui +++ b/tracker-trackhat/dialog.ui @@ -7,7 +7,7 @@ <x>0</x> <y>0</y> <width>365</width> - <height>460</height> + <height>485</height> </rect> </property> <property name="minimumSize"> @@ -30,27 +30,8 @@ <string>Camera</string> </property> <layout class="QGridLayout" name="gridLayout"> - <item row="0" column="1"> - <widget class="QSlider" name="exposure_slider"> - <property name="sizePolicy"> - <sizepolicy hsizetype="Expanding" vsizetype="Maximum"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <property name="maximum"> - <number>239</number> - </property> - <property name="pageStep"> - <number>10</number> - </property> - <property name="orientation"> - <enum>Qt::Horizontal</enum> - </property> - </widget> - </item> - <item row="0" column="2"> - <widget class="QSpinBox" name="exposure_label"> + <item row="1" column="2"> + <widget class="QSpinBox" name="gain_label"> <property name="focusPolicy"> <enum>Qt::NoFocus</enum> </property> @@ -75,15 +56,27 @@ </property> </widget> </item> - <item row="1" column="0"> - <widget class="QLabel" name="label_2"> - <property name="text"> - <string>Gain</string> + <item row="1" column="1"> + <widget class="QSlider" name="gain_slider"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Expanding" vsizetype="Maximum"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="maximum"> + <number>239</number> + </property> + <property name="pageStep"> + <number>10</number> + </property> + <property name="orientation"> + <enum>Qt::Horizontal</enum> </property> </widget> </item> - <item row="1" column="1"> - <widget class="QSlider" name="gain_slider"> + <item row="0" column="1"> + <widget class="QSlider" name="exposure_slider"> <property name="sizePolicy"> <sizepolicy hsizetype="Expanding" vsizetype="Maximum"> <horstretch>0</horstretch> @@ -101,8 +94,8 @@ </property> </widget> </item> - <item row="1" column="2"> - <widget class="QSpinBox" name="gain_label"> + <item row="0" column="2"> + <widget class="QSpinBox" name="exposure_label"> <property name="focusPolicy"> <enum>Qt::NoFocus</enum> </property> @@ -120,6 +113,45 @@ </property> </widget> </item> + <item row="1" column="0"> + <widget class="QLabel" name="label_2"> + <property name="text"> + <string>Gain</string> + </property> + </widget> + </item> + <item row="2" column="0"> + <widget class="QLabel" name="label_3"> + <property name="text"> + <string>LED</string> + </property> + </widget> + </item> + <item row="2" column="1"> + <widget class="QComboBox" name="led_mode"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Preferred" vsizetype="Preferred"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <item> + <property name="text"> + <string>Off</string> + </property> + </item> + <item> + <property name="text"> + <string>Constant</string> + </property> + </item> + <item> + <property name="text"> + <string>Dynamic</string> + </property> + </item> + </widget> + </item> </layout> </widget> </item> @@ -553,12 +585,15 @@ </widget> <tabstops> <tabstop>exposure_slider</tabstop> + <tabstop>gain_slider</tabstop> + <tabstop>led_mode</tabstop> <tabstop>model_type</tabstop> <tabstop>min_point_size</tabstop> <tabstop>max_point_size</tabstop> <tabstop>enable_point_filter</tabstop> <tabstop>point_filter_slider</tabstop> <tabstop>point_filter_limit</tabstop> + <tabstop>point_filter_deadzone</tabstop> </tabstops> <resources> <include location="trackhat-res.qrc"/> |