QGCParamSlider.ui 6.95 KB
Newer Older
1 2 3 4 5 6 7 8
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
 <class>QGCParamSlider</class>
 <widget class="QWidget" name="QGCParamSlider">
  <property name="geometry">
   <rect>
    <x>0</x>
    <y>0</y>
9
    <width>789</width>
10
    <height>158</height>
11 12 13 14 15
   </rect>
  </property>
  <property name="windowTitle">
   <string>Form</string>
  </property>
16
  <layout class="QGridLayout" name="gridLayout" columnstretch="100,0,0,0,0,0,0,0,0">
17 18 19 20 21 22 23 24 25 26 27 28
   <property name="leftMargin">
    <number>6</number>
   </property>
   <property name="topMargin">
    <number>3</number>
   </property>
   <property name="rightMargin">
    <number>6</number>
   </property>
   <property name="bottomMargin">
    <number>3</number>
   </property>
29 30 31 32 33 34
   <property name="horizontalSpacing">
    <number>6</number>
   </property>
   <property name="verticalSpacing">
    <number>12</number>
   </property>
35
   <item row="1" column="1" colspan="5">
pixhawk's avatar
pixhawk committed
36
    <widget class="QLineEdit" name="editNameLabel">
37
     <property name="text">
38
      <string>&lt;Parameter Name / Label&gt;</string>
39 40 41
     </property>
    </widget>
   </item>
42
   <item row="2" column="1">
43
    <widget class="QLabel" name="nameLabel">
44 45 46 47 48 49
     <property name="minimumSize">
      <size>
       <width>60</width>
       <height>0</height>
      </size>
     </property>
50 51 52
     <property name="text">
      <string>Name</string>
     </property>
53 54 55
     <property name="alignment">
      <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
     </property>
56 57
    </widget>
   </item>
58
   <item row="2" column="5" colspan="2">
59
    <widget class="QSlider" name="valueSlider">
60 61 62 63 64 65
     <property name="minimumSize">
      <size>
       <width>60</width>
       <height>0</height>
      </size>
     </property>
66 67
     <property name="maximumSize">
      <size>
68
       <width>250</width>
69 70 71 72 73 74
       <height>16777215</height>
      </size>
     </property>
     <property name="maximum">
      <number>1000000</number>
     </property>
75 76 77 78 79
     <property name="orientation">
      <enum>Qt::Horizontal</enum>
     </property>
    </widget>
   </item>
80
   <item row="5" column="1" colspan="6">
pixhawk's avatar
pixhawk committed
81 82
    <widget class="QLabel" name="editStatusLabel">
     <property name="text">
83
      <string>Please click first on refresh to update selection menus..</string>
pixhawk's avatar
pixhawk committed
84
     </property>
85 86
    </widget>
   </item>
87
   <item row="3" column="1" colspan="3">
88
    <widget class="QComboBox" name="editSelectComponentComboBox">
89 90 91
     <property name="enabled">
      <bool>false</bool>
     </property>
92 93 94 95 96 97 98
     <property name="toolTip">
      <string>Select component</string>
     </property>
     <property name="statusTip">
      <string>Select component</string>
     </property>
    </widget>
pixhawk's avatar
pixhawk committed
99
   </item>
100
   <item row="3" column="4" colspan="3">
101
    <widget class="QComboBox" name="editSelectParamComboBox">
102 103 104
     <property name="enabled">
      <bool>false</bool>
     </property>
105 106 107 108 109 110 111 112
     <property name="toolTip">
      <string>Select parameter</string>
     </property>
     <property name="statusTip">
      <string>Select parameter</string>
     </property>
    </widget>
   </item>
113
   <item row="2" column="8">
114
    <widget class="QPushButton" name="readButton">
115 116 117 118 119 120
     <property name="minimumSize">
      <size>
       <width>0</width>
       <height>0</height>
      </size>
     </property>
