OpenMW
|
#include <reportmodel.hpp>
Public Member Functions | |
virtual int | rowCount (const QModelIndex &parent=QModelIndex()) const |
virtual int | columnCount (const QModelIndex &parent=QModelIndex()) const |
virtual QVariant | data (const QModelIndex &index, int role=Qt::DisplayRole) const |
virtual QVariant | headerData (int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const |
virtual bool | removeRows (int row, int count, const QModelIndex &parent=QModelIndex()) |
void | add (const std::string &row) |
const CSMWorld::UniversalId & | getUniversalId (int row) const |
Private Attributes | |
std::vector< std::pair < CSMWorld::UniversalId, std::string > > | mRows |
void CSMTools::ReportModel::add | ( | const std::string & | row | ) |
int CSMTools::ReportModel::columnCount | ( | const QModelIndex & | parent = QModelIndex() | ) | const [virtual] |
QVariant CSMTools::ReportModel::data | ( | const QModelIndex & | index, |
int | role = Qt::DisplayRole |
||
) | const [virtual] |
const CSMWorld::UniversalId & CSMTools::ReportModel::getUniversalId | ( | int | row | ) | const |
QVariant CSMTools::ReportModel::headerData | ( | int | section, |
Qt::Orientation | orientation, | ||
int | role = Qt::DisplayRole |
||
) | const [virtual] |
bool CSMTools::ReportModel::removeRows | ( | int | row, |
int | count, | ||
const QModelIndex & | parent = QModelIndex() |
||
) | [virtual] |
int CSMTools::ReportModel::rowCount | ( | const QModelIndex & | parent = QModelIndex() | ) | const [virtual] |
std::vector<std::pair<CSMWorld::UniversalId, std::string> > CSMTools::ReportModel::mRows [private] |