OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
installationpage.hpp
Go to the documentation of this file.
1 #ifndef INSTALLATIONPAGE_HPP
2 #define INSTALLATIONPAGE_HPP
3 
4 #include <QWizardPage>
5 
7 #include "ui_installationpage.h"
8 #include "inisettings.hpp"
9 
10 class QThread;
11 
12 namespace Wizard
13 {
14  class MainWizard;
15  class IniSettings;
16  class UnshieldWorker;
17 
18  class InstallationPage : public QWizardPage, private Ui::InstallationPage
19  {
20  Q_OBJECT
21  public:
22  InstallationPage(QWidget *parent);
24 
25  int nextId() const;
26  virtual bool isComplete() const;
27 
28  private:
30  bool mFinished;
31 
32  QThread* mThread;
34 
35  void startInstallation();
36 
37  private slots:
38  void showFileDialog(Wizard::Component component);
39 
40  void installationFinished();
41  void installationError(const QString &text, const QString &details);
42 
43  protected:
44  void initializePage();
45 
46  };
47 
48 }
49 
50 #endif // INSTALLATIONPAGE_HPP
Definition: mainwizard.hpp:18
void startInstallation()
Definition: installationpage.cpp:94
Component
Definition: unshieldworker.hpp:18
int nextId() const
Definition: installationpage.cpp:228
bool mFinished
Definition: installationpage.hpp:30
void showFileDialog(Wizard::Component component)
Definition: installationpage.cpp:143
Definition: unshieldworker.hpp:24
virtual bool isComplete() const
Definition: installationpage.cpp:219
void initializePage()
Definition: installationpage.cpp:65
~InstallationPage()
Definition: installationpage.cpp:53
InstallationPage(QWidget *parent)
Definition: installationpage.cpp:12
void installationError(const QString &text, const QString &details)
Definition: installationpage.cpp:191
Definition: installationpage.hpp:18
void installationFinished()
Definition: installationpage.cpp:177
QThread * mThread
Definition: installationpage.hpp:32
UnshieldWorker * mUnshield
Definition: installationpage.hpp:33
MainWizard * mWizard
Definition: installationpage.hpp:29