diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2023-01-20 05:54:14 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2023-01-23 14:16:35 +0100 |
commit | 8e0334858ea860d558cb78779d3edda9f9a9fb0f (patch) | |
tree | d6f0472e89eb93f2038941925887548939585773 | |
parent | 2ef25cec8999df7e4d4c3bd3f006d37de45fa2db (diff) |
tracker/nn: remove hardcoded camera settings from ui
-rw-r--r-- | tracker-neuralnet/ftnoir_tracker_neuralnet.cpp | 8 | ||||
-rw-r--r-- | tracker-neuralnet/lang/nl_NL.ts | 72 | ||||
-rw-r--r-- | tracker-neuralnet/lang/ru_RU.ts | 72 | ||||
-rw-r--r-- | tracker-neuralnet/lang/stub.ts | 72 | ||||
-rw-r--r-- | tracker-neuralnet/lang/zh_CN.ts | 72 | ||||
-rw-r--r-- | tracker-neuralnet/neuralnet-trackercontrols.ui | 400 |
6 files changed, 30 insertions, 666 deletions
diff --git a/tracker-neuralnet/ftnoir_tracker_neuralnet.cpp b/tracker-neuralnet/ftnoir_tracker_neuralnet.cpp index ebd626b0..e9a490fa 100644 --- a/tracker-neuralnet/ftnoir_tracker_neuralnet.cpp +++ b/tracker-neuralnet/ftnoir_tracker_neuralnet.cpp @@ -693,16 +693,19 @@ std::tuple<cv::Size,double, double> NeuralNetTracker::stats() const void NeuralNetDialog::make_fps_combobox() { +#if 0 for (int k = 0; k < fps_MAX; k++) { const int hz = enum_to_fps(k); const QString name = (hz == 0) ? tr("Default") : QString::number(hz); ui_.cameraFPS->addItem(name, k); } +#endif } void NeuralNetDialog::make_resolution_combobox() { +#if 0 int k=0; for (const auto [w, h] : resolution_choices) { @@ -711,6 +714,7 @@ void NeuralNetDialog::make_resolution_combobox() : QString::number(w) + " x " + QString::number(h); ui_.resolution->addItem(s, k++); } +#endif } @@ -722,14 +726,17 @@ NeuralNetDialog::NeuralNetDialog() : make_fps_combobox(); make_resolution_combobox(); +#if 0 for (const auto& str : video::camera_names()) ui_.cameraName->addItem(str); tie_setting(settings_.camera_name, ui_.cameraName); tie_setting(settings_.fov, ui_.cameraFOV); +#endif tie_setting(settings_.offset_fwd, ui_.tx_spin); tie_setting(settings_.offset_up, ui_.ty_spin); tie_setting(settings_.offset_right, ui_.tz_spin); +#if 0 tie_setting(settings_.show_network_input, ui_.showNetworkInput); tie_setting(settings_.roi_filter_alpha, ui_.roiFilterAlpha); tie_setting(settings_.use_mjpeg, ui_.use_mjpeg); @@ -737,6 +744,7 @@ NeuralNetDialog::NeuralNetDialog() : tie_setting(settings_.num_threads, ui_.threadCount); tie_setting(settings_.resolution, ui_.resolution); tie_setting(settings_.force_fps, ui_.cameraFPS); +#endif connect(ui_.buttonBox, SIGNAL(accepted()), this, SLOT(doOK())); connect(ui_.buttonBox, SIGNAL(rejected()), this, SLOT(doCancel())); diff --git a/tracker-neuralnet/lang/nl_NL.ts b/tracker-neuralnet/lang/nl_NL.ts index dbcd3c8c..25742b8f 100644 --- a/tracker-neuralnet/lang/nl_NL.ts +++ b/tracker-neuralnet/lang/nl_NL.ts @@ -8,26 +8,10 @@ <translation>Tracker-instellingen</translation> </message> <message> - <source>Frames per second</source> - <translation>Frames per seconde</translation> - </message> - <message> - <source>Camera name</source> - <translation>Cameranaam</translation> - </message> - <message> - <source>Diagonal FOV</source> - <translation>Diagonale FOV</translation> - </message> - <message> <source>Camera settings</source> <translation>Camera-instellingen</translation> </message> <message> - <source>Camera Configuration</source> - <translation type="unfinished"></translation> - </message> - <message> <source>Head Center Offset</source> <translation type="unfinished"></translation> </message> @@ -56,62 +40,6 @@ Don't roll or change position.</source> <source>Up</source> <translation type="unfinished"></translation> </message> - <message> - <source>Show Network Input</source> - <translation type="unfinished"></translation> - </message> - <message> - <source>MJPEG</source> - <translation type="unfinished"></translation> - </message> - <message> - <source>Tuning / Debug</source> - <translation type="unfinished"></translation> - </message> - <message> - <source>ROI Smoothing Alpha</source> - <translation type="unfinished"></translation> - </message> - <message> - <source>ROI Zoom</source> - <translation type="unfinished"></translation> - </message> - <message> - <source>Thread Count</source> - <translation type="unfinished"></translation> - </message> - <message> - <source>Resolution</source> - <translation type="unfinished"></translation> - </message> - <message> - <source>Field of view. Needed to transform the pose to world coordinates.</source> - <translation type="unfinished"></translation> - </message> - <message> - <source>Requested video frame rate. Actual setting may not be supported by the camera.</source> - <translation type="unfinished"></translation> - </message> - <message> - <source>The requested resolution for cases where the camera delivers maximum frame rate only for a particular resolution. The image may still be downscaled to the internal resolution.</source> - <translation type="unfinished"></translation> - </message> - <message> - <source>Number of threads. Can be used to balance the CPU load between the game and the tracker.</source> - <translation type="unfinished"></translation> - </message> - <message> - <source>Show the image patch that the pose estimation model sees.</source> - <translation type="unfinished"></translation> - </message> - <message> - <source>Amount of smoothing of the face region coordinates. Can help stabilize the pose.</source> - <translation type="unfinished"></translation> - </message> - <message> - <source>Zoom factor for the face region. Applied before the patch is fed into the pose estimation model. There is a sweet spot near 1.</source> - <translation type="unfinished"></translation> - </message> </context> <context> <name>neuralnet_tracker_ns::NeuralNetDialog</name> diff --git a/tracker-neuralnet/lang/ru_RU.ts b/tracker-neuralnet/lang/ru_RU.ts index a80c7e3d..5b311a19 100644 --- a/tracker-neuralnet/lang/ru_RU.ts +++ b/tracker-neuralnet/lang/ru_RU.ts @@ -8,26 +8,10 @@ <translation type="unfinished"></translation> </message> <message> - <source>Diagonal FOV</source> - <translation type="unfinished"></translation> - </message> - <message> <source>Camera settings</source> <translation type="unfinished"></translation> </message> <message> - <source>Frames per second</source> - <translation type="unfinished"></translation> - </message> - <message> - <source>Camera name</source> - <translation type="unfinished"></translation> - </message> - <message> - <source>Camera Configuration</source> - <translation type="unfinished"></translation> - </message> - <message> <source>Head Center Offset</source> <translation type="unfinished"></translation> </message> @@ -56,62 +40,6 @@ Don't roll or change position.</source> <source>Up</source> <translation type="unfinished"></translation> </message> - <message> - <source>Show Network Input</source> - <translation type="unfinished"></translation> - </message> - <message> - <source>MJPEG</source> - <translation type="unfinished"></translation> - </message> - <message> - <source>Tuning / Debug</source> - <translation type="unfinished"></translation> - </message> - <message> - <source>ROI Smoothing Alpha</source> - <translation type="unfinished"></translation> - </message> - <message> - <source>ROI Zoom</source> - <translation type="unfinished"></translation> - </message> - <message> - <source>Thread Count</source> - <translation type="unfinished"></translation> - </message> - <message> - <source>Resolution</source> - <translation type="unfinished"></translation> - </message> - <message> - <source>Field of view. Needed to transform the pose to world coordinates.</source> - <translation type="unfinished"></translation> - </message> - <message> - <source>Requested video frame rate. Actual setting may not be supported by the camera.</source> - <translation type="unfinished"></translation> - </message> - <message> - <source>The requested resolution for cases where the camera delivers maximum frame rate only for a particular resolution. The image may still be downscaled to the internal resolution.</source> - <translation type="unfinished"></translation> - </message> - <message> - <source>Number of threads. Can be used to balance the CPU load between the game and the tracker.</source> - <translation type="unfinished"></translation> - </message> - <message> - <source>Show the image patch that the pose estimation model sees.</source> - <translation type="unfinished"></translation> - </message> - <message> - <source>Amount of smoothing of the face region coordinates. Can help stabilize the pose.</source> - <translation type="unfinished"></translation> - </message> - <message> - <source>Zoom factor for the face region. Applied before the patch is fed into the pose estimation model. There is a sweet spot near 1.</source> - <translation type="unfinished"></translation> - </message> </context> <context> <name>neuralnet_tracker_ns::NeuralNetDialog</name> diff --git a/tracker-neuralnet/lang/stub.ts b/tracker-neuralnet/lang/stub.ts index 4cde86a9..62ce527b 100644 --- a/tracker-neuralnet/lang/stub.ts +++ b/tracker-neuralnet/lang/stub.ts @@ -8,26 +8,10 @@ <translation type="unfinished"></translation> </message> <message> - <source>Diagonal FOV</source> - <translation type="unfinished"></translation> - </message> - <message> <source>Camera settings</source> <translation type="unfinished"></translation> </message> <message> - <source>Frames per second</source> - <translation type="unfinished"></translation> - </message> - <message> - <source>Camera name</source> - <translation type="unfinished"></translation> - </message> - <message> - <source>Camera Configuration</source> - <translation type="unfinished"></translation> - </message> - <message> <source>Head Center Offset</source> <translation type="unfinished"></translation> </message> @@ -56,62 +40,6 @@ Don't roll or change position.</source> <source>Up</source> <translation type="unfinished"></translation> </message> - <message> - <source>Show Network Input</source> - <translation type="unfinished"></translation> - </message> - <message> - <source>MJPEG</source> - <translation type="unfinished"></translation> - </message> - <message> - <source>Tuning / Debug</source> - <translation type="unfinished"></translation> - </message> - <message> - <source>ROI Smoothing Alpha</source> - <translation type="unfinished"></translation> - </message> - <message> - <source>ROI Zoom</source> - <translation type="unfinished"></translation> - </message> - <message> - <source>Thread Count</source> - <translation type="unfinished"></translation> - </message> - <message> - <source>Resolution</source> - <translation type="unfinished"></translation> - </message> - <message> - <source>Field of view. Needed to transform the pose to world coordinates.</source> - <translation type="unfinished"></translation> - </message> - <message> - <source>Requested video frame rate. Actual setting may not be supported by the camera.</source> - <translation type="unfinished"></translation> - </message> - <message> - <source>The requested resolution for cases where the camera delivers maximum frame rate only for a particular resolution. The image may still be downscaled to the internal resolution.</source> - <translation type="unfinished"></translation> - </message> - <message> - <source>Number of threads. Can be used to balance the CPU load between the game and the tracker.</source> - <translation type="unfinished"></translation> - </message> - <message> - <source>Show the image patch that the pose estimation model sees.</source> - <translation type="unfinished"></translation> - </message> - <message> - <source>Amount of smoothing of the face region coordinates. Can help stabilize the pose.</source> - <translation type="unfinished"></translation> - </message> - <message> - <source>Zoom factor for the face region. Applied before the patch is fed into the pose estimation model. There is a sweet spot near 1.</source> - <translation type="unfinished"></translation> - </message> </context> <context> <name>neuralnet_tracker_ns::NeuralNetDialog</name> diff --git a/tracker-neuralnet/lang/zh_CN.ts b/tracker-neuralnet/lang/zh_CN.ts index c3a91211..39a6c0e2 100644 --- a/tracker-neuralnet/lang/zh_CN.ts +++ b/tracker-neuralnet/lang/zh_CN.ts @@ -8,26 +8,10 @@ <translation type="unfinished"></translation> </message> <message> - <source>Diagonal FOV</source> - <translation type="unfinished"></translation> - </message> - <message> - <source>Camera name</source> - <translation type="unfinished"></translation> - </message> - <message> - <source>Frames per second</source> - <translation type="unfinished"></translation> - </message> - <message> <source>Camera settings</source> <translation type="unfinished"></translation> </message> <message> - <source>Camera Configuration</source> - <translation type="unfinished"></translation> - </message> - <message> <source>Head Center Offset</source> <translation type="unfinished"></translation> </message> @@ -56,62 +40,6 @@ Don't roll or change position.</source> <source>Up</source> <translation type="unfinished"></translation> </message> - <message> - <source>Show Network Input</source> - <translation type="unfinished"></translation> - </message> - <message> - <source>MJPEG</source> - <translation type="unfinished"></translation> - </message> - <message> - <source>Tuning / Debug</source> - <translation type="unfinished"></translation> - </message> - <message> - <source>ROI Smoothing Alpha</source> - <translation type="unfinished"></translation> - </message> - <message> - <source>ROI Zoom</source> - <translation type="unfinished"></translation> - </message> - <message> - <source>Thread Count</source> - <translation type="unfinished"></translation> - </message> - <message> - <source>Resolution</source> - <translation type="unfinished"></translation> - </message> - <message> - <source>Field of view. Needed to transform the pose to world coordinates.</source> - <translation type="unfinished"></translation> - </message> - <message> - <source>Requested video frame rate. Actual setting may not be supported by the camera.</source> - <translation type="unfinished"></translation> - </message> - <message> - <source>The requested resolution for cases where the camera delivers maximum frame rate only for a particular resolution. The image may still be downscaled to the internal resolution.</source> - <translation type="unfinished"></translation> - </message> - <message> - <source>Number of threads. Can be used to balance the CPU load between the game and the tracker.</source> - <translation type="unfinished"></translation> - </message> - <message> - <source>Show the image patch that the pose estimation model sees.</source> - <translation type="unfinished"></translation> - </message> - <message> - <source>Amount of smoothing of the face region coordinates. Can help stabilize the pose.</source> - <translation type="unfinished"></translation> - </message> - <message> - <source>Zoom factor for the face region. Applied before the patch is fed into the pose estimation model. There is a sweet spot near 1.</source> - <translation type="unfinished"></translation> - </message> </context> <context> <name>neuralnet_tracker_ns::NeuralNetDialog</name> diff --git a/tracker-neuralnet/neuralnet-trackercontrols.ui b/tracker-neuralnet/neuralnet-trackercontrols.ui index 750e6ef3..01fdd4bd 100644 --- a/tracker-neuralnet/neuralnet-trackercontrols.ui +++ b/tracker-neuralnet/neuralnet-trackercontrols.ui @@ -9,391 +9,38 @@ <rect> <x>0</x> <y>0</y> - <width>671</width> - <height>357</height> + <width>445</width> + <height>226</height> </rect> </property> <property name="windowTitle"> <string>Tracker settings</string> </property> <layout class="QGridLayout" name="gridLayout"> - <item row="2" column="0"> - <widget class="QGroupBox" name="groupBox"> - <property name="sizePolicy"> - <sizepolicy hsizetype="Preferred" vsizetype="Preferred"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <property name="autoFillBackground"> - <bool>true</bool> - </property> - <property name="title"> - <string>Camera Configuration</string> - </property> - <property name="flat"> - <bool>false</bool> - </property> - <property name="checkable"> - <bool>false</bool> - </property> - <layout class="QHBoxLayout" name="horizontalLayout"> - <property name="spacing"> - <number>10</number> - </property> - <property name="bottomMargin"> - <number>8</number> - </property> - <item> - <layout class="QGridLayout" name="gridLayout_3"> - <property name="sizeConstraint"> - <enum>QLayout::SetDefaultConstraint</enum> - </property> - <property name="leftMargin"> - <number>0</number> - </property> - <property name="topMargin"> - <number>0</number> - </property> - <property name="rightMargin"> - <number>0</number> - </property> - <property name="bottomMargin"> - <number>0</number> - </property> - <property name="horizontalSpacing"> - <number>0</number> - </property> - <property name="verticalSpacing"> - <number>2</number> - </property> - <item row="0" column="1"> - <widget class="QComboBox" name="cameraName"> - <property name="sizePolicy"> - <sizepolicy hsizetype="Preferred" vsizetype="Preferred"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - </widget> - </item> - <item row="1" column="0"> - <widget class="QLabel" name="label_9"> - <property name="text"> - <string>Diagonal FOV</string> - </property> - </widget> - </item> - <item row="0" column="0"> - <widget class="QLabel" name="label_10"> - <property name="text"> - <string>Camera name</string> - </property> - </widget> - </item> - <item row="1" column="1"> - <widget class="QSpinBox" name="cameraFOV"> - <property name="sizePolicy"> - <sizepolicy hsizetype="Preferred" vsizetype="Preferred"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <property name="toolTip"> - <string>Field of view. Needed to transform the pose to world coordinates.</string> - </property> - <property name="locale"> - <locale language="English" country="UnitedStates"/> - </property> - <property name="minimum"> - <number>35</number> - </property> - <property name="maximum"> - <number>90</number> - </property> - </widget> - </item> - <item row="2" column="1"> - <widget class="QComboBox" name="resolution"> - <property name="sizePolicy"> - <sizepolicy hsizetype="Preferred" vsizetype="Preferred"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <property name="toolTip"> - <string>The requested resolution for cases where the camera delivers maximum frame rate only for a particular resolution. The image may still be downscaled to the internal resolution.</string> - </property> - </widget> - </item> - <item row="2" column="0"> - <widget class="QLabel" name="resolution_label"> - <property name="text"> - <string>Resolution</string> - </property> - </widget> - </item> - </layout> - </item> - <item> - <layout class="QGridLayout" name="gridLayout_6"> - <property name="leftMargin"> - <number>0</number> - </property> - <property name="topMargin"> - <number>0</number> - </property> - <property name="rightMargin"> - <number>0</number> - </property> - <property name="bottomMargin"> - <number>0</number> - </property> - <property name="horizontalSpacing"> - <number>0</number> - </property> - <property name="verticalSpacing"> - <number>2</number> - </property> - <item row="4" column="1"> - <widget class="QComboBox" name="cameraFPS"> - <property name="sizePolicy"> - <sizepolicy hsizetype="Preferred" vsizetype="Preferred"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <property name="toolTip"> - <string>Requested video frame rate. Actual setting may not be supported by the camera.</string> - </property> - </widget> - </item> - <item row="4" column="0"> - <widget class="QLabel" name="label_12"> - <property name="text"> - <string>Frames per second</string> - </property> - </widget> - </item> - <item row="2" column="1"> - <widget class="QCheckBox" name="use_mjpeg"> - <property name="sizePolicy"> - <sizepolicy hsizetype="Minimum" vsizetype="Preferred"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <property name="minimumSize"> - <size> - <width>0</width> - <height>0</height> - </size> - </property> - <property name="text"> - <string/> - </property> - </widget> - </item> - <item row="2" column="0"> - <widget class="QLabel" name="label_11"> - <property name="text"> - <string>MJPEG</string> - </property> - </widget> - </item> - <item row="0" column="1"> - <widget class="QPushButton" name="camera_settings"> - <property name="sizePolicy"> - <sizepolicy hsizetype="Preferred" vsizetype="Preferred"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <property name="text"> - <string>Camera settings</string> - </property> - </widget> - </item> - </layout> - </item> - </layout> - </widget> - </item> - <item row="9" column="0"> + <item row="8" column="0"> <widget class="QDialogButtonBox" name="buttonBox"> <property name="standardButtons"> <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> </property> </widget> </item> - <item row="5" column="0"> - <widget class="QGroupBox" name="tuningOptionsBox"> - <property name="sizePolicy"> - <sizepolicy hsizetype="Preferred" vsizetype="Preferred"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <property name="minimumSize"> - <size> - <width>0</width> - <height>0</height> - </size> - </property> + <item row="6" column="0"> + <widget class="QLabel" name="resolution_display"> <property name="autoFillBackground"> <bool>true</bool> </property> - <property name="title"> - <string>Tuning / Debug</string> + <property name="frameShape"> + <enum>QFrame::Panel</enum> + </property> + <property name="frameShadow"> + <enum>QFrame::Sunken</enum> + </property> + <property name="text"> + <string notr="true"/> </property> - <layout class="QGridLayout" name="gridLayout_2"> - <item row="0" column="10"> - <widget class="Line" name="line_2"> - <property name="orientation"> - <enum>Qt::Vertical</enum> - </property> - </widget> - </item> - <item row="0" column="1"> - <widget class="QSpinBox" name="threadCount"> - <property name="toolTip"> - <string>Number of threads. Can be used to balance the CPU load between the game and the tracker.</string> - </property> - <property name="minimum"> - <number>1</number> - </property> - <property name="maximum"> - <number>32</number> - </property> - </widget> - </item> - <item row="0" column="4"> - <widget class="Line" name="line"> - <property name="orientation"> - <enum>Qt::Vertical</enum> - </property> - </widget> - </item> - <item row="0" column="8"> - <widget class="QLabel" name="roiFilterAlphaLabel"> - <property name="sizePolicy"> - <sizepolicy hsizetype="Minimum" vsizetype="Minimum"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <property name="text"> - <string>ROI Smoothing Alpha</string> - </property> - </widget> - </item> - <item row="0" column="11"> - <widget class="QLabel" name="roiZoomLabel"> - <property name="text"> - <string>ROI Zoom</string> - </property> - </widget> - </item> - <item row="0" column="2"> - <widget class="Line" name="line_3"> - <property name="orientation"> - <enum>Qt::Vertical</enum> - </property> - </widget> - </item> - <item row="0" column="3"> - <widget class="QCheckBox" name="showNetworkInput"> - <property name="sizePolicy"> - <sizepolicy hsizetype="Minimum" vsizetype="Fixed"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <property name="toolTip"> - <string>Show the image patch that the pose estimation model sees.</string> - </property> - <property name="text"> - <string>Show Network Input</string> - </property> - </widget> - </item> - <item row="0" column="9"> - <widget class="QDoubleSpinBox" name="roiFilterAlpha"> - <property name="sizePolicy"> - <sizepolicy hsizetype="Minimum" vsizetype="Fixed"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <property name="maximumSize"> - <size> - <width>150</width> - <height>16777215</height> - </size> - </property> - <property name="toolTip"> - <string>Amount of smoothing of the face region coordinates. Can help stabilize the pose.</string> - </property> - <property name="wrapping"> - <bool>false</bool> - </property> - <property name="decimals"> - <number>2</number> - </property> - <property name="maximum"> - <double>1.000000000000000</double> - </property> - <property name="singleStep"> - <double>0.010000000000000</double> - </property> - <property name="value"> - <double>1.000000000000000</double> - </property> - </widget> - </item> - <item row="0" column="0"> - <widget class="QLabel" name="threadCountLabel"> - <property name="text"> - <string>Thread Count</string> - </property> - </widget> - </item> - <item row="0" column="12"> - <widget class="QDoubleSpinBox" name="roiZoom"> - <property name="toolTip"> - <string>Zoom factor for the face region. Applied before the patch is fed into the pose estimation model. There is a sweet spot near 1.</string> - </property> - <property name="minimum"> - <double>0.100000000000000</double> - </property> - <property name="maximum"> - <double>2.000000000000000</double> - </property> - <property name="singleStep"> - <double>0.010000000000000</double> - </property> - <property name="value"> - <double>1.000000000000000</double> - </property> - </widget> - </item> - <item row="0" column="13"> - <spacer name="horizontalSpacer"> - <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 row="4" column="0"> + <item row="3" column="0"> <widget class="QGroupBox" name="groupBox_10"> <property name="sizePolicy"> <sizepolicy hsizetype="Preferred" vsizetype="Preferred"> @@ -613,19 +260,16 @@ Don't roll or change position.</string> </layout> </widget> </item> - <item row="8" column="0"> - <widget class="QLabel" name="resolution_display"> - <property name="autoFillBackground"> - <bool>true</bool> - </property> - <property name="frameShape"> - <enum>QFrame::Panel</enum> - </property> - <property name="frameShadow"> - <enum>QFrame::Sunken</enum> + <item row="4" column="0"> + <widget class="QPushButton" name="camera_settings"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Preferred" vsizetype="Preferred"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> </property> <property name="text"> - <string notr="true"/> + <string>Camera settings</string> </property> </widget> </item> |