2013-12-08 20:35:57 +00:00
|
|
|
#ifndef COMPONENTSELECTIONPAGE_HPP
|
|
|
|
#define COMPONENTSELECTIONPAGE_HPP
|
|
|
|
|
|
|
|
#include <QWizardPage>
|
|
|
|
|
|
|
|
#include "ui_componentselectionpage.h"
|
|
|
|
|
|
|
|
namespace Wizard
|
|
|
|
{
|
2013-12-13 12:38:49 +00:00
|
|
|
class MainWizard;
|
2013-12-08 20:35:57 +00:00
|
|
|
|
|
|
|
class ComponentSelectionPage : public QWizardPage, private Ui::ComponentSelectionPage
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
public:
|
2014-04-18 11:17:37 +00:00
|
|
|
ComponentSelectionPage(QWidget *parent);
|
2013-12-08 20:35:57 +00:00
|
|
|
|
2013-12-08 21:58:29 +00:00
|
|
|
int nextId() const;
|
2014-01-28 12:27:09 +00:00
|
|
|
virtual bool validatePage();
|
2013-12-08 21:58:29 +00:00
|
|
|
|
2013-12-13 12:38:49 +00:00
|
|
|
private slots:
|
|
|
|
void updateButton(QListWidgetItem *item);
|
|
|
|
|
|
|
|
private:
|
|
|
|
MainWizard *mWizard;
|
|
|
|
|
|
|
|
protected:
|
|
|
|
void initializePage();
|
|
|
|
|
2013-12-08 20:35:57 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif // COMPONENTSELECTIONPAGE_HPP
|