27 virtual Qt::ItemFlags flags(
const QModelIndex &index)
const;
28 QModelIndex index(
int row,
int,
const QModelIndex &parent = QModelIndex())
const;
29 virtual QModelIndex parent(
const QModelIndex &index)
const;
30 virtual int rowCount(
const QModelIndex &parent = QModelIndex())
const;
31 virtual int columnCount(
const QModelIndex &)
const {
return 1; }
32 virtual QVariant data(
const QModelIndex &index,
int role = Qt::DisplayRole)
const;
36 ProtoNode* protoNodeFromIndex(
const QModelIndex &index)
const;
37 QModelIndex indexFromProtoNode(
ProtoNode *index_node)
const;
39 QModelIndex findFirstHfid(
int hf_id);
44 static bool foreachFindHfid(
ProtoNode *node,
void *find_hfid_ptr);
45 static bool foreachFindField(
ProtoNode *node,
void *find_finfo_ptr);