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

MDI window for displaying and managing day count fraction types. More...

#include <DayCountFractionTypeMdiWindow.hpp>

Inheritance diagram for DayCountFractionTypeMdiWindow:
Inheritance graph
Collaboration diagram for DayCountFractionTypeMdiWindow:
Collaboration graph

Public Slots

void doReload () override
 
void addNew ()
 
void editSelected ()
 
void deleteSelected ()
 
void viewHistorySelected ()
 
- Public Slots inherited from EntityListMdiWindow
void markAsStale ()
 Mark the list as stale (data changed on server).
 
void clearStaleIndicator ()
 Clear the stale indicator.
 
void reload ()
 Reload data from the server.
 

Signals

void statusChanged (const QString &message)
 
void errorOccurred (const QString &error_message)
 
void showTypeDetails (const trading::domain::day_count_fraction_type &type)
 
void addNewRequested ()
 
void typeDeleted (const QString &code)
 
void showTypeHistory (const trading::domain::day_count_fraction_type &type)
 

Public Member Functions

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

Protected Member Functions

QString normalRefreshTooltip () const override
 Get the normal (non-stale) tooltip text for the refresh action.
 
- Protected Member Functions inherited from EntityListMdiWindow
virtual void doReload ()=0
 Subclass implementation of the reload operation.
 
virtual void saveSettings ()
 Save window settings (column visibility, window size, etc.).
 
void closeEvent (QCloseEvent *event) override
 
void initializeTableSettings (QTableView *tableView, QAbstractItemModel *sourceModel, std::string_view settingsGroup, const QVector< int > &defaultHiddenColumns={}, const QSize &defaultSize={900, 400}, int settingsVersion=1, QSplitter *splitter=nullptr)
 Configure table header, column visibility, and settings persistence.
 
void initializeStaleIndicator (QAction *refreshAction, const QString &iconPath)
 Initialize the stale indicator support.
 
QProgressBar * loadingBar ()
 Return the shared loading progress bar.
 
void beginLoading ()
 Show the loading bar and disable the reload action.
 
void endLoading ()
 Hide the loading bar and re-enable the reload action.
 
void connectModel (AbstractClientModel *model)
 Wire endLoading() to the model's standard lifecycle signals.
 
virtual QString staleRefreshTooltip () const
 Get the stale tooltip text for the refresh action.
 

Additional Inherited Members

- Protected Attributes inherited from EntityListMdiWindow
QSize savedWindowSize_
 Saved window size from QSettings.
 

Detailed Description

MDI window for displaying and managing day count fraction types.

Provides a table view of day count fraction types with toolbar actions for reload, add, edit, delete, and viewing history.

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.