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

MDI window for displaying countries. More...

#include <CountryMdiWindow.hpp>

Inheritance diagram for CountryMdiWindow:
Inheritance graph
Collaboration diagram for CountryMdiWindow:
Collaboration graph

Public Slots

void reload () override
 
void addNew ()
 
void editSelected ()
 
void deleteSelected ()
 
void viewHistorySelected ()
 
void exportToCSV ()
 
- 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 showCountryDetails (const refdata::domain::country &country)
 
void countryDeleted (const QString &alpha2_code)
 
void showCountryHistory (const QString &alpha2_code)
 

Public Member Functions

 CountryMdiWindow (ClientManager *clientManager, ImageCache *imageCache, const QString &username, QWidget *parent=nullptr)
 
ClientCountryModelcountryModel () 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 countries.

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.