2013-12-08 21:35:57 +01:00
|
|
|
#include "intropage.hpp"
|
|
|
|
|
2013-12-08 22:58:29 +01:00
|
|
|
#include "mainwizard.hpp"
|
|
|
|
|
2022-10-10 13:41:36 +02:00
|
|
|
#include <QObject>
|
|
|
|
#include <QPixmap>
|
|
|
|
#include <QWidget>
|
|
|
|
|
2014-04-18 13:17:37 +02:00
|
|
|
Wizard::IntroPage::IntroPage(QWidget* parent)
|
|
|
|
: QWizardPage(parent)
|
2013-12-08 21:35:57 +01:00
|
|
|
{
|
2014-04-18 13:17:37 +02:00
|
|
|
mWizard = qobject_cast<MainWizard*>(parent);
|
|
|
|
|
2013-12-08 21:35:57 +01:00
|
|
|
setupUi(this);
|
2014-03-17 17:50:51 +01:00
|
|
|
setPixmap(QWizard::WatermarkPixmap, QPixmap(QLatin1String(":/images/intropage-background.png")));
|
2013-12-08 21:35:57 +01:00
|
|
|
}
|
2013-12-08 22:58:29 +01:00
|
|
|
|
|
|
|
int Wizard::IntroPage::nextId() const
|
|
|
|
{
|
|
|
|
return MainWizard::Page_MethodSelection;
|
|
|
|
}
|