|
ORE Studio 0.0.4
|
Reusable widget for searching and selecting an LEI entity. More...
#include <LeiEntityPicker.hpp>
Inherits QWidget.

Signals | |
| void | entitySelected (const QString &lei, const QString &name) |
| Emitted when the user selects an entity. | |
| void | selectionCleared () |
| Emitted when the selection is cleared. | |
| void | loadCompleted (int entityCount) |
| Emitted when entities are successfully loaded from the server. | |
| void | loadFailed (const QString &errorMessage) |
| Emitted when loading entities fails. | |
Public Member Functions | |
| LeiEntityPicker (ClientManager *clientManager, QWidget *parent=nullptr) | |
| QString | selectedLei () const |
| Get the LEI of the currently selected entity. | |
| QString | selectedName () const |
| Get the entity legal name of the currently selected entity. | |
| bool | hasSelection () const |
| Check whether an entity is currently selected. | |
| void | load () |
| Trigger an asynchronous load of LEI entities from the server. | |
Reusable widget for searching and selecting an LEI entity.
Loads LEI entity summaries from the DQ staging data via the binary protocol and presents them in a filterable table. Users can search by entity legal name and select an entity to use in other screens.
| QString selectedLei | ( | ) | const |
Get the LEI of the currently selected entity.
| QString selectedName | ( | ) | const |
Get the entity legal name of the currently selected entity.
|
signal |
Emitted when the user selects an entity.
| lei | The LEI of the selected entity |
| name | The entity legal name of the selected entity |
|
signal |
Emitted when entities are successfully loaded from the server.
| entityCount | Number of entities loaded |
|
signal |
Emitted when loading entities fails.
| errorMessage | Description of the failure |