mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-21 12:55:31 +08:00
UI adjustments
This commit is contained in:
@@ -6,8 +6,8 @@
|
|||||||
<rect>
|
<rect>
|
||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>336</width>
|
<width>356</width>
|
||||||
<height>443</height>
|
<height>500</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="windowTitle">
|
<property name="windowTitle">
|
||||||
@@ -41,8 +41,8 @@
|
|||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<widget class="QFrame" name="gl_Models">
|
<widget class="QFrame" name="gl_FirstModelSet">
|
||||||
<layout class="QGridLayout" name="gridLayout">
|
<layout class="QVBoxLayout" name="vl_FirstModelSet">
|
||||||
<property name="leftMargin">
|
<property name="leftMargin">
|
||||||
<number>5</number>
|
<number>5</number>
|
||||||
</property>
|
</property>
|
||||||
@@ -55,99 +55,66 @@
|
|||||||
<property name="bottomMargin">
|
<property name="bottomMargin">
|
||||||
<number>5</number>
|
<number>5</number>
|
||||||
</property>
|
</property>
|
||||||
<property name="verticalSpacing">
|
<item>
|
||||||
<number>10</number>
|
<widget class="QGroupBox" name="gb_Simulator">
|
||||||
|
<property name="title">
|
||||||
|
<string>Simulator</string>
|
||||||
</property>
|
</property>
|
||||||
<item row="0" column="1" alignment="Qt::AlignLeft">
|
<layout class="QHBoxLayout" name="hl_Simulator">
|
||||||
<widget class="BlackGui::Components::CSimulatorSelector" name="comp_SimulatorSelector"/>
|
<item>
|
||||||
</item>
|
<widget class="BlackGui::Components::CSimulatorSelector" name="comp_SimulatorSelector">
|
||||||
<item row="3" column="0">
|
<property name="minimumSize">
|
||||||
<widget class="QLabel" name="lbl_ModelSet">
|
<size>
|
||||||
<property name="text">
|
<width>100</width>
|
||||||
<string>Model set</string>
|
<height>0</height>
|
||||||
|
</size>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item row="2" column="3">
|
<item>
|
||||||
<widget class="QPushButton" name="pb_ModelsTriggerReload">
|
<spacer name="hs_Simulator">
|
||||||
<property name="text">
|
<property name="orientation">
|
||||||
<string> reload </string>
|
<enum>Qt::Horizontal</enum>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="sizeHint" stdset="0">
|
||||||
|
<size>
|
||||||
|
<width>40</width>
|
||||||
|
<height>20</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
</spacer>
|
||||||
|
</item>
|
||||||
|
</layout>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item row="1" column="1">
|
<item>
|
||||||
<widget class="QLineEdit" name="le_ModelDirectories">
|
<widget class="QGroupBox" name="gb_Models">
|
||||||
<property name="readOnly">
|
<property name="title">
|
||||||
<bool>true</bool>
|
<string>Models</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="placeholderText">
|
<layout class="QGridLayout" name="gl_Models">
|
||||||
<string>model directory from settings</string>
|
<item row="1" column="0">
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
</item>
|
|
||||||
<item row="3" column="1">
|
|
||||||
<widget class="QLineEdit" name="le_ModelSetInfo">
|
|
||||||
<property name="readOnly">
|
|
||||||
<bool>true</bool>
|
|
||||||
</property>
|
|
||||||
<property name="placeholderText">
|
|
||||||
<string>model set info</string>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
</item>
|
|
||||||
<item row="2" column="1">
|
|
||||||
<widget class="QLineEdit" name="le_ModelsInfo">
|
|
||||||
<property name="readOnly">
|
|
||||||
<bool>true</bool>
|
|
||||||
</property>
|
|
||||||
<property name="placeholderText">
|
|
||||||
<string>model info</string>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
</item>
|
|
||||||
<item row="2" column="0">
|
|
||||||
<widget class="QLabel" name="lbl_Models">
|
<widget class="QLabel" name="lbl_Models">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Models:</string>
|
<string>Models:</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item row="1" column="0">
|
<item row="0" column="0">
|
||||||
<widget class="QLabel" name="lbl_ModelDirectories">
|
<widget class="QLabel" name="lbl_ModelDirectories">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Model dir.:</string>
|
<string>Model dir.:</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item row="0" column="0">
|
<item row="0" column="3">
|
||||||
<widget class="QLabel" name="lbl_Simulator">
|
|
||||||
<property name="text">
|
|
||||||
<string>Simulator:</string>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
</item>
|
|
||||||
<item row="2" column="2">
|
|
||||||
<widget class="QPushButton" name="pb_Models">
|
|
||||||
<property name="text">
|
|
||||||
<string>display</string>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
</item>
|
|
||||||
<item row="3" column="3">
|
|
||||||
<widget class="QPushButton" name="pb_CreateModelSet">
|
|
||||||
<property name="text">
|
|
||||||
<string>create</string>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
</item>
|
|
||||||
<item row="1" column="3">
|
|
||||||
<widget class="QPushButton" name="pb_ChangeModelDir">
|
<widget class="QPushButton" name="pb_ChangeModelDir">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>change</string>
|
<string>change</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item row="1" column="2">
|
<item row="0" column="2">
|
||||||
<widget class="QPushButton" name="pb_ClearModelDir">
|
<widget class="QPushButton" name="pb_ClearModelDir">
|
||||||
<property name="toolTip">
|
<property name="toolTip">
|
||||||
<string>clear directory or multiple directories</string>
|
<string>clear directory or multiple directories</string>
|
||||||
@@ -157,7 +124,51 @@
|
|||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item row="3" column="2">
|
<item row="0" column="1">
|
||||||
|
<widget class="QLineEdit" name="le_ModelDirectories">
|
||||||
|
<property name="readOnly">
|
||||||
|
<bool>true</bool>
|
||||||
|
</property>
|
||||||
|
<property name="placeholderText">
|
||||||
|
<string>model directory from settings</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item row="2" column="0">
|
||||||
|
<widget class="QLabel" name="lbl_ModelSet">
|
||||||
|
<property name="text">
|
||||||
|
<string>Model set</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item row="1" column="1">
|
||||||
|
<widget class="QLineEdit" name="le_ModelsInfo">
|
||||||
|
<property name="readOnly">
|
||||||
|
<bool>true</bool>
|
||||||
|
</property>
|
||||||
|
<property name="placeholderText">
|
||||||
|
<string>model info</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item row="2" column="1">
|
||||||
|
<widget class="QLineEdit" name="le_ModelSetInfo">
|
||||||
|
<property name="readOnly">
|
||||||
|
<bool>true</bool>
|
||||||
|
</property>
|
||||||
|
<property name="placeholderText">
|
||||||
|
<string>model set info</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item row="1" column="2">
|
||||||
|
<widget class="QPushButton" name="pb_Models">
|
||||||
|
<property name="text">
|
||||||
|
<string>display</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item row="2" column="2">
|
||||||
<widget class="QPushButton" name="pb_ModelSet">
|
<widget class="QPushButton" name="pb_ModelSet">
|
||||||
<property name="minimumSize">
|
<property name="minimumSize">
|
||||||
<size>
|
<size>
|
||||||
@@ -170,27 +181,31 @@
|
|||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item row="4" column="0" colspan="4">
|
<item row="1" column="3">
|
||||||
|
<widget class="QPushButton" name="pb_ModelsTriggerReload">
|
||||||
|
<property name="text">
|
||||||
|
<string> reload </string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item row="2" column="3">
|
||||||
|
<widget class="QPushButton" name="pb_CreateModelSet">
|
||||||
|
<property name="text">
|
||||||
|
<string>create</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
</layout>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
<widget class="QGroupBox" name="gb_Distributors">
|
<widget class="QGroupBox" name="gb_Distributors">
|
||||||
<property name="title">
|
<property name="title">
|
||||||
<string>Distributions</string>
|
<string>Distributions</string>
|
||||||
</property>
|
</property>
|
||||||
<layout class="QVBoxLayout" name="vl_Distributors">
|
<layout class="QVBoxLayout" name="verticalLayout_2">
|
||||||
<item>
|
<item>
|
||||||
<widget class="BlackGui::Components::CDbDistributorComponent" name="comp_Distributors">
|
<widget class="BlackGui::Components::CDbDistributorComponent" name="comp_Distributors"/>
|
||||||
<property name="sizePolicy">
|
|
||||||
<sizepolicy hsizetype="Preferred" vsizetype="Expanding">
|
|
||||||
<horstretch>0</horstretch>
|
|
||||||
<verstretch>0</verstretch>
|
|
||||||
</sizepolicy>
|
|
||||||
</property>
|
|
||||||
<property name="minimumSize">
|
|
||||||
<size>
|
|
||||||
<width>0</width>
|
|
||||||
<height>150</height>
|
|
||||||
</size>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
</item>
|
</item>
|
||||||
</layout>
|
</layout>
|
||||||
</widget>
|
</widget>
|
||||||
@@ -214,17 +229,6 @@
|
|||||||
<container>1</container>
|
<container>1</container>
|
||||||
</customwidget>
|
</customwidget>
|
||||||
</customwidgets>
|
</customwidgets>
|
||||||
<tabstops>
|
|
||||||
<tabstop>le_ModelDirectories</tabstop>
|
|
||||||
<tabstop>pb_ClearModelDir</tabstop>
|
|
||||||
<tabstop>pb_ChangeModelDir</tabstop>
|
|
||||||
<tabstop>le_ModelsInfo</tabstop>
|
|
||||||
<tabstop>pb_Models</tabstop>
|
|
||||||
<tabstop>pb_ModelsTriggerReload</tabstop>
|
|
||||||
<tabstop>le_ModelSetInfo</tabstop>
|
|
||||||
<tabstop>pb_ModelSet</tabstop>
|
|
||||||
<tabstop>pb_CreateModelSet</tabstop>
|
|
||||||
</tabstops>
|
|
||||||
<resources/>
|
<resources/>
|
||||||
<connections/>
|
<connections/>
|
||||||
</ui>
|
</ui>
|
||||||
|
|||||||
@@ -2,6 +2,14 @@
|
|||||||
<ui version="4.0">
|
<ui version="4.0">
|
||||||
<class>CSettingsSimulatorBasicsComponent</class>
|
<class>CSettingsSimulatorBasicsComponent</class>
|
||||||
<widget class="QFrame" name="CSettingsSimulatorBasicsComponent">
|
<widget class="QFrame" name="CSettingsSimulatorBasicsComponent">
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>0</x>
|
||||||
|
<y>0</y>
|
||||||
|
<width>472</width>
|
||||||
|
<height>355</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
<property name="windowTitle">
|
<property name="windowTitle">
|
||||||
<string>Simulator basic settings</string>
|
<string>Simulator basic settings</string>
|
||||||
</property>
|
</property>
|
||||||
@@ -64,11 +72,11 @@
|
|||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item row="0" column="1" colspan="2">
|
<item row="0" column="1" colspan="2" alignment="Qt::AlignLeft">
|
||||||
<widget class="BlackGui::Components::CSimulatorSelector" name="comp_SimulatorSelector">
|
<widget class="BlackGui::Components::CSimulatorSelector" name="comp_SimulatorSelector">
|
||||||
<property name="minimumSize">
|
<property name="minimumSize">
|
||||||
<size>
|
<size>
|
||||||
<width>0</width>
|
<width>150</width>
|
||||||
<height>25</height>
|
<height>25</height>
|
||||||
</size>
|
</size>
|
||||||
</property>
|
</property>
|
||||||
|
|||||||
Reference in New Issue
Block a user