30 #include <QModelIndex>
38 TreeItem(
const QString &nameId,
const QVector<QVariant> &columnValues,
TreeItem *parent = 0);
44 QModelIndex modelIndex(
int column=0);
49 const QStringList &relativePath=QStringList());
50 void appendChild(
const QString &nameId,
51 const QVector<QVariant> &columnValues,
52 const QStringList &relativePath=QStringList());
56 const QStringList &relativePath=QStringList());
59 TreeItem *childById(
const QString &nameId);
60 TreeItem *childByLabel(
const QString &label);
61 int childCount()
const;
62 int columnCount()
const;
64 QVariant data(
int column)
const;
65 bool setData(
int column,
const QVariant &value);
68 void initialize(
const QString &nameId,
69 const QVector<QVariant> &columnValues,