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

Modal dialog for selecting a party from a list of available parties. More...

#include <PartyPickerDialog.hpp>

Inherits QDialog.

Collaboration diagram for PartyPickerDialog:
Collaboration graph

Public Member Functions

 PartyPickerDialog (const std::vector< PartyInfo > &parties, ClientManager *clientManager, QWidget *parent=nullptr)
 Construct PartyPickerDialog.
 
boost::uuids::uuid selectedPartyId () const
 Get the UUID of the selected party.
 
QString selectedPartyName () const
 Get the name of the selected party.
 

Detailed Description

Modal dialog for selecting a party from a list of available parties.

Shown after login when the account is associated with multiple parties. The user must select exactly one party to bind the session context.

Constructor & Destructor Documentation

◆ PartyPickerDialog()

PartyPickerDialog ( const std::vector< PartyInfo > &  parties,
ClientManager clientManager,
QWidget *  parent = nullptr 
)
explicit

Construct PartyPickerDialog.

Parameters
partiesThe list of parties to choose from.
clientManagerPointer to the application's client manager.
parentParent widget.