QGCPX4SensorCalibration.ui 4.15 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 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 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
<?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>
  <layout class="QGridLayout" name="gridLayout" rowstretch="1,20,3,2,1,1" columnstretch="30,15,5">
   <item row="0" column="0">
    <widget class="QLabel" name="titleLabel">
     <property name="text">
      <string>Magnetometer Calibration</string>
     </property>
    </widget>
   </item>
   <item row="0" column="1" rowspan="2" colspan="2">
    <widget class="QPlainTextEdit" name="textView"/>
   </item>
   <item row="1" column="0">
    <widget class="QLabel" name="iconLabel">
     <property name="text">
      <string/>
     </property>
     <property name="scaledContents">
      <bool>true</bool>
     </property>
    </widget>
   </item>
   <item row="2" column="0" colspan="2">
    <widget class="QLabel" name="instructionLabel">
     <property name="text">
      <string>To calibrate the system, execute the three calibration steps below.</string>
     </property>
    </widget>
   </item>
   <item row="3" column="0" colspan="3">
    <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>
   <item row="4" column="0" colspan="3">
    <widget class="QProgressBar" name="progressBar">
     <property name="value">
      <number>24</number>
     </property>
    </widget>
   </item>
   <item row="5" column="0" colspan="2">
    <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>
   <item row="5" column="2">
    <spacer name="horizontalSpacer">
     <property name="orientation">
      <enum>Qt::Horizontal</enum>
     </property>
     <property name="sizeHint" stdset="0">
      <size>
       <width>40</width>
       <height>20</height>
      </size>
     </property>
    </spacer>
   </item>
  </layout>
 </widget>
 <resources>
  <include location="../../../qgroundcontrol.qrc"/>
 </resources>
 <connections/>
</ui>