Commit 2e5f2656 authored by Thomas Gubler's avatar Thomas Gubler

HIL: small ui tweaking

parent 9d7dba17
...@@ -10,6 +10,12 @@ ...@@ -10,6 +10,12 @@
<height>355</height> <height>355</height>
</rect> </rect>
</property> </property>
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="windowTitle"> <property name="windowTitle">
<string>Form</string> <string>Form</string>
</property> </property>
...@@ -21,7 +27,14 @@ ...@@ -21,7 +27,14 @@
</property> </property>
</widget> </widget>
</item> </item>
<item row="0" column="1" colspan="2"> <item row="3" column="0">
<widget class="QLabel" name="statusLabel">
<property name="text">
<string>Status</string>
</property>
</widget>
</item>
<item row="0" column="2">
<widget class="QComboBox" name="simComboBox"> <widget class="QComboBox" name="simComboBox">
<property name="editable"> <property name="editable">
<bool>true</bool> <bool>true</bool>
...@@ -48,7 +61,7 @@ ...@@ -48,7 +61,7 @@
</item> </item>
</widget> </widget>
</item> </item>
<item row="1" column="0" colspan="3"> <item row="2" column="0" colspan="3">
<widget class="QDockWidget" name="simulatorConfigurationDockWidget"> <widget class="QDockWidget" name="simulatorConfigurationDockWidget">
<property name="sizePolicy"> <property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred"> <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
...@@ -58,7 +71,7 @@ ...@@ -58,7 +71,7 @@
</property> </property>
<property name="minimumSize"> <property name="minimumSize">
<size> <size>
<width>33</width> <width>20</width>
<height>150</height> <height>150</height>
</size> </size>
</property> </property>
...@@ -68,15 +81,15 @@ ...@@ -68,15 +81,15 @@
<property name="windowTitle"> <property name="windowTitle">
<string>Simulator Options</string> <string>Simulator Options</string>
</property> </property>
<widget class="QWidget" name="dockWidgetContents"/> <widget class="QWidget" name="dockWidgetContents">
</widget> <property name="sizePolicy">
</item> <sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred">
<item row="2" column="0"> <horstretch>0</horstretch>
<widget class="QLabel" name="statusLabel"> <verstretch>0</verstretch>
<property name="text"> </sizepolicy>
<string>Status</string>
</property> </property>
</widget> </widget>
</widget>
</item> </item>
</layout> </layout>
</widget> </widget>
......
...@@ -6,12 +6,12 @@ ...@@ -6,12 +6,12 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>350</width> <width>190</width>
<height>261</height> <height>246</height>
</rect> </rect>
</property> </property>
<property name="sizePolicy"> <property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Expanding"> <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<horstretch>0</horstretch> <horstretch>0</horstretch>
<verstretch>0</verstretch> <verstretch>0</verstretch>
</sizepolicy> </sizepolicy>
...@@ -19,62 +19,73 @@ ...@@ -19,62 +19,73 @@
<property name="windowTitle"> <property name="windowTitle">
<string>Form</string> <string>Form</string>
</property> </property>
<widget class="QWidget" name="gridLayoutWidget"> <property name="layoutDirection">
<property name="geometry"> <enum>Qt::LeftToRight</enum>
<rect>
<x>10</x>
<y>0</y>
<width>331</width>
<height>261</height>
</rect>
</property> </property>
<layout class="QGridLayout" name="gridLayout"> <property name="autoFillBackground">
<property name="margin"> <bool>false</bool>
<number>9</number>
</property> </property>
<item row="2" column="0"> <layout class="QGridLayout" name="gridLayout" rowminimumheight="0,0,0,0,0,0">
<widget class="QPlainTextEdit" name="optionsPlainTextEdit"> <property name="margin">
<property name="plainText"> <number>0</number>
<string>--in-air --roll=0 --pitch=0 --vc=90 --heading=300 --timeofday=noon --disable-hud-3d --disable-fullscreen --geometry=400x300 --disable-anti-alias-hud --wind=0@0 --turbulence=0.0 --prop:/sim/frame-rate-throttle-hz=30 --control=mouse --disable-intro-music --disable-sound --disable-random-objects --disable-ai-models --shading-flat --fog-disable --disable-specular-highlight --disable-random-objects --disable-panel --disable-clouds --fdm=jsb --units-meters --notrim --prop:/engines/engine/running=true</string>
</property> </property>
</widget> <property name="spacing">
</item> <number>6</number>
<item row="4" column="0">
<spacer name="verticalSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property> </property>
<property name="sizeHint" stdset="0"> <item row="5" column="0">
<size> <widget class="QPushButton" name="startButton">
<width>20</width> <property name="sizePolicy">
<height>68</height> <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
</size> <horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property> </property>
</spacer>
</item>
<item row="1" column="0">
<widget class="QLabel" name="plaintextInfoLabel">
<property name="text"> <property name="text">
<string>Additional Options:</string> <string>Start</string>
</property> </property>
</widget> </widget>
</item> </item>
<item row="3" column="0"> <item row="0" column="0">
<widget class="QPushButton" name="startButton"> <widget class="QLabel" name="aircraftPlaintextInfoLabel">
<property name="text"> <property name="text">
<string>Start</string> <string>Airframe:</string>
</property> </property>
</widget> </widget>
</item> </item>
<item row="0" column="0"> <item row="1" column="0">
<widget class="QComboBox" name="aircraftComboBox"> <widget class="QComboBox" name="aircraftComboBox">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="editable"> <property name="editable">
<bool>true</bool> <bool>true</bool>
</property> </property>
</widget> </widget>
</item> </item>
</layout> <item row="2" column="0">
<widget class="QLabel" name="optionsLabel">
<property name="text">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Additional Options:&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
</widget>
</item>
<item row="3" column="0">
<widget class="QPlainTextEdit" name="optionsPlainTextEdit">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="plainText">
<string>--in-air --roll=0 --pitch=0 --vc=90 --heading=300 --timeofday=noon --disable-hud-3d --disable-fullscreen --geometry=400x300 --disable-anti-alias-hud --wind=0@0 --turbulence=0.0 --prop:/sim/frame-rate-throttle-hz=30 --control=mouse --disable-intro-music --disable-sound --disable-random-objects --disable-ai-models --shading-flat --fog-disable --disable-specular-highlight --disable-random-objects --disable-panel --disable-clouds --fdm=jsb --units-meters --notrim --prop:/engines/engine/running=true</string>
</property>
</widget> </widget>
</item>
</layout>
</widget> </widget>
<resources/> <resources/>
<connections/> <connections/>
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>305</width> <width>243</width>
<height>261</height> <height>261</height>
</rect> </rect>
</property> </property>
...@@ -14,6 +14,9 @@ ...@@ -14,6 +14,9 @@
<string>Form</string> <string>Form</string>
</property> </property>
<layout class="QGridLayout" name="gridLayout" columnstretch="40,0,0,0"> <layout class="QGridLayout" name="gridLayout" columnstretch="40,0,0,0">
<property name="margin">
<number>0</number>
</property>
<item row="0" column="0"> <item row="0" column="0">
<widget class="QLabel" name="label"> <widget class="QLabel" name="label">
<property name="text"> <property name="text">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment