mirror of
				https://github.com/OpenMW/openmw.git
				synced 2025-10-31 01:26:38 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			35 lines
		
	
	
	
		
			764 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			35 lines
		
	
	
	
		
			764 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| #ifndef EXISTINGINSTALLATIONPAGE_HPP
 | |
| #define EXISTINGINSTALLATIONPAGE_HPP
 | |
| 
 | |
| #include "ui_existinginstallationpage.h"
 | |
| 
 | |
| namespace Wizard
 | |
| {
 | |
|     class MainWizard;
 | |
| 
 | |
|     class ExistingInstallationPage : public QWizardPage, private Ui::ExistingInstallationPage
 | |
|     {
 | |
|         Q_OBJECT
 | |
|     public:
 | |
|         ExistingInstallationPage(QWidget* parent);
 | |
| 
 | |
|         int nextId() const override;
 | |
|         bool isComplete() const override;
 | |
|         bool validatePage() override;
 | |
| 
 | |
|     private slots:
 | |
|         void on_browseButton_clicked();
 | |
|         void textChanged(const QString& text);
 | |
| 
 | |
|     private:
 | |
|         MainWizard* mWizard;
 | |
| 
 | |
|         bool versionIsOK(QString directory_name);
 | |
| 
 | |
|     protected:
 | |
|         void initializePage() override;
 | |
|     };
 | |
| 
 | |
| }
 | |
| 
 | |
| #endif // EXISTINGINSTALLATIONPAGE_HPP
 |