mirror of
				https://github.com/OpenMW/openmw.git
				synced 2025-10-31 23:26:41 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			50 lines
		
	
	
	
		
			993 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			50 lines
		
	
	
	
		
			993 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| #ifndef INSTALLATIONPAGE_HPP
 | |
| #define INSTALLATIONPAGE_HPP
 | |
| 
 | |
| #include <QWizardPage>
 | |
| 
 | |
| #include "unshield/unshieldworker.hpp"
 | |
| #include "ui_installationpage.h"
 | |
| #include "inisettings.hpp"
 | |
| 
 | |
| class QThread;
 | |
| 
 | |
| namespace Wizard
 | |
| {
 | |
|     class MainWizard;
 | |
|     class IniSettings;
 | |
|     class UnshieldWorker;
 | |
| 
 | |
|     class InstallationPage : public QWizardPage, private Ui::InstallationPage
 | |
|     {
 | |
|         Q_OBJECT
 | |
|     public:
 | |
|         InstallationPage(QWidget *parent);
 | |
|         ~InstallationPage();
 | |
| 
 | |
|         int nextId() const;
 | |
|          virtual bool isComplete() const;
 | |
| 
 | |
|     private:
 | |
|         MainWizard *mWizard;
 | |
|         bool mFinished;
 | |
| 
 | |
|         QThread* mThread;
 | |
|         UnshieldWorker *mUnshield;
 | |
| 
 | |
|         void startInstallation();
 | |
| 
 | |
|     private slots:
 | |
|         void showFileDialog(Wizard::Component component);
 | |
| 
 | |
|         void installationFinished();
 | |
|         void installationError(const QString &text, const QString &details);
 | |
| 
 | |
|     protected:
 | |
|         void initializePage();
 | |
| 
 | |
|     };
 | |
| 
 | |
| }
 | |
| 
 | |
| #endif // INSTALLATIONPAGE_HPP
 |