10#ifndef SEQUENCE_DIALOG_H
11#define SEQUENCE_DIALOG_H
20#include <ui/qt/widgets/qcustomplot.h>
53 void ref() { count_++; }
58 void unref() {
if (--count_ == 0)
delete this; }
155 void updateWidgets();
161 void hScrollBarChanged(
int value);
167 void vScrollBarChanged(
int value);
173 void xAxisChanged(QCPRange range);
179 void yAxisChanged(QCPRange range);
185 void showContextMenu(
const QPoint &pos);
191 void diagramClicked(QMouseEvent *
event);
199 void axisDoubleClicked(QCPAxis *axis, QCPAxis::SelectablePart part, QMouseEvent *
event);
205 void mouseReleased(QMouseEvent *
event);
211 void mouseMoved(QMouseEvent *
event);
217 void mouseWheeled(QWheelEvent *
event);
232 void exportDiagram();
237 void layoutAxisLabels();
243 void addressChanged(
int index);
249 void displayFilterCheckBoxToggled(
bool checked);
255 void on_buttonBox_clicked(QAbstractButton *button);
260 void on_actionGoToPacket_triggered();
265 void on_actionGoToNextPacket_triggered() { goToAdjacentPacket(
true); }
270 void on_actionGoToPreviousPacket_triggered() { goToAdjacentPacket(
false); }
276 void on_flowComboBox_activated(
int index);
281 void on_actionMoveRight10_triggered();
286 void on_actionMoveLeft10_triggered();
291 void on_actionMoveUp10_triggered();
296 void on_actionMoveDown10_triggered();
301 void on_actionMoveRight1_triggered();
306 void on_actionMoveLeft1_triggered();
311 void on_actionMoveUp1_triggered();
316 void on_actionMoveDown1_triggered();
321 void on_actionZoomIn_triggered();
326 void on_actionZoomOut_triggered();
331 void on_actionSelectRtpStreams_triggered();
336 void on_actionDeselectRtpStreams_triggered();
341 void on_buttonBox_helpRequested();
346 void rtpPlayerReplace();
356 void rtpPlayerRemove();
360 Ui::SequenceDialog *ui;
372 uint32_t packet_num_;
384 QPushButton *reset_button_;
387 QToolButton *player_button_;
390 QPushButton *export_button_;
396 QCPItemText *key_text_;
399 QCPItemText *comment_text_;
408 QPointer<RtpStreamDialog> rtp_stream_dialog_;
411 bool voipFeaturesEnabled;
416 void enableVoIPFeatures();
422 void zoomXAxis(
bool in);
429 void panAxes(
int x_pixels,
int y_pixels);
435 void resetAxes(
bool keep_lower =
false);
441 void goToAdjacentPacket(
bool next);
450 static bool addFlowSequenceItem(
const void *key,
void *value,
void *userdata);
456 void processRtpStream(
bool select);
462 QVector<rtpstream_id_t *>getSelectedRtpIds();
Manages a capture file and its associated state and operations.
Definition capture_file.h:27
QCustomPlot plottable that renders a Wireshark sequence diagram, drawing arrows and comments between ...
Definition sequence_diagram.h:57
Dialog for displaying and interacting with a sequence diagram (e.g., VoIP call flows).
Definition sequence_dialog.h:76
~SequenceDialog()
Destroys the SequenceDialog object.
Definition sequence_dialog.cpp:241
void showEvent(QShowEvent *event)
Handles the show event for the dialog.
Definition sequence_dialog.cpp:277
void rtpPlayerDialogAddRtpStreams(QVector< rtpstream_id_t * > stream_ids)
Signal emitted to request adding RTP streams to the player dialog.
void rtpStreamsDialogDeselectRtpStreams(QVector< rtpstream_id_t * > stream_infos)
Signal emitted to request deselecting specific RTP streams in the stream dialog.
bool event(QEvent *event)
Handles generic events for the dialog.
Definition sequence_dialog.cpp:260
void keyPressEvent(QKeyEvent *event)
Handles key press events for navigation and zooming.
Definition sequence_dialog.cpp:289
void rtpPlayerDialogRemoveRtpStreams(QVector< rtpstream_id_t * > stream_ids)
Signal emitted to request removing RTP streams from the player dialog.
void rtpPlayerDialogReplaceRtpStreams(QVector< rtpstream_id_t * > stream_ids)
Signal emitted to request replacing RTP streams in the player dialog.
void rtpStreamsDialogSelectRtpStreams(QVector< rtpstream_id_t * > stream_infos)
Signal emitted to request selecting specific RTP streams in the stream dialog.
void resizeEvent(QResizeEvent *event)
Handles resize events to adjust diagram layout.
Definition sequence_dialog.cpp:282
Reference-counted wrapper for sequence analysis information.
Definition sequence_dialog.h:36
seq_analysis_info_t * sainfo()
Retrieves the sequence analysis info structure.
Definition sequence_dialog.h:48
void ref()
Increments the reference count.
Definition sequence_dialog.h:53
void unref()
Decrements the reference count and deletes the object if it reaches zero.
Definition sequence_dialog.h:58
Base class for Wireshark specific dialogs that require interaction with a CaptureFile.
Definition wireshark_dialog.h:38
Definition sequence_analysis.h:79
Represents a single event or message arrow in a sequence / flow graph analysis.
Definition sequence_analysis.h:52
Definition file-pcapng.h:57