diff options
author | Gerald Combs <gerald@wireshark.org> | 2013-09-12 23:46:56 +0000 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2013-09-12 23:46:56 +0000 |
commit | 1ad683594d1cdd751cf3a81e71f3eb1091742a64 (patch) | |
tree | 9b196f844d79d00a14ba5b2767c2e39236f826f5 /ui/qt/tcp_stream_dialog.h | |
parent | e3ef5ac9fb84c407e72e6fde0325653cabf06737 (diff) |
Add a context menu to the TCP stream graph which includes all of our
keyboard shortcuts.
svn path=/trunk/; revision=51996
Diffstat (limited to 'ui/qt/tcp_stream_dialog.h')
-rw-r--r-- | ui/qt/tcp_stream_dialog.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/ui/qt/tcp_stream_dialog.h b/ui/qt/tcp_stream_dialog.h index 7be1e2fc07..49c603239a 100644 --- a/ui/qt/tcp_stream_dialog.h +++ b/ui/qt/tcp_stream_dialog.h @@ -36,6 +36,7 @@ #include "qcustomplot.h" #include <QDialog> +#include <QMenu> #include <QRubberBand> namespace Ui { @@ -79,12 +80,15 @@ private: bool mouse_drags_; QRubberBand *rubber_band_; QPoint rb_origin_; + QMenu ctx_menu_; int num_dsegs_; int num_acks_; int num_sack_ranges_; void fillGraph(); + void zoomAxes(bool in); + void panAxes(int x_pixels, int y_pixels); void resetAxes(); void fillStevens(); void fillThroughput(); @@ -109,6 +113,24 @@ private slots: void on_otherDirectionButton_clicked(); void on_dragRadioButton_toggled(bool checked); void on_selectRadioButton_toggled(bool checked); + void on_actionZoomIn_triggered(); + void on_actionZoomOut_triggered(); + void on_actionReset_triggered(); + void on_actionMoveRight10_triggered(); + void on_actionMoveLeft10_triggered(); + void on_actionMoveUp10_triggered(); + void on_actionMoveDown10_triggered(); + void on_actionMoveRight1_triggered(); + void on_actionMoveLeft1_triggered(); + void on_actionMoveUp1_triggered(); + void on_actionMoveDown1_triggered(); + void on_actionNextStream_triggered(); + void on_actionPreviousStream_triggered(); + void on_actionSwitchDirection_triggered(); + void on_actionGoToPacket_triggered(); + void on_actionDragZoom_triggered(); + void on_actionToggleSequenceNumbers_triggered(); + void on_actionToggleTimeOrigin_triggered(); }; #endif // TCP_STREAM_DIALOG_H |