QGCCommandButton.ui 8.13 KB
Newer Older
lm's avatar
lm committed
1 2 3 4 5 6 7 8
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
 <class>QGCCommandButton</class>
 <widget class="QWidget" name="QGCCommandButton">
  <property name="geometry">
   <rect>
    <x>0</x>
    <y>0</y>
9
    <width>1235</width>
10
    <height>430</height>
lm's avatar
lm committed
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">
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
   <item row="7" column="0" colspan="3">
30 31 32 33 34
    <widget class="QComboBox" name="editCommandComboBox">
     <property name="editable">
      <bool>true</bool>
     </property>
    </widget>
lm's avatar
lm committed
35
   </item>
36
   <item row="7" column="3">
lm's avatar
lm committed
37 38 39 40 41 42
    <widget class="QPushButton" name="editFinishButton">
     <property name="text">
      <string>Done</string>
     </property>
    </widget>
   </item>
43
   <item row="2" column="3">
lm's avatar
lm committed
44 45
    <widget class="QLineEdit" name="editButtonName">
     <property name="text">
46
      <string>&lt;Button Label&gt;</string>
lm's avatar
lm committed
47 48 49
     </property>
    </widget>
   </item>
50
   <item row="2" column="0" colspan="3">
lm's avatar
lm committed
51
    <widget class="QLineEdit" name="editNameLabel">
52 53
     <property name="placeholderText">
      <string>Button Description</string>
lm's avatar
lm committed
54 55 56
     </property>
    </widget>
   </item>
57
   <item row="4" column="3">
lm's avatar
lm committed
58 59 60
    <widget class="QPushButton" name="commandButton">
     <property name="minimumSize">
      <size>
61
       <width>60</width>
lm's avatar
lm committed
62 63 64 65 66 67 68 69
       <height>0</height>
      </size>
     </property>
     <property name="text">
      <string>Unnamed</string>
     </property>
    </widget>
   </item>
70
   <item row="6" column="0">
71 72 73 74 75 76 77 78 79 80 81 82
    <widget class="QSpinBox" name="editComponentSpinBox">
     <property name="prefix">
      <string>Component ID: </string>
     </property>
     <property name="minimum">
      <number>0</number>
     </property>
     <property name="maximum">
      <number>255</number>
     </property>
    </widget>
   </item>
83
   <item row="6" column="2" colspan="2">
84 85 86 87 88 89 90 91 92
    <widget class="QCheckBox" name="editConfirmationCheckBox">
     <property name="toolTip">
      <string>Set the confirm flag for this button. Some commands require that first one command is sent without confirm flag and then a second, equal command with confirm flag. This ensures safety.</string>
     </property>
     <property name="text">
      <string>Set CONFIRM flag</string>
     </property>
    </widget>
   </item>
