30 #ifndef RIOENGINE_EDITOR_QPROPERTYBROWSER_QOBJECTMODEL_H_
31 #define RIOENGINE_EDITOR_QPROPERTYBROWSER_QOBJECTMODEL_H_
33 #include <QAbstractListModel>
45 int rowCount (
const QModelIndex &parent = QModelIndex())
const;
46 int columnCount(
const QModelIndex &parent = QModelIndex())
const;
47 QVariant
data (
const QModelIndex &index,
int role)
const;
48 Qt::ItemFlags
flags(
const QModelIndex &index)
const;
49 QVariant
headerData(
int section, Qt::Orientation o,
int role)
const;
61 #endif // RIOENGINE_EDITOR_QPROPERTYBROWSER_QOBJECTMODEL_H_
int rowCount(const QModelIndex &parent=QModelIndex()) const
void removeChild(QString child_name)
QVariant data(const QModelIndex &index, int role) const
QList< QObject * > * m_children
QList< QObject * > * children() const
int columnCount(const QModelIndex &parent=QModelIndex()) const
QVariant headerData(int section, Qt::Orientation o, int role) const
void addChild(QObject *child)
QObjectModel(QObject *parent=0)
Qt::ItemFlags flags(const QModelIndex &index) const