summaryrefslogtreecommitdiff
path: root/ui/qt/sequence_dialog.h
diff options
context:
space:
mode:
authorGerald Combs <gerald@zing.org>2016-06-05 14:33:06 -0700
committerGerald Combs <gerald@wireshark.org>2016-06-06 15:24:16 +0000
commitd3b5e922c257f234f096e161da819c1ed579efe9 (patch)
tree9ae029f387f85d8c54286edb3f693d7772b519b0 /ui/qt/sequence_dialog.h
parent89896f83d8d215e34037b1f323e93a8204f59af4 (diff)
downloadwireshark-d3b5e922c257f234f096e161da819c1ed579efe9.tar.gz
Qt: Add zoom to the flow / sequence dialog.
Add zoom in and zoom out actions. Changes only affect the X axis (the spacing between the dashed lines). Bug: 10693 Change-Id: I145e8501239f26e1be6135bffabdebec14f262c1 Reviewed-on: https://code.wireshark.org/review/15746 Reviewed-by: Gerald Combs <gerald@wireshark.org>
Diffstat (limited to 'ui/qt/sequence_dialog.h')
-rw-r--r--ui/qt/sequence_dialog.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/ui/qt/sequence_dialog.h b/ui/qt/sequence_dialog.h
index 7113319959..52ce6e6e88 100644
--- a/ui/qt/sequence_dialog.h
+++ b/ui/qt/sequence_dialog.h
@@ -101,6 +101,8 @@ private slots:
void on_actionMoveLeft1_triggered();
void on_actionMoveUp1_triggered();
void on_actionMoveDown1_triggered();
+ void on_actionZoomIn_triggered();
+ void on_actionZoomOut_triggered();
private:
Ui::SequenceDialog *ui;
@@ -114,6 +116,7 @@ private:
QCPItemText *key_text_;
QCPItemText *comment_text_;
+ void zoomXAxis(bool in);
void panAxes(int x_pixels, int y_pixels);
void resetAxes(bool keep_lower = false);
void goToAdjacentPacket(bool next);