|
ORE Studio 0.0.4
|
Qt table model for market series fetched from the market data service. More...
#include <ClientMarketSeriesModel.hpp>


Public Types | |
| enum | Column { SeriesType , Metric , Qualifier , AssetClass , Subclass , IsScalar , Version , ModifiedBy , RecordedAt , ColumnCount } |
Public Member Functions | |
| ClientMarketSeriesModel (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 (bool replace=true) |
| void | load_page (std::uint32_t offset, std::uint32_t limit) |
| void | set_series_type_filter (const std::string &series_type) |
| const marketdata::domain::market_series * | getSeries (int row) const |
| std::uint32_t | total_available_count () const |
| std::uint32_t | page_size () const |
| void | set_page_size (std::uint32_t size) |
Static Public Attributes | |
| static const QSize | kDefaultWindowSize = {1100, 600} |
| static constexpr std::string_view | kSettingsGroup = "MarketSeriesListWindow" |
Additional Inherited Members | |
Signals inherited from AbstractClientModel | |
| void | dataLoaded () |
| void | loadError (const QString &error_message, const QString &details={}) |
Qt table model for market series fetched from the market data service.