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)
override;
49 virtual void timerEvent(QTimerEvent *event)
override;
50 virtual void keyReleaseEvent(QKeyEvent *event)
override;
51 virtual void focusInEvent(QFocusEvent *event)
override;
52 virtual bool eventFilter(QObject * obj, QEvent * ev)
override;
53 virtual QModelIndex moveCursor(CursorAction cursorAction, Qt::KeyboardModifiers modifiers)
override;
55 QString traverseTree(
const QModelIndex & rootNode,
int identLevel = 0)
const;
61 QList<QAction *> copy_actions_;
62 int column_resize_timer_;
63 QList<QPair<int,int> > selected_hfid_path_;
65 QPoint drag_start_position_;
70 void saveSelectedField(QModelIndex &index);
71 static void foreachTreeNode(
proto_node *node,
void *proto_tree_ptr);
72 void foreachExpand(
const QModelIndex &index);
76 void openPacketInNewWindow(
bool);
78 void relatedFrame(
int, ft_framenum_type_t);
79 void showProtocolPreferences(
const QString module_name);
81 void recolorPacketsRequested();
82 void redissectPacketsRequested();
88 void setMonospaceFont(
const QFont &mono_font);
89 void syncExpanded(
const QModelIndex & index);
90 void syncCollapsed(
const QModelIndex & index);
91 void expandSubtrees();
92 void collapseSubtrees();
95 void itemClicked(
const QModelIndex & index);
96 void itemDoubleClicked(
const QModelIndex & index);
98 void selectedFrameChanged(QList<int>);
101 void selectionChanged(
const QItemSelection &selected,
const QItemSelection &deselected)
override;
103 void ctxShowPacketBytes();
104 void ctxExportPacketBytes();
106 void ctxCopyVisibleItems();
107 void ctxCopyAsFilter();
108 void ctxCopySelectedInfo();
109 void ctxOpenUrlWiki();
112 void updateContentWidth();
113 void connectToMainWindow();