QGCParamSlider.ui 7.62 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>244</height>
11 12 13 14 15
   </rect>
  </property>
  <property name="windowTitle">
   <string>Form</string>
  </property>
16
  <layout class="QGridLayout" name="gridLayout" columnstretch="10,0,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 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54
   <item row="2" column="5">
    <widget class="QSpinBox" name="intValueSpinBox">
     <property name="minimum">
      <number>-999999999</number>
     </property>
     <property name="maximum">
      <number>999999999</number>
     </property>
    </widget>
   </item>
   <item row="3" column="5" colspan="3">
    <widget class="QComboBox" name="editSelectParamComboBox">
     <property name="enabled">
      <bool>false</bool>
     </property>
     <property name="toolTip">
      <string>Select parameter</string>
     </property>
     <property name="statusTip">
      <string>Select parameter</string>
55 56 57
     </property>
    </widget>
   </item>
58
   <item row="2" column="2">
59
    <widget class="QLabel" name="nameLabel">
60 61 62 63 64 65
     <property name="minimumSize">
      <size>
       <width>60</width>
       <height>0</height>
      </size>
     </property>
66 67 68
     <property name="text">
      <string>Name</string>
     </property>
69 70 71
     <property name="alignment">
      <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
     </property>
72 73
    </widget>
   </item>
74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144
   <item row="1" column="7">
    <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="2" colspan="5">
    <widget class="QLineEdit" name="editNameLabel">
     <property name="text">
      <string>&lt;Parameter Name / Label&gt;</string>
     </property>
    </widget>
   </item>
   <item row="2" column="0">
    <spacer name="horizontalSpacer">
     <property name="orientation">
      <enum>Qt::Horizontal</enum>
     </property>
     <property name="sizeHint" stdset="0">
      <size>
       <width>0</width>
       <height>20</height>
      </size>
     </property>
    </spacer>
   </item>
   <item row="2" column="8">
    <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">
      <string>W</string>
     </property>
    </widget>
   </item>
   <item row="7" column="0" colspan="10">
    <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>
145
   <item row="2" column="6" colspan="2">
146
    <widget class="QSlider" name="valueSlider">
147 148 149 150 151 152
     <property name="minimumSize">
      <size>
       <width>60</width>
       <height>0</height>
      </size>
     </property>
153 154
     <property name="maximumSize">
      <size>
155
       <width>250</width>
156 157 158 159 160 161
       <height>16777215</height>
      </size>
     </property>
     <property name="maximum">
      <number>1000000</number>
     </property>
162 163 164 165 166
     <property name="orientation">
      <enum>Qt::Horizontal</enum>
     </property>
    </widget>
   </item>
167 168
   <item row="3" column="8">
    <widget class="QCheckBox" name="editInfoCheckBox">
169
     <property name="text">
170 171 172 173
      <string>Show Info</string>
     </property>
     <property name="checked">
      <bool>true</bool>
174 175 176
     </property>
    </widget>
   </item>
177 178
   <item row="3" column="2" colspan="3">
    <widget class="QComboBox" name="editSelectComponentComboBox">
179 180 181
     <property name="enabled">
      <bool>false</bool>
     </property>
182
     <property name="toolTip">
183
      <string>Select component</string>
184 185
     </property>
     <property name="statusTip">
186
      <string>Select component</string>
187 188 189
     </property>
    </widget>
   </item>
190 191
   <item row="2" column="9">
    <widget class="QPushButton" name="readButton">
192 193 194 195 196 197
     <property name="minimumSize">
      <size>
       <width>0</width>
       <height>0</height>
      </size>
     </property>
198 199
     <property name="toolTip">
      <string>Read the current parameter value on the system</string>
200
     </property>
201 202
     <property name="statusTip">
      <string>Read the current parameter value on the system</string>
203
     </property>
204
     <property name="text">
205
      <string>R</string>
206 207 208
     </property>
    </widget>
   </item>
209 210 211 212
   <item row="5" column="2" colspan="6">
    <widget class="QLabel" name="editStatusLabel">
     <property name="text">
      <string>Please click first on refresh to update selection menus..</string>
213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228
     </property>
    </widget>
   </item>
   <item row="1" column="8" 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>
     </property>
    </widget>
   </item>
229 230
   <item row="2" column="3">
    <widget class="QDoubleSpinBox" name="doubleValueSpinBox">
231
     <property name="minimum">
232
      <double>-999999999.000000000000000</double>
233 234
     </property>
     <property name="maximum">
235
      <double>999999999.000000000000000</double>
236 237 238
     </property>
    </widget>
   </item>
239 240 241 242 243
   <item row="1" column="1" rowspan="6">
    <widget class="QTextBrowser" name="infoLabel"/>
   </item>
   <item row="0" column="0" colspan="10">
    <widget class="Line" name="editLine1">
244 245 246 247 248 249
     <property name="minimumSize">
      <size>
       <width>0</width>
       <height>0</height>
      </size>
     </property>
250 251
     <property name="orientation">
      <enum>Qt::Horizontal</enum>
252
     </property>
253 254
    </widget>
   </item>
255 256 257 258 259 260 261 262 263 264
   <item row="3" column="9">
    <widget class="QPushButton" name="editRefreshParamsButton">
     <property name="enabled">
      <bool>true</bool>
     </property>
     <property name="text">
      <string>Refresh</string>
     </property>
    </widget>
   </item>
265 266 267 268
   <item row="5" column="9">
    <widget class="QPushButton" name="editDoneButton">
     <property name="text">
      <string>Done</string>
269 270 271
     </property>
    </widget>
   </item>
272 273 274 275
   <item row="6" column="2" colspan="8">
    <spacer name="verticalSpacer">
     <property name="orientation">
      <enum>Qt::Vertical</enum>
276
     </property>
277
     <property name="sizeHint" stdset="0">
278
      <size>
279 280
       <width>20</width>
       <height>40</height>
281
      </size>
282
     </property>
283
    </spacer>
284
   </item>
285 286
  </layout>
 </widget>
287
 <resources/>
288 289
 <connections/>
</ui>