diff options
author | Gerald Combs <gerald@wireshark.org> | 2013-11-12 01:08:08 +0000 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2013-11-12 01:08:08 +0000 |
commit | fc93c3a7c0dce5714b8e5488b4bf21ea1eaa2f03 (patch) | |
tree | e7607fa13375a9c5df84a51523ff097f53027283 /ui/qt/sequence_dialog.h | |
parent | edbe1983220bec8293c6cef036e038e39f5adc28 (diff) | |
download | wireshark-fc93c3a7c0dce5714b8e5488b4bf21ea1eaa2f03.tar.gz |
Sequence / flow diagram updates.
Add "Save As..." Add a context menu and keyboard shortcuts. Add a
tooltip.
svn path=/trunk/; revision=53263
Diffstat (limited to 'ui/qt/sequence_dialog.h')
-rw-r--r-- | ui/qt/sequence_dialog.h | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/ui/qt/sequence_dialog.h b/ui/qt/sequence_dialog.h index 186b6495bf..8da1c46b67 100644 --- a/ui/qt/sequence_dialog.h +++ b/ui/qt/sequence_dialog.h @@ -35,6 +35,7 @@ #include "sequence_diagram.h" #include <QDialog> +#include <QMenu> namespace Ui { class SequenceDialog; @@ -59,6 +60,7 @@ public slots: protected: void showEvent(QShowEvent *event); void resizeEvent(QResizeEvent *event); + void keyPressEvent(QKeyEvent *event); void mouseReleaseEvent(QMouseEvent *event); private slots: @@ -70,14 +72,21 @@ private slots: void mouseMoved(QMouseEvent *event); void mouseReleased(QMouseEvent *event); + void on_buttonBox_accepted(); void on_resetButton_clicked(); void on_actionGoToPacket_triggered(); - void on_showComboBox_currentIndexChanged(int index); - void on_flowComboBox_currentIndexChanged(int index); - void on_addressComboBox_currentIndexChanged(int index); + 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(); private: Ui::SequenceDialog *ui; @@ -88,8 +97,10 @@ private: guint32 packet_num_; double one_em_; int node_label_w_; + QMenu ctx_menu_; void fillDiagram(); + void panAxes(int x_pixels, int y_pixels); void resetAxes(bool keep_lower = false); }; |