QGCPX4SensorCalibration.ui 7.79 KB
Newer Older
1 2 3 4 5 6 7 8
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
 <class>QGCPX4SensorCalibration</class>
 <widget class="QWidget" name="QGCPX4SensorCalibration">
  <property name="geometry">
   <rect>
    <x>0</x>
    <y>0</y>
9
    <width>659</width>
10
    <height>636</height>
11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
   </rect>
  </property>
  <property name="windowTitle">
   <string>Form</string>
  </property>
  <property name="styleSheet">
   <string notr="true">QPushButton#magButton {
   background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #73D95D, stop: 1 #18A154);
    border-radius: 8px;
    min-height: 25px;
    max-height: 30px;
    min-width: 60px;
    max-width: 140px;
	margin: 5px;
    border: 2px solid #465158;
}

28
QPushButton#gyroButton, QPushButton#accelButton, QPushButton#diffPressureButton {
29 30 31 32 33 34 35 36 37 38
   background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #D3795D, stop: 1 #A81154);
    border-radius: 8px;
    min-height: 25px;
    max-height: 30px;
    min-width: 60px;
    max-width: 140px;
	margin: 5px;
    border: 2px solid #465158;
}</string>
  </property>
39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 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
  <layout class="QGridLayout" name="gridLayout" rowstretch="40,5,1,1,1,1,1,1" columnstretch="1,2,30,1,1,10">
   <item row="0" column="4" rowspan="6" colspan="2">
    <layout class="QVBoxLayout" name="verticalLayout_4" stretch="0,10,10">
     <item>
      <spacer name="verticalSpacer_2">
       <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>
      <widget class="QGroupBox" name="groupBox_2">
       <property name="title">
        <string>Autopilot Orientation</string>
       </property>
       <layout class="QVBoxLayout" name="verticalLayout_2">
        <item>
         <widget class="QLabel" name="autopilotLabel">
          <property name="minimumSize">
           <size>
            <width>0</width>
            <height>250</height>
           </size>
          </property>
          <property name="text">
           <string/>
          </property>
         </widget>
        </item>
        <item>
         <widget class="QComboBox" name="autopilotComboBox"/>
        </item>
       </layout>
      </widget>
     </item>
     <item>
      <widget class="QGroupBox" name="groupBox">
       <property name="title">
        <string>Magnetometer Orientation</string>
       </property>
       <layout class="QVBoxLayout" name="verticalLayout">
        <item>
         <widget class="QLabel" name="gpsLabel">
          <property name="minimumSize">
           <size>
            <width>150</width>
            <height>120</height>
           </size>
          </property>
          <property name="text">
           <string/>
          </property>
         </widget>
        </item>
        <item>
         <widget class="QComboBox" name="magComboBox"/>
        </item>
       </layout>
      </widget>
     </item>
    </layout>
106
   </item>
107
   <item row="6" column="2" colspan="4">
108
    <spacer name="verticalSpacer">
109
     <property name="orientation">
110
      <enum>Qt::Vertical</enum>
111 112 113
     </property>
     <property name="sizeHint" stdset="0">
      <size>
114 115
       <width>498</width>
       <height>5</height>
116 117 118 119
      </size>
     </property>
    </spacer>
   </item>
120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142
   <item row="0" column="0" rowspan="2" colspan="4">
    <widget class="QLabel" name="iconLabel">
     <property name="text">
      <string/>
     </property>
    </widget>
   </item>
   <item row="2" column="2" colspan="2">
    <widget class="QProgressBar" name="progressBar">
     <property name="value">
      <number>24</number>
     </property>
    </widget>
   </item>
   <item row="3" column="0" colspan="4">
    <widget class="QPlainTextEdit" name="textView">
     <property name="enabled">
      <bool>false</bool>
     </property>
    </widget>
   </item>
   <item row="7" column="0" colspan="4">
    <layout class="QGridLayout" name="gridLayout_2" columnstretch="1,1,1,1">
143 144
     <item row="0" column="2">
      <widget class="QLabel" name="accelLabel">
145
       <property name="text">
