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

MDI window for displaying currencies. More...

#include <CurrencyMdiWindow.hpp>

Inheritance diagram for CurrencyMdiWindow:
Inheritance graph
Collaboration diagram for CurrencyMdiWindow:
Collaboration graph

Public Slots

void reload () override
 
void addNew ()
 
void editSelected ()
 
void deleteSelected ()
 
void viewHistorySelected ()
 
void importFromXML ()
 
void exportToCSV ()
 
void exportToXML ()
 
void generateSynthetic ()
 
- Public Slots inherited from EntityListMdiWindow
void markAsStale ()
 Mark the list as stale (data changed on server).
 
void clearStaleIndicator ()
 Clear the stale indicator.
 
virtual void reload ()=0
 Reload data from the server.
 

Signals

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

Public Member Functions

 CurrencyMdiWindow (ClientManager *clientManager, ImageCache *imageCache, const QString &username, QWidget *parent=nullptr)
 
ClientCurrencyModelcurrencyModel () const
 
QSize sizeHint () const override
 
- Public Member Functions inherited from EntityListMdiWindow
 EntityListMdiWindow (QWidget *parent=nullptr)
 

Protected Member Functions

QString normalRefreshTooltip () const override
 Get the normal (non-stale) tooltip text for the refresh action.
 
void closeEvent (QCloseEvent *event) override
 
- Protected Member Functions inherited from EntityListMdiWindow
void initializeStaleIndicator (QAction *refreshAction, const QString &iconPath)
 Initialize the stale indicator support.
 
virtual QString staleRefreshTooltip () const
 Get the stale tooltip text for the refresh action.
 

Detailed Description

MDI window for displaying currencies.

Member Function Documentation

◆ normalRefreshTooltip()

QString normalRefreshTooltip ( ) const
overrideprotectedvirtual

Get the normal (non-stale) tooltip text for the refresh action.

Override this to customize the tooltip text.

Reimplemented from EntityListMdiWindow.