#include <historymodel.h>
Public Member Functions | |
HistoryModel (QObject *parent, DataProject *project) | |
int | rowCount (const QModelIndex &parent=QModelIndex()) const |
int | columnCount (const QModelIndex &parent=QModelIndex()) const |
QStringList | data (const int row) const |
QVariant | data (const QModelIndex &index, int role=Qt::DisplayRole) const |
QVariant | headerData (int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const |
Qt::ItemFlags | flags (const QModelIndex &index) const |
Definition at line 10 of file historymodel.h.
HistoryModel::HistoryModel | ( | QObject * | parent, | |
DataProject * | project | |||
) |
int HistoryModel::columnCount | ( | const QModelIndex & | parent = QModelIndex() |
) | const |
Definition at line 15 of file historymodel.cpp.
QVariant HistoryModel::data | ( | const QModelIndex & | index, | |
int | role = Qt::DisplayRole | |||
) | const |
QStringList HistoryModel::data | ( | const int | row | ) | const |
Qt::ItemFlags HistoryModel::flags | ( | const QModelIndex & | index | ) | const |
Definition at line 55 of file historymodel.cpp.
QVariant HistoryModel::headerData | ( | int | section, | |
Qt::Orientation | orientation, | |||
int | role = Qt::DisplayRole | |||
) | const |
Definition at line 42 of file historymodel.cpp.
int HistoryModel::rowCount | ( | const QModelIndex & | parent = QModelIndex() |
) | const |
Definition at line 9 of file historymodel.cpp.