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);
struct _capture_file capture_file
Represents a capture file and its associated metadata.
Abstract base class for widgets that display raw packet byte data.
Definition base_data_source_view.h:20
void setCaptureFile(capture_file *cf)
Set the capture file.
Definition data_source_tab.cpp:928
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:842
void highlightedFieldChanged(FieldInformation *field)
Highlights a field in the view based on tree hover state.
Definition data_source_tab.cpp:906
void selectedFrameChanged(QList< int > frames)
Creates the tabs and data, depends on a dissection which has already run.
Definition data_source_tab.cpp:768
void byteViewUnmarkField(void)
Signal emitted to request unmarking a field in the byte view.
void tabInserted(int tab_index) override
Called when a new tab is inserted.
Definition data_source_tab.cpp:751
void fieldSelected(FieldInformation *field)
Signal emitted when a field is selected within the view.
DataSourceTab(QWidget *parent=0, epan_dissect_t *edt_fixed=0)
Constructs a new DataSourceTab.
Definition data_source_tab.cpp:171
void fieldHighlight(FieldInformation *field)
Signal emitted when a field is highlighted (hovered) within the view.
void tabRemoved(int tab_index) override
Called when a tab is removed.
Definition data_source_tab.cpp:756
void captureFileClosing(void)
Slot triggered when the underlying capture file is closing.
Definition data_source_tab.cpp:938
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
struct epan_dissect epan_dissect_t
Opaque type representing a single packet dissection context.
Definition epan.h:62