refs #887, skip copy steps if there is no other swift version to copy from

* pages as enum
* buttons to copy/select/deselect (when UI component is used detached from wizard)
* avoid crash when there is no other swift version (->empty model)
This commit is contained in:
Klaus Basan
2017-02-25 19:19:27 +01:00
committed by Mathew Sutcliffe
parent cb024b0245
commit 1076eb2b29
5 changed files with 70 additions and 10 deletions

View File

@@ -29,6 +29,14 @@ namespace BlackGui
Q_OBJECT
public:
//! Page ids
enum Pages
{
CopySettings,
CopyCaches,
ConfigSimulator
};
//! Constructor
explicit CConfigurationWizard(QWidget *parent = nullptr);
@@ -40,6 +48,7 @@ namespace BlackGui
void wizardCurrentIdChanged(int id);
QScopedPointer<Ui::CConfigurationWizard> ui;
int m_lastId = -1;
};
} // ns
} // ns