Make the new instance dialog support instance types.

This commit is contained in:
Andrew
2013-04-22 15:39:41 -05:00
parent 7ec32d5657
commit ff3078b3a6
8 changed files with 177 additions and 0 deletions

View File

@ -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