summaryrefslogtreecommitdiff
path: root/mainwizard.h
blob: 9fa9839d106f4f1cc49dcfa88a28c63f750f58e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#ifndef mainwizard_H
#define mainwizard_H

#include <QWizard>
#include "backend.h"
#include "busyappfilter.h"

class MainWizard : public QWizard
{
  Q_OBJECT

  public:
    enum {  Page_Welcome,
	    Page_Partitions,
	    Page_PartManSel,
	    Page_PartMan,
	    Page_RootPartition,
	    Page_Bootloader,
	    Page_RootPwd,
	    Page_UserCfg,
	    Page_UserPwd,
	    Page_Network,
	    Page_Summary,
	    Page_Installation };
    MainWizard();
    void reject();
    Backend* backend;
    QSize sizeHint() const;
    
  private:
    BusyAppFilter *filter;
    
  private slots:
    void processCommand(QString command, QString args);
    void backendBusy(bool busy);
    
};

#endif // mainwizard_H