121 122 123 124 125 126 127 128
     <property name="toolTip">
      <string>Read the current parameter value on the system</string>
     </property>
     <property name="statusTip">
      <string>Read the current parameter value on the system</string>
     </property>
     <property name="text">
      <string>R</string>
pixhawk's avatar
pixhawk committed
129 130 131
     </property>
    </widget>
   </item>
132
   <item row="3" column="8">
pixhawk's avatar
pixhawk committed
133
    <widget class="QPushButton" name="editRefreshParamsButton">
134 135 136 137 138 139 140 141
     <property name="enabled">
      <bool>true</bool>
     </property>
     <property name="text">
      <string>Refresh</string>
     </property>
    </widget>
   </item>
142
   <item row="5" column="8">
143 144 145 146
    <widget class="QPushButton" name="editDoneButton">
     <property name="text">
      <string>Done</string>
     </property>
147 148
    </widget>
   </item>
149
   <item row="2" column="2">
150
    <widget class="QDoubleSpinBox" name="doubleValueSpinBox">
151 152 153 154 155 156 157
     <property name="minimum">
      <double>-999999999.000000000000000</double>
     </property>
     <property name="maximum">
      <double>999999999.000000000000000</double>
     </property>
    </widget>
158 159 160 161 162 163 164 165
   </item>
   <item row="2" column="0">
    <spacer name="horizontalSpacer">
     <property name="orientation">
      <enum>Qt::Horizontal</enum>
     </property>
     <property name="sizeHint" stdset="0">
      <size>
166
       <width>0</width>
167 168 169 170 171
       <height>20</height>
      </size>
     </property>
    </spacer>
   </item>
172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192
   <item row="2" column="7">
    <widget class="QPushButton" name="writeButton">
     <property name="minimumSize">
      <size>
       <width>0</width>
       <height>0</height>
      </size>
     </property>
     <property name="maximumSize">
      <size>
       <width>16777215</width>
       <height>16777215</height>
      </size>
     </property>
     <property name="toolTip">
      <string>Transmit the current slider value to the system</string>
     </property>
     <property name="statusTip">
      <string>Transmit the current slider value to the system</string>
     </property>
     <property name="text">
193
      <string>W</string>
194
     </property>
195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245
    </widget>
   </item>
   <item row="0" column="0" colspan="9">
    <widget class="Line" name="editLine1">
     <property name="minimumSize">
      <size>
       <width>0</width>
       <height>0</height>
      </size>
     </property>
     <property name="orientation">
      <enum>Qt::Horizontal</enum>
     </property>
    </widget>
   </item>
   <item row="6" column="0" colspan="9">
    <widget class="Line" name="editLine2">
     <property name="minimumSize">
      <size>
       <width>0</width>
       <height>0</height>
      </size>
     </property>
     <property name="orientation">
      <enum>Qt::Horizontal</enum>
     </property>
    </widget>
   </item>
   <item row="1" column="6">
    <widget class="QDoubleSpinBox" name="editMinSpinBox">
     <property name="prefix">
      <string>MIN: </string>
     </property>
     <property name="minimum">
      <double>-999999999.000000000000000</double>
     </property>
     <property name="maximum">
      <double>999999999.000000000000000</double>
     </property>
    </widget>
   </item>
   <item row="1" column="7" colspan="2">
    <widget class="QDoubleSpinBox" name="editMaxSpinBox">
     <property name="prefix">
      <string>MAX: </string>
     </property>
     <property name="minimum">
      <double>-999999999.000000000000000</double>
     </property>
     <property name="maximum">
      <double>999999999.000000000000000</double>
246 247 248
     </property>
    </widget>
   </item>
249 250 251 252 253 254 255 256 257 258
   <item row="2" column="4">
    <widget class="QSpinBox" name="intValueSpinBox">
     <property name="minimum">
      <number>-999999999</number>
     </property>
     <property name="maximum">
      <number>999999999</number>
     </property>
    </widget>
   </item>
259 260
  </layout>
 </widget>
261
 <resources/>
262 263
 <connections/>
</ui>