24 #include <QtCore/QAbstractItemModel>
25 #include <tulip/tulipconf.h>
26 #include <tulip/TulipMetaTypes.h>
30 class TLP_QT_SCOPE TulipModel:
public QAbstractItemModel {
36 GraphRole = Qt::UserRole+1,
37 PropertyRole = Qt::UserRole+2,
38 IsNodeRole = Qt::UserRole+3,
39 StringRole = Qt::UserRole+4,
40 MandatoryRole = Qt::UserRole+5,
41 ElementIdRole = Qt::UserRole+6
44 explicit TulipModel(QObject *parent=NULL);
45 virtual ~TulipModel();
47 QVariant headerData(
int section, Qt::Orientation orientation,
int role)
const;
50 void checkStateChanged(QModelIndex,Qt::CheckState);
55 #endif // TULIPMODEL_H