QGCPX4SensorCalibration.ui 4.16 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38
<?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>
    <width>531</width>
    <height>448</height>
   </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;
}

QPushButton#gyroButton, QPushButton#accelButton {
   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
  <layout class="QGridLayout" name="gridLayout" rowstretch="1,20,3,2,1,1,0" columnstretch="30,15,5">
   <item row="6" column="2">
    <spacer name="horizontalSpacer">
     <property name="orientation">
      <enum>Qt::Horizontal</enum>
44
     </property>
45 46 47 48 49
     <property name="sizeHint" stdset="0">
      <size>
       <width>40</width>
       <height>20</height>
      </size>
50
     </property>
51
    </spacer>
52
   </item>
53
   <item row="4" column="0" colspan="3">
54 55 56 57 58 59 60 61 62 63 64 65
    <spacer name="verticalSpacer">
     <property name="orientation">
      <enum>Qt::Vertical</enum>
     </property>
     <property name="sizeHint" stdset="0">
      <size>
       <width>498</width>
       <height>21</height>
      </size>
     </property>
    </spacer>
   </item>
66 67 68 69 70 71 72 73
   <item row="3" column="0" colspan="2">
    <widget class="QLabel" name="instructionLabel">
     <property name="text">
      <string/>
     </property>
    </widget>
   </item>
   <item row="5" column="0" colspan="3">
74 75 76 77 78 79
    <widget class="QProgressBar" name="progressBar">
     <property name="value">
      <number>24</number>
     </property>
    </widget>
   </item>
80 81 82 83
   <item row="0" column="1" rowspan="2" colspan="2">
    <widget class="QPlainTextEdit" name="textView"/>
   </item>
   <item row="6" column="0" colspan="2">
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
    <layout class="QHBoxLayout" name="horizontalLayout">
     <item>
      <widget class="QPushButton" name="magButton">
       <property name="text">
        <string>Magnetometer</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>
      <widget class="QPushButton" name="gyroButton">
       <property name="text">
        <string>Gyroscope</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>
      <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>
    </layout>
   </item>
Lorenz Meier's avatar
Lorenz Meier committed
120 121 122 123 124 125 126 127
   <item row="2" column="0" colspan="3">
    <widget class="QLabel" name="calibrationExplanationLabel">
     <property name="text">
      <string>To calibrate the system, execute the three calibration steps below.</string>
     </property>
    </widget>
   </item>
   <item row="0" column="0" rowspan="2">
128 129 130
    <widget class="QLabel" name="iconLabel">
     <property name="text">
      <string/>
131
     </property>
132 133
     <property name="scaledContents">
      <bool>true</bool>
134
     </property>
135 136
    </widget>
   </item>
137 138 139 140 141 142 143
  </layout>
 </widget>
 <resources>
  <include location="../../../qgroundcontrol.qrc"/>
 </resources>
 <connections/>
</ui>