#include <qobjecttreemodel.h>
Public Member Functions | |
| QObjectTreeModel (QObject *root, QObject *parent=0) | |
| virtual QVariant | data (const QModelIndex &index, int role=Qt::DisplayRole) const |
| virtual int | columnCount (const QModelIndex &parent=QModelIndex()) const |
| virtual int | rowCount (const QModelIndex &parent=QModelIndex()) const |
| virtual QModelIndex | parent (const QModelIndex &child) const |
| virtual QModelIndex | index (int row, int column, const QModelIndex &parent=QModelIndex()) const |
| virtual QVariant | headerData (int section, Qt::Orientation orientation, int role) const |
Protected Member Functions | |
| int | rowIndex (QObject *object) const |
Protected Attributes | |
| QObject * | m_root |
Definition at line 32 of file qobjecttreemodel.h.
Definition at line 27 of file qobjecttreemodel.cpp.
| int QObjectTreeModel::columnCount | ( | const QModelIndex & | parent = QModelIndex() |
) | const [virtual] |
Definition at line 60 of file qobjecttreemodel.cpp.
| QVariant QObjectTreeModel::data | ( | const QModelIndex & | index, | |
| int | role = Qt::DisplayRole | |||
| ) | const [virtual] |
Definition at line 33 of file qobjecttreemodel.cpp.
| QVariant QObjectTreeModel::headerData | ( | int | section, | |
| Qt::Orientation | orientation, | |||
| int | role | |||
| ) | const [virtual] |
Definition at line 112 of file qobjecttreemodel.cpp.
| QModelIndex QObjectTreeModel::index | ( | int | row, | |
| int | column, | |||
| const QModelIndex & | parent = QModelIndex() | |||
| ) | const [virtual] |
Definition at line 93 of file qobjecttreemodel.cpp.
| QModelIndex QObjectTreeModel::parent | ( | const QModelIndex & | child | ) | const [virtual] |
Definition at line 79 of file qobjecttreemodel.cpp.
| int QObjectTreeModel::rowCount | ( | const QModelIndex & | parent = QModelIndex() |
) | const [virtual] |
Definition at line 65 of file qobjecttreemodel.cpp.
| int QObjectTreeModel::rowIndex | ( | QObject * | object | ) | const [protected] |
Definition at line 132 of file qobjecttreemodel.cpp.
QObject* Gluon::Creator::QObjectTreeModel::m_root [protected] |
Definition at line 44 of file qobjecttreemodel.h.
1.6.3