Added some eye-candy to the wizard: a watermark and a placeholder icon

loadfix
pvdk 11 years ago
parent 254fe0a424
commit ae5f783a16

@ -5,9 +5,9 @@
Wizard::IntroPage::IntroPage(MainWizard *wizard) :
QWizardPage(wizard),
mWizard(wizard)
{
setupUi(this);
setPixmap(QWizard::WatermarkPixmap, QPixmap(QLatin1String(":/images/intropage-background.png")));
}
int Wizard::IntroPage::nextId() const

@ -25,7 +25,6 @@ Wizard::MainWizard::MainWizard(QWidget *parent) :
mGameSettings(mCfgMgr),
QWizard(parent)
{
#ifndef Q_OS_MAC
setWizardStyle(QWizard::ModernStyle);
#else
@ -33,6 +32,8 @@ Wizard::MainWizard::MainWizard(QWidget *parent) :
#endif
setWindowTitle(tr("OpenMW Wizard"));
setWindowIcon(QIcon(QLatin1String(":/images/openmw-wizard.png")));
setMinimumWidth(550);
// Set the property for comboboxes to the text instead of index
setDefaultProperty("QComboBox", "currentText", "currentIndexChanged");

@ -29,6 +29,8 @@
</item>
</layout>
</widget>
<resources/>
<resources>
<include location="../../wizard/wizard.qrc"/>
</resources>
<connections/>
</ui>

Binary file not shown.

After

Width:  |  Height:  |  Size: 147 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 71 KiB

@ -5,4 +5,8 @@
<file alias="48x48/folder.png">icons/tango/48x48/folder.png</file>
<file alias="48x48/system-installer.png">icons/tango/48x48/system-installer.png</file>
</qresource>
<qresource prefix="images">
<file alias="intropage-background.png">images/intropage-background.png</file>
<file alias="openmw-wizard.png">images/openmw-wizard.png</file>
</qresource>
</RCC>

Loading…
Cancel
Save