summaryrefslogtreecommitdiffstats
path: root/gui/newinstancedialog.h
diff options
context:
space:
mode:
Diffstat (limited to 'gui/newinstancedialog.h')
-rw-r--r--gui/newinstancedialog.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/gui/newinstancedialog.h b/gui/newinstancedialog.h
index 263136f1..da689c41 100644
--- a/gui/newinstancedialog.h
+++ b/gui/newinstancedialog.h
@@ -18,6 +18,9 @@
#include <QDialog>
+class InstanceTypeInterface;
+class InstVersion;
+
namespace Ui {
class NewInstanceDialog;
}
@@ -30,8 +33,24 @@ public:
explicit NewInstanceDialog(QWidget *parent = 0);
~NewInstanceDialog();
+ void loadTypeList();
+ void updateSelectedType();
+ void updateDialogState();
+
+ void setSelectedVersion(const InstVersion *version);
+
+ void loadVersionList();
+
+private slots:
+ void on_btnChangeVersion_clicked();
+
+ void on_instTypeComboBox_activated(int index);
+
private:
Ui::NewInstanceDialog *ui;
+
+ const InstVersion *m_selectedVersion;
+ const InstanceTypeInterface *m_selectedType;
};
#endif // NEWINSTANCEDIALOG_H