1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2024-12-29 03:19:44 +00:00
OpenMW/apps/wizard/installationtargetpage.hpp
2022-09-22 21:35:26 +03:00

38 lines
756 B
C++

#ifndef INSTALLATIONTARGETPAGE_HPP
#define INSTALLATIONTARGETPAGE_HPP
#include "ui_installationtargetpage.h"
namespace Files
{
struct ConfigurationManager;
}
namespace Wizard
{
class MainWizard;
class InstallationTargetPage : public QWizardPage, private Ui::InstallationTargetPage
{
Q_OBJECT
public:
InstallationTargetPage(QWidget* parent, const Files::ConfigurationManager& cfg);
int nextId() const override;
bool validatePage() override;
private slots:
void on_browseButton_clicked();
private:
MainWizard* mWizard;
const Files::ConfigurationManager& mCfgMgr;
protected:
void initializePage() override;
};
}
#endif // INSTALLATIONTARGETPAGE_HPP