mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-04 16:56:53 +08:00
refs #912, added hotkey settings to wizard
This commit is contained in:
committed by
Mathew Sutcliffe
parent
946795a35f
commit
e4c7a2b77f
@@ -23,6 +23,8 @@ namespace BlackGui
|
||||
ui->wp_CopySettings->setConfigComponent(ui->comp_CopySettings);
|
||||
ui->wp_Simulator->setConfigComponent(ui->comp_Simulator);
|
||||
ui->wp_DataLoad->setConfigComponent(ui->comp_DataLoad);
|
||||
ui->wp_Hotkeys->setConfigComponent(ui->comp_Hotkeys);
|
||||
ui->comp_Hotkeys->registerDummyPttEntry();
|
||||
this->setButtonText(CustomButton1, "skip");
|
||||
|
||||
// no other versions, skip copy pages
|
||||
|
||||
@@ -34,7 +34,9 @@ namespace BlackGui
|
||||
{
|
||||
CopySettings,
|
||||
CopyCaches,
|
||||
ConfigSimulator
|
||||
ConfigSimulator,
|
||||
DataLoad,
|
||||
ConfigHotkeys
|
||||
};
|
||||
|
||||
//! Constructor
|
||||
|
||||
@@ -6,8 +6,8 @@
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>600</width>
|
||||
<height>500</height>
|
||||
<width>800</width>
|
||||
<height>600</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="minimumSize">
|
||||
@@ -156,6 +156,31 @@
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
<widget class="BlackGui::Components::CConfigHotkeyWizardPage" name="wp_Hotkeys">
|
||||
<property name="title">
|
||||
<string>Hotkeys</string>
|
||||
</property>
|
||||
<property name="subTitle">
|
||||
<string>Configure (at least) your PTT key</string>
|
||||
</property>
|
||||
<layout class="QVBoxLayout" name="vl_Hotkeys">
|
||||
<property name="leftMargin">
|
||||
<number>4</number>
|
||||
</property>
|
||||
<property name="topMargin">
|
||||
<number>4</number>
|
||||
</property>
|
||||
<property name="rightMargin">
|
||||
<number>4</number>
|
||||
</property>
|
||||
<property name="bottomMargin">
|
||||
<number>4</number>
|
||||
</property>
|
||||
<item>
|
||||
<widget class="BlackGui::Components::CSettingsHotkeyComponent" name="comp_Hotkeys"/>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
</widget>
|
||||
<customwidgets>
|
||||
<customwidget>
|
||||
@@ -194,6 +219,18 @@
|
||||
<header>blackgui/components/initialdataloadcomponent.h</header>
|
||||
<container>1</container>
|
||||
</customwidget>
|
||||
<customwidget>
|
||||
<class>BlackGui::Components::CSettingsHotkeyComponent</class>
|
||||
<extends>QFrame</extends>
|
||||
<header>blackgui/components/settingshotkeycomponent.h</header>
|
||||
<container>1</container>
|
||||
</customwidget>
|
||||
<customwidget>
|
||||
<class>BlackGui::Components::CConfigHotkeyWizardPage</class>
|
||||
<extends>QWizardPage</extends>
|
||||
<header>blackgui/components/settingshotkeycomponent.h</header>
|
||||
<container>1</container>
|
||||
</customwidget>
|
||||
</customwidgets>
|
||||
<resources/>
|
||||
<connections/>
|
||||
|
||||
Reference in New Issue
Block a user