|
ORE Studio 0.0.4
|
Model for displaying bond instruments fetched from the server. More...
#include <ClientBondInstrumentModel.hpp>
Inherits QAbstractTableModel.

Public Types | |
| enum | Column { Id , TradeType , Issuer , Currency , FaceValue , CouponRate , MaturityDate , Version , ModifiedBy , RecordedAt , ColumnCount } |
Signals | |
| void | dataLoaded () |
| void | loadError (const QString &error_message, const QString &details={}) |
Public Member Functions | |
| ClientBondInstrumentModel (ClientManager *clientManager, QObject *parent=nullptr) | |
| int | rowCount (const QModelIndex &parent=QModelIndex()) const override |
| int | columnCount (const QModelIndex &parent=QModelIndex()) const override |
| QVariant | data (const QModelIndex &index, int role=Qt::DisplayRole) const override |
| QVariant | headerData (int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const override |
| void | refresh () |
| void | load_page (std::uint32_t offset, std::uint32_t limit) |
| const trading::domain::bond_instrument * | getBondInstrument (int row) const |
| std::uint32_t | page_size () const |
| void | set_page_size (std::uint32_t size) |
| std::uint32_t | total_available_count () const |
Model for displaying bond instruments fetched from the server.