2013-12-08 21:35:57 +01:00
|
|
|
#ifndef INSTALLATIONTARGETPAGE_HPP
|
|
|
|
#define INSTALLATIONTARGETPAGE_HPP
|
|
|
|
|
2022-10-10 13:41:36 +02:00
|
|
|
#include <QWizard>
|
|
|
|
|
2013-12-08 21:35:57 +01:00
|
|
|
#include "ui_installationtargetpage.h"
|
|
|
|
|
2014-01-28 11:51:13 +01:00
|
|
|
namespace Files
|
|
|
|
{
|
|
|
|
struct ConfigurationManager;
|
|
|
|
}
|
|
|
|
|
2013-12-08 21:35:57 +01:00
|
|
|
namespace Wizard
|
|
|
|
{
|
2013-12-13 13:38:49 +01:00
|
|
|
class MainWizard;
|
2013-12-08 21:35:57 +01:00
|
|
|
|
|
|
|
class InstallationTargetPage : public QWizardPage, private Ui::InstallationTargetPage
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
public:
|
2014-04-18 13:17:37 +02:00
|
|
|
InstallationTargetPage(QWidget* parent, const Files::ConfigurationManager& cfg);
|
2013-12-08 21:35:57 +01:00
|
|
|
|
2020-10-16 22:18:54 +04:00
|
|
|
int nextId() const override;
|
|
|
|
bool validatePage() override;
|
2013-12-08 22:58:29 +01:00
|
|
|
|
2013-12-13 13:38:49 +01:00
|
|
|
private slots:
|
|
|
|
void on_browseButton_clicked();
|
|
|
|
|
|
|
|
private:
|
|
|
|
MainWizard* mWizard;
|
2014-01-28 11:51:13 +01:00
|
|
|
const Files::ConfigurationManager& mCfgMgr;
|
2013-12-13 13:38:49 +01:00
|
|
|
|
|
|
|
protected:
|
2020-10-16 22:18:54 +04:00
|
|
|
void initializePage() override;
|
2013-12-08 21:35:57 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif // INSTALLATIONTARGETPAGE_HPP
|