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