|
ORE Studio 0.0.4
|
Widget for displaying currency version history. More...
#include <CurrencyHistoryDialog.hpp>
Inherits QWidget.

Signals | |
| void | statusChanged (const QString &message) |
| void | errorOccurred (const QString &error_message) |
| void | openVersionRequested (const refdata::domain::currency ¤cy, int versionNumber) |
| Emitted when user requests to open a version in read-only mode. | |
| void | revertVersionRequested (const refdata::domain::currency ¤cy) |
| Emitted when user requests to revert to a selected version. | |
Public Member Functions | |
| CurrencyHistoryDialog (QString iso_code, ClientManager *clientManager, QWidget *parent=nullptr) | |
| void | loadHistory () |
| void | setImageCache (ImageCache *imageCache) |
| Set the image cache for displaying currency flags. | |
| QSize | sizeHint () const override |
| void | markAsStale () |
| Mark the history data as stale and reload. | |
| QString | isoCode () const |
| Returns the ISO code of the currency. | |
| const refdata::domain::currency_version_history & | getHistory () const |
| Returns the loaded history for version navigation. | |
Widget for displaying currency version history.
| void markAsStale | ( | ) |
Mark the history data as stale and reload.
Called when a notification is received indicating this currency has changed on the server. Automatically reloads the history data.
|
signal |
Emitted when user requests to open a version in read-only mode.
| currency | The currency data at the selected version. |
| versionNumber | The version number being viewed. |
|
signal |
Emitted when user requests to revert to a selected version.
| currency | The currency data to revert to. |