93
   <item row="3" column="0" colspan="4">
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 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170
    <layout class="QHBoxLayout" name="horizontalLayout">
     <item>
      <widget class="QDoubleSpinBox" name="editParam1SpinBox">
       <property name="toolTip">
        <string>PARAM1 Value as defined in MAV_CMD list</string>
       </property>
       <property name="statusTip">
        <string>PARAM1 Value as defined in MAV_CMD list</string>
       </property>
       <property name="prefix">
        <string>P1 </string>
       </property>
       <property name="minimum">
        <double>-2147483647.000000000000000</double>
       </property>
       <property name="maximum">
        <double>2147483647.000000000000000</double>
       </property>
      </widget>
     </item>
     <item>
      <widget class="QDoubleSpinBox" name="editParam2SpinBox">
       <property name="toolTip">
        <string>PARAM2 Value as defined in MAV_CMD list</string>
       </property>
       <property name="statusTip">
        <string>PARAM2 Value as defined in MAV_CMD list</string>
       </property>
       <property name="prefix">
        <string>P2: </string>
       </property>
       <property name="minimum">
        <double>-2147483647.000000000000000</double>
       </property>
       <property name="value">
        <double>0.000000000000000</double>
       </property>
      </widget>
     </item>
     <item>
      <widget class="QDoubleSpinBox" name="editParam3SpinBox">
       <property name="toolTip">
        <string>PARAM3 Value as defined in MAV_CMD list</string>
       </property>
       <property name="statusTip">
        <string>PARAM3 Value as defined in MAV_CMD list</string>
       </property>
       <property name="prefix">
        <string>P3: </string>
       </property>
       <property name="minimum">
        <double>-2147483647.000000000000000</double>
       </property>
       <property name="maximum">
        <double>2147483647.000000000000000</double>
       </property>
      </widget>
     </item>
     <item>
      <widget class="QDoubleSpinBox" name="editParam4SpinBox">
       <property name="toolTip">
        <string>PARAM4 Value as defined in MAV_CMD list</string>
       </property>
       <property name="statusTip">
        <string>PARAM4 Value as defined in MAV_CMD list</string>
       </property>
       <property name="prefix">
        <string>P4: </string>
       </property>
       <property name="minimum">
        <double>-2147483647.000000000000000</double>
       </property>
       <property name="maximum">
        <double>2147483647.000000000000000</double>
       </property>
      </widget>
     </item>
171 172 173 174 175
     <item>
      <widget class="QDoubleSpinBox" name="editParam5SpinBox">
       <property name="prefix">
        <string>P5: </string>
       </property>
176 177 178
       <property name="decimals">
        <number>7</number>
       </property>
179 180 181 182 183 184 185 186 187 188 189 190 191
       <property name="minimum">
        <double>-2147483647.000000000000000</double>
       </property>
       <property name="maximum">
        <double>2147483647.000000000000000</double>
       </property>
      </widget>
     </item>
     <item>
      <widget class="QDoubleSpinBox" name="editParam6SpinBox">
       <property name="prefix">
        <string>P6: </string>
       </property>
192 193 194
       <property name="decimals">
        <number>7</number>
       </property>
195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215
       <property name="minimum">
        <double>-2147483647.000000000000000</double>
       </property>
       <property name="maximum">
        <double>2147483647.000000000000000</double>
       </property>
      </widget>
     </item>
     <item>
      <widget class="QDoubleSpinBox" name="editParam7SpinBox">
       <property name="prefix">
        <string>P7: </string>
       </property>
       <property name="minimum">
        <double>-2147483647.000000000000000</double>
       </property>
       <property name="maximum">
        <double>2147483647.000000000000000</double>
       </property>
      </widget>
     </item>
216 217
    </layout>
   </item>
218
   <item row="4" column="0" colspan="3">
219 220 221 222 223 224 225 226 227 228 229 230 231 232 233
    <widget class="QLabel" name="nameLabel">
     <property name="minimumSize">
      <size>
       <width>50</width>
       <height>0</height>
      </size>
     </property>
     <property name="text">
      <string>Description</string>
     </property>
     <property name="alignment">
      <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
     </property>
    </widget>
   </item>
234
   <item row="6" column="1">
235 236 237 238 239 240
    <widget class="QCheckBox" name="editParamsVisibleCheckBox">
     <property name="text">
      <string>Keep parameters visible</string>
     </property>
    </widget>
   </item>
241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266
   <item row="1" column="0" colspan="4">
    <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="8" column="0" colspan="4">
    <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>
lm's avatar
lm committed
267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288
  </layout>
 </widget>
 <resources/>
 <connections>
  <connection>
   <sender>editNameLabel</sender>
   <signal>textChanged(QString)</signal>
   <receiver>nameLabel</receiver>
   <slot>setText(QString)</slot>
   <hints>
    <hint type="sourcelabel">
     <x>114</x>
     <y>22</y>
    </hint>
    <hint type="destinationlabel">
     <x>114</x>
     <y>55</y>
    </hint>
   </hints>
  </connection>
 </connections>
</ui>