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

loadfix
pvdk 10 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");

@ -20,7 +20,7 @@
<item>
<widget class="QLabel" name="textLabel">
<property name="text">
<string>This Wizard will help you install Morrowind and its add-ons for OpenMW to use.</string>
<string>This Wizard will help you install Morrowindand its add-ons for OpenMW to use.</string>
</property>
<property name="wordWrap">
<bool>true</bool>
@ -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