16 #ifndef KDSME_MODEL_ELEMENTMODEL_H 17 #define KDSME_MODEL_ELEMENTMODEL_H 20 #include "objecttreemodel.h" 21 #include "kdsme_core_export.h" 23 #include <QAbstractItemModel> 26 #include <QSortFilterProxyModel> 43 bool filterAcceptsRow(
int source_row,
const QModelIndex& source_parent)
const override;
53 Q_PROPERTY(
KDSME::State* state READ state WRITE setState)
57 ObjectRole = Qt::UserRole + 1,
71 void setState(
State* state);
74 int columnCount(
const QModelIndex& parent)
const override;
76 QVariant headerData(
int section, Qt::Orientation orientation,
int role = Qt::DisplayRole)
const override;
87 Q_PROPERTY(
KDSME::State* state READ state WRITE setState)
91 ElementRole = ObjectTreeModel::UserRole + 1,
99 void setState(
State* state);
102 QVariant headerData(
int section, Qt::Orientation orientation,
int role = Qt::DisplayRole)
const override;
Definition: elementmodel.h:50
Definition: elementmodel.h:84
Definition: elementmodel.h:33
Role
Definition: elementmodel.h:90
return quint64
Definition: elementmodel.h:92
Definition: objecttreemodel.h:27
Definition: mainwindow.h:21