1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-09 12:42:11 +00:00
OpenMW/apps/wizard/existinginstallationpage.hpp

36 lines
764 B
C++
Raw Normal View History

2013-12-08 20:35:57 +00:00
#ifndef EXISTINGINSTALLATIONPAGE_HPP
#define EXISTINGINSTALLATIONPAGE_HPP
#include "ui_existinginstallationpage.h"
namespace Wizard
{
class MainWizard;
2013-12-08 20:35:57 +00:00
class ExistingInstallationPage : public QWizardPage, private Ui::ExistingInstallationPage
{
Q_OBJECT
public:
2022-09-22 18:26:05 +00:00
ExistingInstallationPage(QWidget* parent);
2013-12-08 20:35:57 +00:00
int nextId() const override;
bool isComplete() const override;
bool validatePage() override;
private slots:
void on_browseButton_clicked();
2022-09-22 18:26:05 +00:00
void textChanged(const QString& text);
private:
2022-09-22 18:26:05 +00:00
MainWizard* mWizard;
bool versionIsOK(QString directory_name);
protected:
void initializePage() override;
2013-12-08 20:35:57 +00:00
};
}
#endif // EXISTINGINSTALLATIONPAGE_HPP