对DataManager显示的的model
更多...
#include <DADataManagerTableModel.h>
|
|
| DADataManagerTableModel (QObject *p=nullptr) |
| |
|
| DADataManagerTableModel (DADataManager *dm, QObject *p=nullptr) |
| |
|
QVariant | headerData (int section, Qt::Orientation orientation, int role) const override |
| |
|
int | columnCount (const QModelIndex &parent=QModelIndex()) const override |
| |
|
int | rowCount (const QModelIndex &parent=QModelIndex()) const override |
| |
|
QVariant | data (const QModelIndex &index, int role=Qt::DisplayRole) const override |
| |
|
Qt::ItemFlags | flags (const QModelIndex &index) const override |
| |
|
void | setDataManager (DADataManager *dm) |
| |
|
QVariant | dataDisplay (const DAData &d, const QModelIndex &index) const |
| |
|
QVariant | dataDecoration (const DAData &d, const QModelIndex &index) const |
| |
|
QVariant | dataBackground (const DAData &d, const QModelIndex &index) const |
| |
|
QVariant | dataToolTip (const DAData &d, const QModelIndex &index) const |
| |
| void | refresh (int row, int col) |
| | 刷新
|
| |
◆ dataToIcon()
| QIcon DADataManagerTableModel::dataToIcon |
( |
const DAData & |
d | ) |
|
|
static |
◆ refresh()
| void DADataManagerTableModel::refresh |
( |
int |
row, |
|
|
int |
col |
|
) |
| |
该类的文档由以下文件生成:
- /home/runner/work/data-workbench/data-workbench/src/DAGui/Models/DADataManagerTableModel.h
- /home/runner/work/data-workbench/data-workbench/src/DAGui/Models/DADataManagerTableModel.cpp