28 #include <QAbstractItemModel>
29 #include <QModelIndex>
31 #include <QStringList>
71 QModelIndex index(
int row,
int column,
const QModelIndex &parent = QModelIndex())
const;
72 QModelIndex parent(
const QModelIndex &index)
const;
73 int rowCount(
const QModelIndex &parent = QModelIndex())
const;
74 int columnCount(
const QModelIndex &parent = QModelIndex())
const;
75 QVariant headerData(
int section,
Qt::Orientation orientation,
int role = Qt::DisplayRole )
const;
76 bool setHeaderData(
int section,
Qt::Orientation orientation,
const QVariant &value,
int role = Qt::EditRole);
77 QVariant data(
const QModelIndex &index,
int role = Qt::DisplayRole)
const;
78 bool setData(
const QModelIndex &index,
const QVariant &value,
int role = Qt::EditRole);
79 Qt::ItemFlags flags(
const QModelIndex &index)
const;
93 bool addData(
DataObject * dataObject,
const QStringList &path);
102 TreeItem *getItem(
const QModelIndex &index = QModelIndex())
const;
Orientation
Orientation.
Definition: SalomePyQt.h:137
#define TREEDATA_EXPORT
Definition: TreeData.hxx:33
Definition: DataObject.hxx:30
For more information see QT documentation.
Definition: SUIT_Application.h:42
Definition: TreeItem.hxx:36
Definition: TreeModel.hxx:39
TreeItem * _rootItem
Definition: TreeModel.hxx:103
Definition: TreeView.hxx:34