okteta
structtreemodel.cpp
Go to the documentation of this file.
bool setData(const QModelIndex &index, const QVariant &value, int role=Qt::EditRole)
Definition: structtreemodel.cpp:139
Interface that must be implemented by all datatypes.
Definition: datainformation.h:67
QVariant headerData(int column, int role)
Definition: structtool.cpp:210
void onChildrenAboutToBeRemoved(DataInformation *sender, uint startIndex, uint endIndex)
Definition: structtreemodel.cpp:79
int rowCount(const QModelIndex &parent=QModelIndex()) const
Definition: structtreemodel.cpp:219
virtual unsigned int childCount() const =0
Definition: datainformation.h:278
void onChildrenInserted(const DataInformation *sender, uint startIndex, uint endIndex)
Definition: structtreemodel.cpp:67
virtual ~StructTreeModel()
Definition: structtreemodel.cpp:51
void onChildrenRemoved(const DataInformation *sender, uint startIndex, uint endIndex)
Definition: structtreemodel.cpp:55
void onToolDataChange(int row, void *data)
Definition: structtreemodel.cpp:255
virtual QVariant childData(int row, int column, int role) const
the data of child at index row.
Definition: arraydatainformation.cpp:121
ArrayDataInformation * asArray()
virtual Qt::ItemFlags flags(int column, bool fileLoaded=true) const
Definition: datainformation.h:251
QVariant headerData(int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const
Definition: structtreemodel.cpp:168
Definition: arraydatainformation.h:36
int columnCount(const QModelIndex &parent=QModelIndex()) const
Definition: structtreemodel.cpp:105
virtual DataInformation * childAt(unsigned int) const =0
Definition: datainformation.h:268
QModelIndex parent(const QModelIndex &index) const
Definition: structtreemodel.cpp:202
bool setData(const QVariant &value, int role, DataInformation *item, uint row)
Definition: structtool.cpp:166
QModelIndex index(int row, int column, const QModelIndex &parent=QModelIndex()) const
Definition: structtreemodel.cpp:178
void onChildrenAboutToBeInserted(DataInformation *sender, uint startIndex, uint endIndex)
Definition: structtreemodel.cpp:92
StructTreeModel(StructTool *tool, QObject *parent=NULL)
Definition: structtreemodel.cpp:35
virtual bool isTopLevel() const =0
virtual QVariant data(int column, int role) const
get the necessary data (for the model)
Definition: datainformation.cpp:156
DataInformation * asDataInformation()
Definition: datainformationbase.h:107
Qt::ItemFlags flags(const QModelIndex &index) const
Definition: structtreemodel.cpp:160
Definition: datainformationbase.h:44
Definition: structtool.h:49
virtual bool hasChildren(const QModelIndex &parent=QModelIndex()) const
Definition: structtreemodel.cpp:235
QVariant data(const QModelIndex &index, int role) const
Definition: structtreemodel.cpp:111
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:04:09 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:04:09 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.