35 QWidget *createEditor(QWidget *parent,
const QStyleOptionViewItem &option,
36 const QModelIndex &index)
const override;
37 void destroyEditor(QWidget *editor,
const QModelIndex &index)
const override;
38 void setEditorData(QWidget *editor,
const QModelIndex &index)
const override;
39 void setModelData(QWidget *editor, QAbstractItemModel *model,
40 const QModelIndex &index)
const override;
43 void updateEditorGeometry(QWidget *editor,
44 const QStyleOptionViewItem &option,
const QModelIndex &index)
const;
48 DecodeAsItem *indexToField(
const QModelIndex &index)
const;
49 void collectDAProtocols(QSet<QString>& all_protocols, QList<QString>& current_list)
const;
50 void cachePacketProtocols();
53 static void decodeAddProtocol(
const char *table_name,
const char *proto_name,
void *value,
void *user_data);
56 QList<packet_proto_data_t> packet_proto_list_;