Files
ashlar/apps/wizard/installationtargetpage.hpp

39 lines
743 B
C++

#ifndef INSTALLATIONTARGETPAGE_HPP
#define INSTALLATIONTARGETPAGE_HPP
#include <QWizard>
#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 browseButtonClicked();
private:
const Files::ConfigurationManager& mCfgMgr;
protected:
void initializePage() override;
};
}
#endif // INSTALLATIONTARGETPAGE_HPP