|
ORE Studio 0.0.4
|
Wizard for initial system provisioning when in bootstrap mode. More...
#include <SystemProvisionerWizard.hpp>
Inherits QWizard.

Public Types | |
| enum | PageId { Page_Welcome , Page_AdminAccount , Page_BundleSelection , Page_Apply } |
Signals | |
| void | provisioningCompleted (const QString &username) |
| Emitted when provisioning is successfully completed. | |
| void | provisioningFailed (const QString &errorMessage) |
| Emitted when provisioning fails. | |
Public Member Functions | |
| SystemProvisionerWizard (ClientManager *clientManager, const std::vector< BootstrapBundleInfo > &bundles, QWidget *parent=nullptr) | |
| ClientManager * | clientManager () const |
| QString | adminUsername () const |
| QString | adminEmail () const |
| QString | adminPassword () const |
| void | setAdminCredentials (const QString &username, const QString &email, const QString &password) |
| const std::vector< BootstrapBundleInfo > & | bundles () const |
| QString | selectedBundleCode () const |
| void | setSelectedBundleCode (const QString &code) |
| boost::uuids::uuid | adminAccountId () const |
| void | setAdminAccountId (const boost::uuids::uuid &id) |
Wizard for initial system provisioning when in bootstrap mode.
Multi-page wizard that guides users through:
This wizard should only be shown when the system is in bootstrap mode (i.e., no administrator account exists yet).
|
signal |
Emitted when provisioning is successfully completed.
Connect to this signal to proceed with normal login flow.
| username | The username of the created admin account |
|
signal |
Emitted when provisioning fails.
| errorMessage | Description of the failure |