Go to the documentation of this file.
13 #ifndef ARCHETYPESMODEL_H
14 #define ARCHETYPESMODEL_H
20 #include <QAbstractTableModel>
31 int rowCount(
const QModelIndex &parent = QModelIndex())
const;
32 int columnCount(
const QModelIndex &parent = QModelIndex())
const;
33 QVariant
data(
const QModelIndex &
index,
int role = Qt::DisplayRole)
const;
34 QVariant
headerData(
int section, Qt::Orientation orientation,
int role = Qt::DisplayRole)
const;
35 Qt::ItemFlags
flags(
const QModelIndex &
index)
const;
36 bool setData(
const QModelIndex &
index,
const QVariant &
value,
int role = Qt::EditRole);
arch
DIALOGCHECK MINARGS 1 MAXARGS 1
int columnCount(const QModelIndex &parent=QModelIndex()) const
QVariant headerData(int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const
void archetypeModified(archetype *arch)
QVariant data(const QModelIndex &index, int role=Qt::DisplayRole) const
bool setData(const QModelIndex &index, const QVariant &value, int role=Qt::EditRole)
int rowCount(const QModelIndex &parent=QModelIndex()) const
ArchetypesModel(ResourcesManager *resourcesManager)
virtual ~ArchetypesModel()
Qt::ItemFlags flags(const QModelIndex &index) const
std::vector< ObjectWrapper * > myMonsters