ORE Studio 0.0.4
Loading...
Searching...
No Matches
Signals | Public Member Functions | Protected Member Functions | List of all members
SignUpDialog Class Reference

Sign up dialog with dark theme. More...

#include <SignUpDialog.hpp>

Inherits QWidget.

Collaboration diagram for SignUpDialog:
Collaboration graph

Signals

void loginSucceeded (const QString &username)
 Emitted when signup and auto-login succeed.
 
void signupSucceeded (const QString &username)
 Emitted when signup succeeds (before auto-login).
 
void signupFailed (const QString &errorMessage)
 Emitted when signup fails.
 
void loginRequested ()
 Emitted when user wants to go back to login.
 
void closeRequested ()
 Emitted when the widget should be closed.
 

Public Member Functions

 SignUpDialog (QWidget *parent=nullptr)
 
QSize sizeHint () const override
 
void setServer (const QString &server)
 Set the server/host field value.
 
void setPort (int port)
 Set the port field value.
 
QString getServer () const
 Get the current server/host field value.
 
int getPort () const
 Get the current port field value.
 
void setClientManager (ClientManager *clientManager)
 Set the client manager for performing signup.
 
QString getRegisteredUsername () const
 Get the username that was registered.
 

Protected Member Functions

void keyPressEvent (QKeyEvent *event) override
 

Detailed Description

Sign up dialog with dark theme.

Provides a clean registration form matching the LoginDialog style. Includes username, email, password with confirmation, and server fields.