Commit 4d40f750 authored by Don Gagne's avatar Don Gagne

Fix dialog layout

parent 3e2699ee
...@@ -7,213 +7,201 @@ ...@@ -7,213 +7,201 @@
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>400</width> <width>400</width>
<height>315</height> <height>358</height>
</rect> </rect>
</property> </property>
<property name="windowTitle"> <property name="windowTitle">
<string>Dialog</string> <string>Dialog</string>
</property> </property>
<widget class="QDialogButtonBox" name="buttonBox"> <layout class="QVBoxLayout" name="verticalLayout">
<property name="geometry"> <item>
<rect> <layout class="QFormLayout" name="formLayout">
<x>30</x> <property name="fieldGrowthPolicy">
<y>280</y> <enum>QFormLayout::AllNonFixedFieldsGrow</enum>
<width>341</width> </property>
<height>32</height> <item row="0" column="0">
</rect> <widget class="QLabel" name="label1">
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="standardButtons">
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
</property>
</widget>
<widget class="QWidget" name="formLayoutWidget">
<property name="geometry">
<rect>
<x>9</x>
<y>9</y>
<width>381</width>
<height>296</height>
</rect>
</property>
<layout class="QFormLayout" name="formLayout">
<property name="fieldGrowthPolicy">
<enum>QFormLayout::AllNonFixedFieldsGrow</enum>
</property>
<item row="0" column="0">
<widget class="QLabel" name="label1">
<property name="text">
<string>Bind</string>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="rcParamChannelInfoLabel">
<property name="text">
<string>Parameter Tuning ID</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QComboBox" name="rcParamChannelComboBox">
<property name="editable">
<bool>false</bool>
</property>
<property name="currentText">
<string>1</string>
</property>
<item>
<property name="text"> <property name="text">
<string>Bind</string>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="rcParamChannelInfoLabel">
<property name="text">
<string>Parameter Tuning ID</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QComboBox" name="rcParamChannelComboBox">
<property name="editable">
<bool>false</bool>
</property>
<property name="currentText">
<string>1</string> <string>1</string>
</property> </property>
</item> <item>
<item> <property name="text">
<string>1</string>
</property>
</item>
<item>
<property name="text">
<string>2</string>
</property>
</item>
<item>
<property name="text">
<string>3</string>
</property>
</item>
</widget>
</item>
<item row="3" column="0">
<widget class="QLabel" name="paramIdInfoLabel">
<property name="text">
<string>Parameter</string>
</property>
</widget>
</item>
<item row="3" column="1">
<widget class="QLabel" name="paramIdLabel">
<property name="text">
<string>TextLabel</string>
</property>
</widget>
</item>
<item row="4" column="0">
<widget class="QLabel" name="label3">
<property name="text">
<string>with</string>
</property>
</widget>
</item>
<item row="5" column="0">
<widget class="QLabel" name="scaleInfoLabel">
<property name="text">
<string>Scale (keep default)</string>
</property>
</widget>
</item>
<item row="5" column="1">
<widget class="QDoubleSpinBox" name="scaleDoubleSpinBox">
<property name="value">
<double>1.000000000000000</double>
</property>
</widget>
</item>
<item row="6" column="0">
<widget class="QLabel" name="value0InfoLabel">
<property name="text">
<string>Center value</string>
</property>
</widget>
</item>
<item row="6" column="1">
<widget class="QDoubleSpinBox" name="value0DoubleSpinBox">
<property name="enabled">
<bool>false</bool>
</property>
<property name="decimals">
<number>8</number>
</property>
<property name="minimum">
<double>-100000.000000000000000</double>
</property>
<property name="maximum">
<double>100000.000000000000000</double>
</property>
</widget>
</item>
<item row="7" column="0">
<widget class="QLabel" name="minInfoLabel">
<property name="text"> <property name="text">
<string>2</string> <string>Minimum Value</string>
</property>
</widget>
</item>
<item row="7" column="1">
<widget class="QDoubleSpinBox" name="minValueDoubleSpinBox">
<property name="decimals">
<number>8</number>
</property>
<property name="minimum">
<double>-100000.000000000000000</double>
</property>
<property name="maximum">
<double>100000.000000000000000</double>
</property> </property>
</item> </widget>
<item> </item>
<item row="8" column="0">
<widget class="QLabel" name="maxInfoLabel">
<property name="text"> <property name="text">
<string>3</string> <string>Maximum Value</string>
</property> </property>
</item> </widget>
</widget> </item>
</item> <item row="8" column="1">
<item row="3" column="0"> <widget class="QDoubleSpinBox" name="maxValueDoubleSpinBox">
<widget class="QLabel" name="paramIdInfoLabel"> <property name="decimals">
<property name="text"> <number>8</number>
<string>Parameter</string> </property>
</property> <property name="minimum">
</widget> <double>-10000.000000000000000</double>
</item> </property>
<item row="3" column="1"> <property name="maximum">
<widget class="QLabel" name="paramIdLabel"> <double>100000.000000000000000</double>
<property name="text"> </property>
<string>TextLabel</string> <property name="singleStep">
</property> <double>1.000000000000000</double>
</widget> </property>
</item> <property name="value">
<item row="4" column="0"> <double>10.000000000000000</double>
<widget class="QLabel" name="label3"> </property>
<property name="text"> </widget>
<string>with</string> </item>
</property> <item row="10" column="0">
</widget> <widget class="QLabel" name="infoLabel">
</item> <property name="text">
<item row="5" column="0"> <string>Waiting for parameter refresh,,,</string>
<widget class="QLabel" name="scaleInfoLabel"> </property>
<property name="text"> </widget>
<string>Scale (keep default)</string> </item>
</property> <item row="9" column="0">
</widget> <spacer name="verticalSpacer">
</item> <property name="orientation">
<item row="5" column="1"> <enum>Qt::Vertical</enum>
<widget class="QDoubleSpinBox" name="scaleDoubleSpinBox"> </property>
<property name="value"> <property name="sizeHint" stdset="0">
<double>1.000000000000000</double> <size>
</property> <width>20</width>
</widget> <height>40</height>
</item> </size>
<item row="6" column="0"> </property>
<widget class="QLabel" name="value0InfoLabel"> </spacer>
<property name="text"> </item>
<string>Center value</string> <item row="2" column="0" colspan="2">
</property> <widget class="QLabel" name="label2">
</widget> <property name="text">
</item> <string>Tuning IDs can be mapped to channels in the RC settings</string>
<item row="6" column="1"> </property>
<widget class="QDoubleSpinBox" name="value0DoubleSpinBox"> </widget>
<property name="enabled"> </item>
<bool>false</bool> </layout>
</property> </item>
<property name="decimals"> <item>
<number>8</number> <widget class="QDialogButtonBox" name="buttonBox">
</property> <property name="orientation">
<property name="minimum"> <enum>Qt::Horizontal</enum>
<double>-100000.000000000000000</double> </property>
</property> <property name="standardButtons">
<property name="maximum"> <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
<double>100000.000000000000000</double> </property>
</property> </widget>
</widget> </item>
</item> </layout>
<item row="7" column="0">
<widget class="QLabel" name="minInfoLabel">
<property name="text">
<string>Minimum Value</string>
</property>
</widget>
</item>
<item row="7" column="1">
<widget class="QDoubleSpinBox" name="minValueDoubleSpinBox">
<property name="decimals">
<number>8</number>
</property>
<property name="minimum">
<double>-100000.000000000000000</double>
</property>
<property name="maximum">
<double>100000.000000000000000</double>
</property>
</widget>
</item>
<item row="8" column="0">
<widget class="QLabel" name="maxInfoLabel">
<property name="text">
<string>Maximum Value</string>
</property>
</widget>
</item>
<item row="8" column="1">
<widget class="QDoubleSpinBox" name="maxValueDoubleSpinBox">
<property name="decimals">
<number>8</number>
</property>
<property name="minimum">
<double>-10000.000000000000000</double>
</property>
<property name="maximum">
<double>100000.000000000000000</double>
</property>
<property name="singleStep">
<double>1.000000000000000</double>
</property>
<property name="value">
<double>10.000000000000000</double>
</property>
</widget>
</item>
<item row="10" column="0">
<widget class="QLabel" name="infoLabel">
<property name="text">
<string>Waiting for parameter refresh,,,</string>
</property>
</widget>
</item>
<item row="9" column="0">
<spacer name="verticalSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
<item row="2" column="0" colspan="2">
<widget class="QLabel" name="label2">
<property name="text">
<string>Tuning IDs can be mapped to channels in the RC settings</string>
</property>
</widget>
</item>
</layout>
</widget>
</widget> </widget>
<resources/> <resources/>
<connections> <connections>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment