diff options
author | Gerald Combs <gerald@wireshark.org> | 2013-10-25 23:16:56 +0000 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2013-10-25 23:16:56 +0000 |
commit | 7a2de9f471d1057ff5f90cb450ae9fe44cc7648a (patch) | |
tree | 0d1c8b1bc1691a1edc12de27ac412aece8f5ffec /ui/qt/sequence_dialog.h | |
parent | 95f484a91ee34ea3caa2c325170e52d0bf07489b (diff) | |
download | wireshark-7a2de9f471d1057ff5f90cb450ae9fe44cc7648a.tar.gz |
More sequence dialog updates.
Draw item labels and port numbers. Update the hint text. Make items
selectable. Resize fonts similar to the GTK+ version. Add scrollbars.
Update the cursor. Use pango_layout_set_ellipsize() in the GTK+ code.
Fixup comments.
svn path=/trunk/; revision=52855
Diffstat (limited to 'ui/qt/sequence_dialog.h')
-rw-r--r-- | ui/qt/sequence_dialog.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/ui/qt/sequence_dialog.h b/ui/qt/sequence_dialog.h index f6a5e15de8..44f213d5c1 100644 --- a/ui/qt/sequence_dialog.h +++ b/ui/qt/sequence_dialog.h @@ -59,16 +59,29 @@ public slots: protected: void showEvent(QShowEvent *event); void resizeEvent(QResizeEvent *event); + void mouseReleaseEvent(QMouseEvent *event); private slots: + void hScrollBarChanged(int value); + void vScrollBarChanged(int value); + void xAxisChanged(QCPRange range); + void yAxisChanged(QCPRange range); + void diagramClicked(QMouseEvent *event); + void mouseMoved(QMouseEvent *event); + void mouseReleased(QMouseEvent *event); + void on_resetButton_clicked(); + void on_actionGoToPacket_triggered(); private: Ui::SequenceDialog *ui; SequenceDiagram *seq_diagram_; capture_file *cap_file_; seq_analysis_info_t seq_analysis_; + int num_items_; + guint32 packet_num_; double one_em_; + int node_label_w_; void fillDiagram(); void resetAxes(bool keep_lower = false); |