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

Signals | |
| void | statusMessage (const QString &message) |
| void | errorMessage (const QString &title, const QString &message) |
| void | partyListChanged () |
| Emitted when the staged party list changes. | |
Public Member Functions | |
| AccountPartiesWidget (QWidget *parent=nullptr) | |
| void | setClientManager (ClientManager *clientManager) |
| void | setAccountId (const boost::uuids::uuid &accountId) |
| void | setAccountType (const std::string &accountType) |
| void | load () |
| Load parties. If accountId is set, also fetches assigned parties. If accountId is nil (create mode), only available parties are loaded. | |
| void | setReadOnly (bool readOnly) |
| bool | hasPendingChanges () const |
| bool | hasAvailableParties () const |
| const std::vector< boost::uuids::uuid > & | pendingAdds () const |
| const std::vector< boost::uuids::uuid > & | pendingRemoves () const |
Widget for managing parties assigned to an account.
Displays the parties currently assigned to an account and allows staging add/remove operations via a combo box and toolbar buttons. Changes are committed by the parent dialog's Save action, which handles the change reason dialog and calls loadParties() to reload.
The widget emits partyListChanged() whenever the staged set changes, so the parent dialog can enable its Save button accordingly.
|
signal |
Emitted when the staged party list changes.
The parent dialog connects to this signal to enable its Save button.