|
ORE Studio 0.0.4
|
Table model for displaying catalogs in a QTableView. More...
#include <ClientCatalogModel.hpp>
Inherits QAbstractTableModel.

Public Types | |
| enum | Column { Name = 0 , Description , Owner , Version , RecordedBy , RecordedAt , ColumnCount } |
Signals | |
| void | loadStarted () |
| void | loadFinished () |
| void | errorOccurred (const QString &message, const QString &details={}) |
Public Member Functions | |
| ClientCatalogModel (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 | loadData () |
| const dq::domain::catalog & | catalogAt (int row) const |
Table model for displaying catalogs in a QTableView.
Provides async loading from server with recency highlighting for recently modified records. Records modified since the last reload are highlighted with a pulsing color effect.