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

Widget for managing roles assigned to an account. More...

#include <AccountRolesWidget.hpp>

Inherits QWidget.

Collaboration diagram for AccountRolesWidget:
Collaboration graph

Signals

void statusMessage (const QString &message)
 
void errorMessage (const QString &message)
 
void rolesChanged ()
 

Public Member Functions

 AccountRolesWidget (QWidget *parent=nullptr)
 
void setClientManager (ClientManager *clientManager)
 Sets the client manager for making requests.
 
void setAccountId (const boost::uuids::uuid &accountId)
 Sets the account ID to manage roles for.
 
void loadRoles ()
 Loads the roles for the current account.
 
void setReadOnly (bool readOnly)
 Sets the widget to read-only mode.
 
std::vector< boost::uuids::uuid > getAssignedRoleIds () const
 Gets the currently assigned role IDs.
 

Detailed Description

Widget for managing roles assigned to an account.

This widget displays the roles currently assigned to an account and allows assigning/revoking roles via buttons.