31 QMenu *colorizeMenu() {
return &colorize_menu_; }
33 void emitRelatedFrame(
int related_frame, ft_framenum_type_t framenum_type = FT_FRAMENUM_NONE);
34 void autoScrollTo(
const QModelIndex &index);
35 void goToHfid(
int hfid);
37 void restoreSelectedField();
38 QString toString(
const QModelIndex &start_idx = QModelIndex())
const;
48 virtual void contextMenuEvent(QContextMenuEvent *event);
49 virtual void timerEvent(QTimerEvent *event);
50 virtual void keyReleaseEvent(QKeyEvent *event);
51 virtual bool eventFilter(QObject * obj, QEvent * ev);
52 virtual QModelIndex moveCursor(CursorAction cursorAction, Qt::KeyboardModifiers modifiers);
54 QString traverseTree(
const QModelIndex & rootNode,
int identLevel = 0)
const;
60 QList<QAction *> copy_actions_;
61 int column_resize_timer_;
62 QList<QPair<int,int> > selected_hfid_path_;
64 QPoint drag_start_position_;
69 void saveSelectedField(QModelIndex &index);
70 static void foreachTreeNode(
proto_node *node,
void *proto_tree_ptr);
71 void foreachExpand(
const QModelIndex &index);
75 void openPacketInNewWindow(
bool);
77 void relatedFrame(
int, ft_framenum_type_t);
78 void showProtocolPreferences(
const QString module_name);
85 void setMonospaceFont(
const QFont &mono_font);
86 void syncExpanded(
const QModelIndex & index);
87 void syncCollapsed(
const QModelIndex & index);
88 void expandSubtrees();
89 void collapseSubtrees();
92 void itemClicked(
const QModelIndex & index);
93 void itemDoubleClicked(
const QModelIndex & index);
95 void selectedFrameChanged(QList<int>);
98 void selectionChanged(
const QItemSelection &selected,
const QItemSelection &deselected);
100 void ctxShowPacketBytes();
101 void ctxExportPacketBytes();
103 void ctxCopyVisibleItems();
104 void ctxCopyAsFilter();
105 void ctxCopySelectedInfo();
106 void ctxOpenUrlWiki();
109 void updateContentWidth();
110 void connectToMainWindow();