|
ORE Studio 0.0.4
|
Model for displaying system settings fetched from the server. More...
#include <ClientSystemSettingModel.hpp>


Public Types | |
| enum | Column { Name , Enabled , Version , ModifiedBy , RecordedAt , ColumnCount } |
| Enumeration of table columns for type-safe column access. | |
Public Member Functions | |
| ClientSystemSettingModel (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 () |
| Refresh system setting data from server asynchronously. | |
| const variability::domain::system_setting * | getSystemSetting (int row) const |
| Get system setting at the specified row. | |
Additional Inherited Members | |
Signals inherited from AbstractClientModel | |
| void | dataLoaded () |
| void | loadError (const QString &error_message, const QString &details={}) |
Model for displaying system settings fetched from the server.
This model extends QAbstractTableModel and fetches system setting data asynchronously using the ores.comms client.
| const variability::domain::system_setting * getSystemSetting | ( | int | row | ) | const |
Get system setting at the specified row.
| row | The row index. |