summaryrefslogtreecommitdiff
path: root/horizonwizard.cc
blob: 4e8e89a2fd9bfdbca64c5eb11f52d9027f08be05 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#include "horizonwizard.hh"

#include "welcomepage.hh"
#include "networkingpage.hh"

HorizonWizard::HorizonWizard(QWidget *parent) : QWizard(parent)
{
        int scaleFactor = window()->devicePixelRatio();

        setWindowTitle(tr("Adélie Linux System Installation"));

        setFixedSize(QSize(600 * scaleFactor, 450 * scaleFactor));

        setOption(DisabledBackButtonOnLastPage);
        setOption(HaveHelpButton);
        setOption(NoCancelButtonOnLastPage);

        setSizeGripEnabled(false);

        setPage(Page_Welcome, new WelcomePage);
        setPage(Page_Networking, new NetworkingPage);
}