mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-12 15:25:34 +08:00
refs #304, changed font settings
* QFontDialog is not working, as it is affected by the style sheets itself * Added font settings to the GUI settings tab * Added font color dialog for fonts * Several utility methods
This commit is contained in:
@@ -72,6 +72,12 @@
|
||||
<layout class="QHBoxLayout" name="hl_SettingsSimconnectCfgButtons">
|
||||
<item>
|
||||
<widget class="QPushButton" name="pb_SettingsFsxOpenSimconnectCfg">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Open</string>
|
||||
</property>
|
||||
@@ -79,6 +85,12 @@
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QPushButton" name="pb_SettingsFsxDeleteSimconnectCfg">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Delete</string>
|
||||
</property>
|
||||
@@ -86,6 +98,12 @@
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QPushButton" name="pb_SettingsFsxSaveSimconnectCfg">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Save</string>
|
||||
</property>
|
||||
@@ -93,8 +111,14 @@
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QPushButton" name="pb_SettingsFsxTestConnection">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Test connection</string>
|
||||
<string extracomment="Test connection">Test con.</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
@@ -134,6 +158,12 @@
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QPushButton" name="pb_SettingsFsxExistsSimconncetCfg">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Check</string>
|
||||
</property>
|
||||
|
||||
Reference in New Issue
Block a user