4
#include <QStandardItemModel>
5
#include <QErrorMessage>
7
class TreeModel : public QStandardItemModel
12
bool setData(const QModelIndex &index, const QVariant &value, int role = Qt::EditRole);
13
void setInteraction(bool value);
14
void selectAll(bool select = true);
15
void changeAllChildren(QStandardItem *item, const QVariant &value, int role);
16
void enableAllChildren(bool enable, QStandardItem *item);
17
bool allInStatus(Qt::CheckState wanted_status);
18
QErrorMessage *m_messageBox;
19
QString deselect_warning;