|
ORE Studio 0.0.4
|
Login dialog with dark theme. More...
#include <LoginDialog.hpp>
Inherits QWidget.

Signals | |
| void | loginSucceeded (const QString &username) |
| Emitted when login succeeds. | |
| void | loginFailed (const QString &errorMessage) |
| Emitted when login fails. | |
| void | signUpRequested () |
| void | closeRequested () |
| void | savedConnectionSelected (const QString &connectionName) |
| Emitted when user selects a saved connection from the dropdown. | |
| void | bootstrapModeDetected (const std::vector< BootstrapBundleInfo > &bundles) |
| Emitted when the server is in bootstrap mode. | |
Public Member Functions | |
| LoginDialog (QWidget *parent=nullptr) | |
| QSize | sizeHint () const override |
| void | setSavedConnections (const QStringList &connectionNames) |
| Set the list of saved connection names for the dropdown. | |
| void | setServer (const QString &server) |
| Set the server/host field value. | |
| void | setPort (int port) |
| Set the port field value. | |
| void | setUsername (const QString &username) |
| Set the username field value. | |
| void | setPassword (const QString &password) |
| Set the password field value. | |
| void | setClientManager (ClientManager *clientManager) |
| Set the client manager for performing login. | |
| QString | getUsername () const |
| Get the username that was used for login. | |
| QString | getServer () const |
| Get the current server/host field value. | |
| int | getPort () const |
| Get the current port field value. | |
Protected Member Functions | |
| void | keyPressEvent (QKeyEvent *event) override |
Login dialog with dark theme.
Provides a clean login form with username, password, and server fields. Supports saved connections via a dropdown menu.
|
signal |
Emitted when the server is in bootstrap mode.
This signal indicates that the system has no administrator account yet and the SystemProvisionerWizard should be shown instead of the login form.
| bundles | Available dataset bundles for provisioning |