mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-06 01:45:38 +08:00
* currently working only for alpha directory * 1st version, maybe currently too much logic (download etc.) in an UI component
196 lines
6.6 KiB
XML
196 lines
6.6 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>CInstallXSwiftBusComponent</class>
|
|
<widget class="QFrame" name="CInstallXSwiftBusComponent">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>600</width>
|
|
<height>400</height>
|
|
</rect>
|
|
</property>
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>600</width>
|
|
<height>400</height>
|
|
</size>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>Install XSwiftBus</string>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="vl_XSwiftBusComponent">
|
|
<item>
|
|
<widget class="QFrame" name="fr_Info">
|
|
<layout class="QHBoxLayout" name="hl_XSwiftBusIndo" stretch="1,2">
|
|
<property name="spacing">
|
|
<number>10</number>
|
|
</property>
|
|
<property name="leftMargin">
|
|
<number>6</number>
|
|
</property>
|
|
<property name="topMargin">
|
|
<number>6</number>
|
|
</property>
|
|
<property name="rightMargin">
|
|
<number>6</number>
|
|
</property>
|
|
<property name="bottomMargin">
|
|
<number>6</number>
|
|
</property>
|
|
<item>
|
|
<widget class="QLabel" name="lbl_XplaneIcon">
|
|
<property name="text">
|
|
<string><html><img src=":/simulators/icons/simulators/XPlane.png" width=200></html></string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="lbl_Explaination">
|
|
<property name="text">
|
|
<string><html><head/><body><p><span style=" font-size:9pt; font-style:italic;">XSwiftBus</span><span style=" font-size:9pt;"> is an X-Plane plugin that allows X-Plane and </span><span style=" font-size:9pt; font-style:italic;">swift</span><span style=" font-size:9pt;"> to communicate with each other. If you want to use </span><span style=" font-size:9pt; font-style:italic;">swift</span><span style=" font-size:9pt;"> with X-Plane you will need to install </span><span style=" font-size:9pt; font-style:italic;">XSwiftBus</span><span style=" font-size:9pt;">. Download </span><span style=" font-size:9pt; font-style:italic;">XSwiftBus</span><span style=" font-size:9pt;"> and extract it into the </span><span style=" font-size:9pt; text-decoration: underline;">X-Plane/Resources/plugins</span><span style=" font-size:9pt;"> folder.</span></p></body></html></string>
|
|
</property>
|
|
<property name="textFormat">
|
|
<enum>Qt::RichText</enum>
|
|
</property>
|
|
<property name="wordWrap">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QGroupBox" name="gb_DownloadAndInstall">
|
|
<property name="title">
|
|
<string>Download and install XSwiftBus</string>
|
|
</property>
|
|
<layout class="QGridLayout" name="gridLayout">
|
|
<item row="0" column="1">
|
|
<widget class="QLineEdit" name="le_XSwiftBusPluginDir">
|
|
<property name="placeholderText">
|
|
<string>X-Plane/Resources/plugins</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="1">
|
|
<widget class="QComboBox" name="cb_DownloadFile"/>
|
|
</item>
|
|
<item row="2" column="0">
|
|
<widget class="QLabel" name="lbl_Version">
|
|
<property name="text">
|
|
<string>Version:</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="0">
|
|
<widget class="QLabel" name="lbl_XSwiftBusPluginDir">
|
|
<property name="text">
|
|
<string>Install directory:</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="1">
|
|
<widget class="QLineEdit" name="le_DownloadDir"/>
|
|
</item>
|
|
<item row="1" column="0">
|
|
<widget class="QLabel" name="lbl_DownloadDirectory">
|
|
<property name="text">
|
|
<string>Download directory:</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="2" colspan="2">
|
|
<widget class="QPushButton" name="pb_Download">
|
|
<property name="toolTip">
|
|
<string>download and install</string>
|
|
</property>
|
|
<property name="text">
|
|
<string> download</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="3">
|
|
<widget class="QPushButton" name="pb_DialogDownloadDir">
|
|
<property name="text">
|
|
<string>...</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="3">
|
|
<widget class="QPushButton" name="pb_DialogInstallDir">
|
|
<property name="text">
|
|
<string>...</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="2">
|
|
<widget class="QPushButton" name="pb_OpenInstallDir">
|
|
<property name="text">
|
|
<string>open</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="2">
|
|
<widget class="QPushButton" name="pb_OpenDownloadDir">
|
|
<property name="text">
|
|
<string>open</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QGroupBox" name="gb_XSwiftBusSettings">
|
|
<property name="title">
|
|
<string>XSwiftBusSettings</string>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout_2">
|
|
<item>
|
|
<widget class="BlackGui::Components::CSettingsXSwiftBusComponent" name="comp_SettingsXSwiftBus">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>0</width>
|
|
<height>25</height>
|
|
</size>
|
|
</property>
|
|
<property name="frameShape">
|
|
<enum>QFrame::StyledPanel</enum>
|
|
</property>
|
|
<property name="frameShadow">
|
|
<enum>QFrame::Raised</enum>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<spacer name="vs_XSwiftBusComponent">
|
|
<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>
|
|
<customwidgets>
|
|
<customwidget>
|
|
<class>BlackGui::Components::CSettingsXSwiftBusComponent</class>
|
|
<extends>QFrame</extends>
|
|
<header>blackgui/components/settingsxswiftbuscomponent.h</header>
|
|
<container>1</container>
|
|
</customwidget>
|
|
</customwidgets>
|
|
<resources/>
|
|
<connections/>
|
|
</ui>
|