diff --git a/src/blackgui/components/configurationwizard.cpp b/src/blackgui/components/configurationwizard.cpp
index ae5e85176..6f13dc374 100644
--- a/src/blackgui/components/configurationwizard.cpp
+++ b/src/blackgui/components/configurationwizard.cpp
@@ -19,9 +19,9 @@ namespace BlackGui
ui(new Ui::CConfigurationWizard)
{
ui->setupUi(this);
-
- connect(ui->wp_CopyCaches, &QWizardPage::completeChanged, ui->comp_CopyCaches, &CCopyConfigurationComponent::copySelectedFiles);
- connect(ui->wp_CopySettings, &QWizardPage::completeChanged, ui->comp_CopySettings, &CCopyConfigurationComponent::copySelectedFiles);
+ ui->wp_CopyCaches->setConfigComponent(ui->comp_CopyCaches);
+ ui->wp_CopySettings->setConfigComponent(ui->comp_CopySettings);
+ ui->wp_Simulator->setConfigComponent(ui->comp_Simulator);
connect(this, &QWizard::currentIdChanged, this, &CConfigurationWizard::wizardCurrentIdChanged);
}
@@ -32,19 +32,13 @@ namespace BlackGui
{
Q_UNUSED(id);
const QWizardPage *page = this->currentPage();
- if (page == ui->wp_Simulator)
- {
- //
- }
- else if (page == ui->wp_CopyCaches)
+ if (page == ui->wp_CopyCaches)
{
ui->comp_CopyCaches->setCacheMode();
- ui->comp_CopyCaches->initCurrentDirectories();
}
else if (page == ui->wp_CopySettings)
{
ui->comp_CopySettings->setSettingsMode();
- ui->comp_CopySettings->initCurrentDirectories();
}
}
} // ns
diff --git a/src/blackgui/components/configurationwizard.ui b/src/blackgui/components/configurationwizard.ui
index 583390d35..08d85516c 100644
--- a/src/blackgui/components/configurationwizard.ui
+++ b/src/blackgui/components/configurationwizard.ui
@@ -25,112 +25,7 @@
QWizard::ClassicStyle
-
-
- Your simulator
-
-
- The simulator(s) you are using
-
-
-
- 4
-
-
- 4
-
-
- 4
-
-
- 4
-
- -
-
-
- QFrame::Sunken
-
-
-
- 0
-
-
- 0
-
-
- 0
-
-
- 0
-
-
-
-
-
- P3D
-
-
-
- -
-
-
- FSX
-
-
-
- -
-
-
- FS9
-
-
-
- 64
- 64
-
-
-
-
- -
-
-
- XPlane
-
-
-
- -
-
-
- <img width="100" src=":/simulators/icons/simulators/Prepar3D.png"/>
-
-
-
- -
-
-
- <img width="100" src=":/simulators/icons/simulators/FSX.png"/>
-
-
-
- -
-
-
- <img width="100" src=":/simulators/icons/simulators/XPlane.png"/>
-
-
-
- -
-
-
- <img width="100" src=":/simulators/icons/simulators/FS9.png"/>
-
-
-
-
-
-
-
-
-
+
Copy configuration from another installation
@@ -162,7 +57,7 @@
-
+
Copy configuration from another installation
@@ -200,6 +95,38 @@
+
+
+ Simulator
+
+
+ Simulator(s) you are using
+
+
+
+ 4
+
+
+ 4
+
+
+ 4
+
+
+ 4
+
+ -
+
+
+ QFrame::StyledPanel
+
+
+ QFrame::Raised
+
+
+
+
+
@@ -208,6 +135,24 @@
blackgui/components/copyconfigurationcomponent.h
1
+
+ BlackGui::Components::CConfigSimulatorComponent
+ QFrame
+ blackgui/components/configsimulatorcomponent.h
+ 1
+
+
+ BlackGui::Components::CConfigSimulatorWizardPage
+ QWizardPage
+ blackgui/components/configsimulatorcomponent.h
+ 1
+
+
+ BlackGui::Components::CCopyConfigurationWizardPage
+ QWizardPage
+ blackgui/components/copyconfigurationcomponent.h
+ 1
+