|
ORE Studio 0.0.4
|
Widget for managing roles assigned to an account. More...
#include <AccountRolesWidget.hpp>
Inherits QWidget.

Signals | |
| void | statusMessage (const QString &message) |
| void | errorMessage (const QString &message) |
| void | roleListChanged () |
Public Member Functions | |
| AccountRolesWidget (QWidget *parent=nullptr) | |
| void | setClientManager (ClientManager *clientManager) |
| void | setAccountId (const boost::uuids::uuid &accountId) |
| void | load () |
| Load roles. If accountId is set, also fetches assigned roles. If accountId is nil (create mode), only available roles are loaded. | |
| void | setReadOnly (bool readOnly) |
| bool | hasPendingChanges () const |
| const std::vector< boost::uuids::uuid > & | pendingAdds () const |
| const std::vector< boost::uuids::uuid > & | pendingRemoves () const |
Widget for managing roles assigned to an account.
Changes are staged locally and only committed when the parent dialog saves.