mkRPG
Public Member Functions
TypeItemModel2 Class Reference

The TypeItemModel class presents the type hierarchy using the QAbstractItemModel interface. More...

#include <typeitemmodel.h>

Public Member Functions

 TypeItemModel2 (QObject *parent=nullptr)
int columnCount (const QModelIndex &parent) const
int rowCount (const QModelIndex &parent) const
Qt::ItemFlags flags (const QModelIndex &index) const
QVariant data (const QModelIndex &index, int role) const
QModelIndex index (int row, int column, const QModelIndex &parent) const
QModelIndex parent (const QModelIndex &child) const
QVariant headerData (int section, Qt::Orientation orientation, int role) const
bool setData (const QModelIndex &index, const QVariant &value, int role)
void setGame (Game *g)

Detailed Description

The TypeItemModel class presents the type hierarchy using the QAbstractItemModel interface.

See also:
TypeTreeItem

The documentation for this class was generated from the following files:
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Properties Defines