Files
sil/mainwindow.ui
T
2020-12-14 21:30:15 +08:00

492 lines
14 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>MainWindow</class>
<widget class="QMainWindow" name="MainWindow">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>800</width>
<height>1000</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>800</width>
<height>1000</height>
</size>
</property>
<property name="windowTitle">
<string>Proj41 HIL</string>
</property>
<widget class="QWidget" name="centralwidget">
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="QTabWidget" name="tabWidget">
<property name="currentIndex">
<number>0</number>
</property>
<widget class="QWidget" name="tab">
<attribute name="title">
<string>Setting</string>
</attribute>
<layout class="QVBoxLayout" name="verticalLayout_2" stretch="0,0,0,1">
<item>
<layout class="QFormLayout" name="formLayout">
<item row="1" column="0">
<widget class="QLabel" name="label">
<property name="text">
<string>Latitude</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QLineEdit" name="lineEditLat"/>
</item>
<item row="2" column="0">
<widget class="QLabel" name="label_2">
<property name="text">
<string>Longitude</string>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QLineEdit" name="lineEditLon"/>
</item>
<item row="3" column="0">
<widget class="QLabel" name="label_3">
<property name="text">
<string>Ground Height</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item row="3" column="1">
<widget class="QLineEdit" name="lineEditAlt"/>
</item>
<item row="4" column="1">
<widget class="QLineEdit" name="lineEditHdg"/>
</item>
<item row="4" column="0">
<widget class="QLabel" name="label_4">
<property name="text">
<string>heading</string>
</property>
</widget>
</item>
<item row="0" column="0">
<widget class="QRadioButton" name="radioButtonOnGround">
<property name="text">
<string>On Ground</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QRadioButton" name="radioButtonInAir">
<property name="text">
<string>In Air</string>
</property>
</widget>
</item>
<item row="5" column="0">
<widget class="QLabel" name="label_7">
<property name="text">
<string>Speed</string>
</property>
</widget>
</item>
<item row="5" column="1">
<widget class="QLineEdit" name="lineEditSpeed">
<property name="enabled">
<bool>false</bool>
</property>
</widget>
</item>
<item row="6" column="0">
<widget class="QLabel" name="label_8">
<property name="text">
<string>AGL</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item row="6" column="1">
<widget class="QLineEdit" name="lineEditAGL">
<property name="enabled">
<bool>false</bool>
</property>
</widget>
</item>
</layout>
</item>
<item>
<widget class="QTableWidget" name="tableWidget">
<property name="minimumSize">
<size>
<width>0</width>
<height>0</height>
</size>
</property>
<property name="rowCount">
<number>10</number>
</property>
<property name="columnCount">
<number>2</number>
</property>
<row/>
<row/>
<row/>
<row/>
<row/>
<row/>
<row/>
<row/>
<row/>
<row/>
<column/>
<column/>
</widget>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<widget class="QPushButton" name="pushButton_import">
<property name="text">
<string>Import</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pushButton_export">
<property name="text">
<string>Export</string>
</property>
</widget>
</item>
</layout>
</item>
<item>
<widget class="QPushButton" name="pushButton_start">
<property name="text">
<string>Start</string>
</property>
</widget>
</item>
</layout>
</widget>
<widget class="QWidget" name="tab_2">
<attribute name="title">
<string>Monitor</string>
</attribute>
<layout class="QVBoxLayout" name="verticalLayout_4">
<item>
<widget class="QPushButton" name="pushButtonLaunch">
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>Launch</string>
</property>
</widget>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_2" stretch="0,1">
<item>
<widget class="QLabel" name="label_5">
<property name="text">
<string>Acceleration Times</string>
</property>
</widget>
</item>
<item>
<widget class="QSlider" name="horizontalSliderTimes">
<property name="minimum">
<number>1</number>
</property>
<property name="maximum">
<number>10</number>
</property>
<property name="pageStep">
<number>2</number>
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="tickPosition">
<enum>QSlider::TicksBelow</enum>
</property>
<property name="tickInterval">
<number>1</number>
</property>
</widget>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_3">
<item>
<widget class="QLabel" name="label_6">
<property name="text">
<string>mass=</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="lineEditMass">
<property name="minimumSize">
<size>
<width>100</width>
<height>0</height>
</size>
</property>
<property name="baseSize">
<size>
<width>0</width>
<height>0</height>
</size>
</property>
</widget>
</item>
</layout>
</item>
<item>
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="0">
<widget class="QCheckBox" name="checkBoxTurbine">
<property name="text">
<string>Turbine</string>
</property>
<property name="checked">
<bool>false</bool>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QLineEdit" name="lineEditRPM"/>
</item>
<item row="1" column="0">
<widget class="QCheckBox" name="checkBoxDel">
<property name="text">
<string>Left Elevator</string>
</property>
<property name="checked">
<bool>false</bool>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QLineEdit" name="lineEditDel"/>
</item>
<item row="2" column="0">
<widget class="QCheckBox" name="checkBoxDer">
<property name="text">
<string>Right Elevator</string>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QLineEdit" name="lineEditDer"/>
</item>
<item row="3" column="0">
<widget class="QCheckBox" name="checkBoxDr">
<property name="text">
<string>Rudder</string>
</property>
</widget>
</item>
<item row="3" column="1">
<widget class="QLineEdit" name="lineEditDr"/>
</item>
<item row="4" column="0" rowspan="2">
<widget class="QCheckBox" name="checkBoxDal">
<property name="text">
<string>Left Aileron</string>
</property>
</widget>
</item>
<item row="4" column="1">
<widget class="QLineEdit" name="lineEditDal"/>
</item>
<item row="5" column="1" rowspan="2">
<widget class="QLineEdit" name="lineEditDar"/>
</item>
<item row="6" column="0">
<widget class="QCheckBox" name="checkBoxDar">
<property name="text">
<string>Right Aileron</string>
</property>
</widget>
</item>
</layout>
</item>
<item>
<spacer name="verticalSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
</widget>
</item>
</layout>
</widget>
<widget class="QMenuBar" name="menubar">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>800</width>
<height>21</height>
</rect>
</property>
</widget>
<widget class="QStatusBar" name="statusbar"/>
</widget>
<resources/>
<connections>
<connection>
<sender>pushButton_start</sender>
<signal>clicked()</signal>
<receiver>MainWindow</receiver>
<slot>onFire()</slot>
<hints>
<hint type="sourcelabel">
<x>101</x>
<y>738</y>
</hint>
<hint type="destinationlabel">
<x>376</x>
<y>775</y>
</hint>
</hints>
</connection>
<connection>
<sender>pushButton_import</sender>
<signal>clicked()</signal>
<receiver>MainWindow</receiver>
<slot>onImport()</slot>
<hints>
<hint type="sourcelabel">
<x>120</x>
<y>730</y>
</hint>
<hint type="destinationlabel">
<x>246</x>
<y>771</y>
</hint>
</hints>
</connection>
<connection>
<sender>pushButton_export</sender>
<signal>clicked()</signal>
<receiver>MainWindow</receiver>
<slot>onExport()</slot>
<hints>
<hint type="sourcelabel">
<x>402</x>
<y>730</y>
</hint>
<hint type="destinationlabel">
<x>516</x>
<y>775</y>
</hint>
</hints>
</connection>
<connection>
<sender>horizontalSliderTimes</sender>
<signal>valueChanged(int)</signal>
<receiver>MainWindow</receiver>
<slot>onTimes(int)</slot>
<hints>
<hint type="sourcelabel">
<x>322</x>
<y>109</y>
</hint>
<hint type="destinationlabel">
<x>222</x>
<y>25</y>
</hint>
</hints>
</connection>
<connection>
<sender>pushButtonLaunch</sender>
<signal>clicked()</signal>
<receiver>MainWindow</receiver>
<slot>onFire()</slot>
<hints>
<hint type="sourcelabel">
<x>388</x>
<y>74</y>
</hint>
<hint type="destinationlabel">
<x>419</x>
<y>24</y>
</hint>
</hints>
</connection>
<connection>
<sender>radioButtonOnGround</sender>
<signal>clicked()</signal>
<receiver>MainWindow</receiver>
<slot>onAG()</slot>
<hints>
<hint type="sourcelabel">
<x>74</x>
<y>69</y>
</hint>
<hint type="destinationlabel">
<x>124</x>
<y>23</y>
</hint>
</hints>
</connection>
<connection>
<sender>radioButtonInAir</sender>
<signal>clicked()</signal>
<receiver>MainWindow</receiver>
<slot>onAG()</slot>
<hints>
<hint type="sourcelabel">
<x>148</x>
<y>74</y>
</hint>
<hint type="destinationlabel">
<x>224</x>
<y>21</y>
</hint>
</hints>
</connection>
</connections>
<slots>
<slot>onFire()</slot>
<slot>onImport()</slot>
<slot>onExport()</slot>
<slot>onTimes(int)</slot>
<slot>onAG()</slot>
</slots>
</ui>