#include <cmdLogModel.h>
|
| CmdLogModel (QObject *parent=0) |
|
| CmdLogModel (QList< LogInfo > logInfos, QObject *parent=0) |
|
int | rowCount (const QModelIndex &parent) const override |
|
int | rowCount () const |
|
int | columnCount (const QModelIndex &parent) const override |
|
QVariant | data (const QModelIndex &index, int role) const override |
|
QVariant | headerData (int section, Qt::Orientation orientation, int role) const override |
|
Qt::ItemFlags | flags (const QModelIndex &index) const override |
|
bool | setData (const QModelIndex &index, const QVariant &value, int role=Qt::EditRole) override |
|
bool | insertRows (int position, int rows, const QModelIndex &index=QModelIndex()) override |
|
bool | removeRows (int position, int rows, const QModelIndex &index=QModelIndex()) override |
|
QList< LogInfo > | getLogInfos () const |
|
CmdLogModel::CmdLogModel |
( |
QObject * |
parent = 0 | ) |
|
|
explicit |
CmdLogModel::CmdLogModel |
( |
QList< LogInfo > |
logInfos, |
|
|
QObject * |
parent = 0 |
|
) |
| |
|
explicit |
int CmdLogModel::columnCount |
( |
const QModelIndex & |
parent | ) |
const |
|
override |
QVariant CmdLogModel::data |
( |
const QModelIndex & |
index, |
|
|
int |
role |
|
) |
| const |
|
override |
Qt::ItemFlags CmdLogModel::flags |
( |
const QModelIndex & |
index | ) |
const |
|
override |
QList< LogInfo > CmdLogModel::getLogInfos |
( |
| ) |
const |
QVariant CmdLogModel::headerData |
( |
int |
section, |
|
|
Qt::Orientation |
orientation, |
|
|
int |
role |
|
) |
| const |
|
override |
bool CmdLogModel::insertRows |
( |
int |
position, |
|
|
int |
rows, |
|
|
const QModelIndex & |
index = QModelIndex() |
|
) |
| |
|
override |
bool CmdLogModel::removeRows |
( |
int |
position, |
|
|
int |
rows, |
|
|
const QModelIndex & |
index = QModelIndex() |
|
) |
| |
|
override |
int CmdLogModel::rowCount |
( |
const QModelIndex & |
parent | ) |
const |
|
override |
int CmdLogModel::rowCount |
( |
| ) |
const |
bool CmdLogModel::setData |
( |
const QModelIndex & |
index, |
|
|
const QVariant & |
value, |
|
|
int |
role = Qt::EditRole |
|
) |
| |
|
override |
The documentation for this class was generated from the following files: