refs #935, hack to fix QWizardPage style as stylesheet selection does not work

This commit is contained in:
Klaus Basan
2017-04-13 01:18:10 +02:00
committed by Mathew Sutcliffe
parent 1c2ca5fca1
commit 269ecadf7d
2 changed files with 8 additions and 7 deletions

View File

@@ -57,6 +57,13 @@ namespace BlackGui
// init if data already available
this->ps_webDataRead();
// \fixme setting per stylesheet does NOT work, this hardcoded stuff should be removed
const QString style("background-image: url(:/textures/icons/textures/texture-inner.jpg)");
ui->wp2_Aircraft->setStyleSheet(style);
ui->wp3_LiveryColor->setStyleSheet(style);
ui->wp4_Livery->setStyleSheet(style);
ui->wp5_Distributor->setStyleSheet(style);
}
CDbQuickMappingWizard::~CDbQuickMappingWizard()

View File

@@ -17,7 +17,7 @@
</size>
</property>
<property name="windowTitle">
<string>swift Mapping Wizard</string>
<string>swift mapping wizard</string>
</property>
<property name="wizardStyle">
<enum>QWizard::ClassicStyle</enum>
@@ -325,12 +325,6 @@
<height>300</height>
</size>
</property>
<property name="frameShape">
<enum>QFrame::StyledPanel</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Raised</enum>
</property>
</widget>
</item>
</layout>