35 #ifndef DISP3DLIB_ABSTRACTTREEITEM_H
36 #define DISP3DLIB_ABSTRACTTREEITEM_H
42 #include "../../../../disp3D_global.h"
49 #include <QStandardItem>
88 AbstractTreeItem(
int iType = Data3DTreeModelItemTypes::UnknownItem,
const QString& text =
"");
94 void setData(
const QVariant& value,
int role = Qt::UserRole + 1);
104 static void addItemWithDescription(QStandardItem* pItemParent, QStandardItem* pItemAdd);
114 QList<QStandardItem*> findChildren(
int type);
124 QList<QStandardItem*> findChildren(
const QString& text);
147 virtual void initItem();
155 virtual void onCheckStateChanged(
const Qt::CheckState& checkState);
167 void checkStateChanged(
const Qt::CheckState& checkState);
171 #endif // DISP3DLIB_ABSTRACTTREEITEM_H