146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166
        <string/>
       </property>
       <property name="alignment">
        <set>Qt::AlignCenter</set>
       </property>
      </widget>
     </item>
     <item row="0" column="1">
      <widget class="QLabel" name="gyroLabel">
       <property name="text">
        <string/>
       </property>
       <property name="alignment">
        <set>Qt::AlignCenter</set>
       </property>
      </widget>
     </item>
     <item row="1" column="1">
      <widget class="QPushButton" name="gyroButton">
       <property name="text">
        <string>Gyroscope</string>
167 168 169 170 171 172 173
       </property>
       <property name="icon">
        <iconset resource="../../../qgroundcontrol.qrc">
         <normaloff>:/files/images/px4/calibration/arrows.png</normaloff>:/files/images/px4/calibration/arrows.png</iconset>
       </property>
      </widget>
     </item>
174 175
     <item row="1" column="0">
      <widget class="QPushButton" name="magButton">
176
       <property name="text">
177
        <string>Magnetometer</string>
178 179 180 181 182 183 184
       </property>
       <property name="icon">
        <iconset resource="../../../qgroundcontrol.qrc">
         <normaloff>:/files/images/px4/calibration/arrows.png</normaloff>:/files/images/px4/calibration/arrows.png</iconset>
       </property>
      </widget>
     </item>
185
     <item row="1" column="2">
186 187 188 189 190 191 192 193 194 195
      <widget class="QPushButton" name="accelButton">
       <property name="text">
        <string>Accelerometer</string>
       </property>
       <property name="icon">
        <iconset resource="../../../qgroundcontrol.qrc">
         <normaloff>:/files/images/px4/calibration/arrows.png</normaloff>:/files/images/px4/calibration/arrows.png</iconset>
       </property>
      </widget>
     </item>
196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216
     <item row="1" column="3">
      <widget class="QPushButton" name="diffPressureButton">
       <property name="text">
        <string>Diff. pressure</string>
       </property>
       <property name="icon">
        <iconset resource="../../../qgroundcontrol.qrc">
         <normaloff>:/files/images/px4/calibration/arrows.png</normaloff>:/files/images/px4/calibration/arrows.png</iconset>
       </property>
      </widget>
     </item>
     <item row="0" column="3">
      <widget class="QLabel" name="diffPressureLabel">
       <property name="text">
        <string/>
       </property>
       <property name="alignment">
        <set>Qt::AlignCenter</set>
       </property>
      </widget>
     </item>
217 218 219 220 221 222 223 224 225 226
     <item row="0" column="0">
      <widget class="QLabel" name="magLabel">
       <property name="text">
        <string/>
       </property>
       <property name="alignment">
        <set>Qt::AlignCenter</set>
       </property>
      </widget>
     </item>
227 228
    </layout>
   </item>
229 230 231 232
   <item row="5" column="0" colspan="4">
    <widget class="QLabel" name="instructionLabel">
     <property name="text">
      <string/>
233 234 235
     </property>
    </widget>
   </item>
236 237 238 239
   <item row="7" column="4">
    <spacer name="horizontalSpacer">
     <property name="orientation">
      <enum>Qt::Horizontal</enum>
240
     </property>
241 242 243 244 245
     <property name="sizeHint" stdset="0">
      <size>
       <width>40</width>
       <height>20</height>
      </size>
246
     </property>
247
    </spacer>
248
   </item>
249 250
   <item row="2" column="0">
    <widget class="QCheckBox" name="logCheckBox">
251
     <property name="text">
252
      <string>Log</string>
Lorenz Meier's avatar
Lorenz Meier committed
253 254 255
     </property>
    </widget>
   </item>
256 257 258 259
   <item row="2" column="1">
    <spacer name="horizontalSpacer_2">
     <property name="orientation">
      <enum>Qt::Horizontal</enum>
260
     </property>
261 262 263 264 265 266 267
     <property name="sizeHint" stdset="0">
      <size>
       <width>40</width>
       <height>20</height>
      </size>
     </property>
    </spacer>
268
   </item>
269 270 271 272 273 274 275
  </layout>
 </widget>
 <resources>
  <include location="../../../qgroundcontrol.qrc"/>
 </resources>
 <connections/>
</ui>