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

Dialog for user authentication and server connection. More...

#include <LoginDialog.hpp>

Inherits QDialog.

Collaboration diagram for LoginDialog:
Collaboration graph

Signals

void loginCompleted (const LoginResult &result)
 

Public Member Functions

 LoginDialog (ClientManager *clientManager, QWidget *parent=nullptr)
 Construct LoginDialog.
 
std::string getUsername () const
 Get the logged-in username.
 

Detailed Description

Dialog for user authentication and server connection.

Presents a login form with username, password, server host, and port fields. Delegates connection and login logic to the provided ClientManager.

Constructor & Destructor Documentation

◆ LoginDialog()

LoginDialog ( ClientManager clientManager,
QWidget *  parent = nullptr 
)
explicit

Construct LoginDialog.

Parameters
clientManagerPointer to the application's client manager.
parentParent widget.

Member Function Documentation

◆ getUsername()

std::string getUsername ( ) const

Get the logged-in username.

Returns
The username used for login.