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

MDI window for displaying currencies. More...

#include <CurrencyMdiWindow.hpp>

Inherits QWidget.

Collaboration diagram for CurrencyMdiWindow:
Collaboration graph

Public Slots

void reload ()
 
void addNew ()
 
void editSelected ()
 
void deleteSelected ()
 
void viewHistorySelected ()
 
void importFromXML ()
 
void exportToCSV ()
 
void exportToXML ()
 
void markAsStale ()
 Mark the data as stale (changed on server).
 
void clearStaleIndicator ()
 Clear the stale indicator.
 

Signals

void statusChanged (const QString &message)
 
void errorOccurred (const QString &error_message)
 
void selectionChanged (int selection_count)
 
void addNewRequested ()
 
void showCurrencyDetails (const risk::domain::currency &currency)
 
void currencyDeleted (const QString &iso_code)
 
void showCurrencyHistory (const QString &iso_code)
 

Public Member Functions

 CurrencyMdiWindow (ClientManager *clientManager, const QString &username, QWidget *parent=nullptr)
 
ClientCurrencyModelcurrencyModel () const
 
QSize sizeHint () const override
 

Detailed Description

MDI window for displaying currencies.

Member Function Documentation

◆ markAsStale

void markAsStale ( )
slot

Mark the data as stale (changed on server).

Shows a visual indicator that data may be out of date and should be refreshed. Called when a currency change notification is received from the server.

◆ clearStaleIndicator

void clearStaleIndicator ( )
slot

Clear the stale indicator.

Called after data is reloaded to indicate data is fresh.