mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-17 02:45:33 +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_CopySettings->setConfigComponent(ui->comp_CopySettings);
|
||||||
ui->wp_Simulator->setConfigComponent(ui->comp_Simulator);
|
ui->wp_Simulator->setConfigComponent(ui->comp_Simulator);
|
||||||
ui->wp_DataLoad->setConfigComponent(ui->comp_DataLoad);
|
ui->wp_DataLoad->setConfigComponent(ui->comp_DataLoad);
|
||||||
|
ui->wp_Hotkeys->setConfigComponent(ui->comp_Hotkeys);
|
||||||
|
ui->comp_Hotkeys->registerDummyPttEntry();
|
||||||
this->setButtonText(CustomButton1, "skip");
|
this->setButtonText(CustomButton1, "skip");
|
||||||
|
|
||||||
// no other versions, skip copy pages
|
// no other versions, skip copy pages
|
||||||
|
|||||||
@@ -34,7 +34,9 @@ namespace BlackGui
|
|||||||
{
|
{
|
||||||
CopySettings,
|
CopySettings,
|
||||||
CopyCaches,
|
CopyCaches,
|
||||||
ConfigSimulator
|
ConfigSimulator,
|
||||||
|
DataLoad,
|
||||||
|
ConfigHotkeys
|
||||||
};
|
};
|
||||||
|
|
||||||
//! Constructor
|
//! Constructor
|
||||||
|
|||||||
@@ -6,8 +6,8 @@
|
|||||||
<rect>
|
<rect>
|
||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>600</width>
|
<width>800</width>
|
||||||
<height>500</height>
|
<height>600</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="minimumSize">
|
<property name="minimumSize">
|
||||||
@@ -156,6 +156,31 @@
|
|||||||
</item>
|
</item>
|
||||||
</layout>
|
</layout>
|
||||||
</widget>
|
</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>
|
</widget>
|
||||||
<customwidgets>
|
<customwidgets>
|
||||||
<customwidget>
|
<customwidget>
|
||||||
@@ -194,6 +219,18 @@
|
|||||||
<header>blackgui/components/initialdataloadcomponent.h</header>
|
<header>blackgui/components/initialdataloadcomponent.h</header>
|
||||||
<container>1</container>
|
<container>1</container>
|
||||||
</customwidget>
|
</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>
|
</customwidgets>
|
||||||
<resources/>
|
<resources/>
|
||||||
<connections/>
|
<connections/>
|
||||||
|
|||||||
Reference in New Issue
Block a user