109 struct FrameByteAnnotation {
128 bool is_fixed_packet_;
137 QVector<FrameByteAnnotation> annotations_;
140 QColor last_annotation_color_;
150 QColor last_themed_annotation_color_;
153 bool annotations_session_notice_shown_;
158 void setTabsVisible();
173 void addTab(
const char *name =
"",
const struct data_source *source =
nullptr);
178 void applyAnnotationsToViews();
184 int currentFrameNumber()
const;
192 int findAnnotationIndexAt(
int frame,
int byte)
const;
201 int findAnnotationIndexIntersecting(
int frame,
int start,
int length)
const;
212 void showAnnotationsSessionNotice();
232 void byteViewTextHovered(
int idx);
238 void byteViewTextMarked(
int idx);
243 void handleAddAnnotation();
248 void handleEditAnnotation();
253 void handleRemoveAnnotation();
259 void handleSetOffsetStart(
int byte);
265 void handleSetOffsetEnd(
int byte);
270 void handleClearOffsetMarkers();
275 void connectToMainWindow();
281 void captureActive(
int cap);
Abstract base class for widgets that display raw packet byte data.
Definition base_data_source_view.h:20
A tab widget that manages and displays different data sources for a packet (e.g., Hex,...
Definition data_source_tab.h:36
void setCaptureFile(capture_file *cf)
Set the capture file.
Definition data_source_tab.cpp:930
void tabInserted(int tab_index)
Called when a new tab is inserted.
Definition data_source_tab.cpp:753
void detachData(void)
Signal emitted to request detaching the current data view into a new window.
void selectedFieldChanged(FieldInformation *field)
Selects or marks a field in the view based on the tree selection.
Definition data_source_tab.cpp:844
void highlightedFieldChanged(FieldInformation *field)
Highlights a field in the view based on tree hover state.
Definition data_source_tab.cpp:908
void tabRemoved(int tab_index)
Called when a tab is removed.
Definition data_source_tab.cpp:758
void selectedFrameChanged(QList< int > frames)
Creates the tabs and data, depends on a dissection which has already run.
Definition data_source_tab.cpp:770
void byteViewUnmarkField(void)
Signal emitted to request unmarking a field in the byte view.
void fieldSelected(FieldInformation *field)
Signal emitted when a field is selected within the view.
void fieldHighlight(FieldInformation *field)
Signal emitted when a field is highlighted (hovered) within the view.
void captureFileClosing(void)
Slot triggered when the underlying capture file is closing.
Definition data_source_tab.cpp:940
void byteViewSettingsChanged(void)
Signal emitted when byte view settings have been modified.
A fully custom-painted hex dump view for a single packet data source.
Definition hex_data_source_view.h:39
Represents a capture file and its associated metadata.
Definition cfile.h:84
Holds all state for the dissection of a single byte array, including session, buffer,...
Definition epan_dissect.h:28
Core tvbuff (testy virtual buffer) structure representing a region of packet data,...
Definition tvbuff-int.h:95