Maximize button for launcher config wizard

This commit is contained in:
Klaus Basan
2018-10-29 23:13:12 +01:00
parent 7788410a8d
commit 2581ec5582
2 changed files with 12 additions and 6 deletions

View File

@@ -26,6 +26,9 @@ namespace BlackGui
ui(new Ui::CConfigurationWizard) ui(new Ui::CConfigurationWizard)
{ {
ui->setupUi(this); ui->setupUi(this);
this->setWindowFlags(windowFlags() | Qt::CustomizeWindowHint | Qt::WindowMinimizeButtonHint | Qt::WindowMaximizeButtonHint | Qt::WindowCloseButtonHint);
ui->wp_CopyModels->setConfigComponent(ui->comp_CopyModels); ui->wp_CopyModels->setConfigComponent(ui->comp_CopyModels);
ui->wp_Simulator->setConfigComponent(ui->comp_Simulator); ui->wp_Simulator->setConfigComponent(ui->comp_Simulator);
ui->wp_SimulatorSpecific->setConfigComponent(ui->comp_InstallXSwiftBus, ui->comp_InstallFsxTerrainProbe); ui->wp_SimulatorSpecific->setConfigComponent(ui->comp_InstallXSwiftBus, ui->comp_InstallFsxTerrainProbe);

View File

@@ -2,6 +2,9 @@
<ui version="4.0"> <ui version="4.0">
<class>CConfigurationWizard</class> <class>CConfigurationWizard</class>
<widget class="QWizard" name="CConfigurationWizard"> <widget class="QWizard" name="CConfigurationWizard">
<property name="windowModality">
<enum>Qt::ApplicationModal</enum>
</property>
<property name="geometry"> <property name="geometry">
<rect> <rect>
<x>0</x> <x>0</x>
@@ -137,8 +140,8 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>672</width> <width>98</width>
<height>497</height> <height>28</height>
</rect> </rect>
</property> </property>
<layout class="QVBoxLayout" name="vl_CopySettingsAndCacheWidget"> <layout class="QVBoxLayout" name="vl_CopySettingsAndCacheWidget">
@@ -240,8 +243,8 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>668</width> <width>98</width>
<height>445</height> <height>64</height>
</rect> </rect>
</property> </property>
<attribute name="label"> <attribute name="label">
@@ -265,8 +268,8 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>668</width> <width>98</width>
<height>445</height> <height>64</height>
</rect> </rect>
</property> </property>
<attribute name="label"> <attribute name="label">