You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
275 lines
7.8 KiB
275 lines
7.8 KiB
<?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>659</width> |
|
<height>636</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, QPushButton#diffPressureButton { |
|
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="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> |
|
</item> |
|
<item row="6" column="2" colspan="4"> |
|
<spacer name="verticalSpacer"> |
|
<property name="orientation"> |
|
<enum>Qt::Vertical</enum> |
|
</property> |
|
<property name="sizeHint" stdset="0"> |
|
<size> |
|
<width>498</width> |
|
<height>5</height> |
|
</size> |
|
</property> |
|
</spacer> |
|
</item> |
|
<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"> |
|
<item row="0" column="2"> |
|
<widget class="QLabel" name="accelLabel"> |
|
<property name="text"> |
|
<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> |
|
</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="1" column="0"> |
|
<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 row="1" column="2"> |
|
<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> |
|
<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> |
|
<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> |
|
</layout> |
|
</item> |
|
<item row="5" column="0" colspan="4"> |
|
<widget class="QLabel" name="instructionLabel"> |
|
<property name="text"> |
|
<string/> |
|
</property> |
|
</widget> |
|
</item> |
|
<item row="7" column="4"> |
|
<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> |
|
<item row="2" column="0"> |
|
<widget class="QCheckBox" name="logCheckBox"> |
|
<property name="text"> |
|
<string>Log</string> |
|
</property> |
|
</widget> |
|
</item> |
|
<item row="2" column="1"> |
|
<spacer name="horizontalSpacer_2"> |
|
<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>
|
|
|