NDEVR
API Documentation
CreateAccountDialog

Dialog for creating a new user account on an OWL server. More...

Public Member Functions

 CreateAccountDialog (OWLClientInterface *server_actions, QWidget *parent=nullptr)
 Constructs the account creation dialog.
void canceledSignal ()
 Emitted when the user cancels account creation.
void finishedSignal ()
 Emitted when account creation has finished successfully.
void setConnection (const NDEVRServerManager::OWLServer &server)
 Sets the server connection to create the account on.
QSize sizeHint () const override
 Returns the recommended size for the dialog.
ServerUserInfo userInfo () const
 Returns the user information entered in the dialog.

Protected Member Functions

void updatePasscodeDisplay ()
 Updates the passcode strength display based on current input.

Detailed Description

Dialog for creating a new user account on an OWL server.

Collects user credentials and account information, then submits them to the OWL server for account creation.

Definition at line 49 of file CreateAccountDialog.h.

Constructor & Destructor Documentation

◆ CreateAccountDialog()

CreateAccountDialog::CreateAccountDialog ( OWLClientInterface * server_actions,
QWidget * parent = nullptr )

Constructs the account creation dialog.

Parameters
[in]server_actionsThe OWL client interface for server communication.
[in]parentOptional parent widget.

Member Function Documentation

◆ setConnection()

void CreateAccountDialog::setConnection ( const NDEVRServerManager::OWLServer & server)

Sets the server connection to create the account on.

Parameters
[in]serverThe OWL server connection information.

◆ sizeHint()

QSize CreateAccountDialog::sizeHint ( ) const
override

Returns the recommended size for the dialog.

Returns
The size hint.

◆ userInfo()

ServerUserInfo CreateAccountDialog::userInfo ( ) const

Returns the user information entered in the dialog.

Returns
The collected user account information.

The documentation for this class was generated from the following file: