diff options
author | Gerald Combs <gerald@wireshark.org> | 2016-05-19 11:21:02 +0900 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2016-05-25 06:36:25 +0000 |
commit | 6952c1342a7c4ff1828e0bc1a36cfcfd394ee923 (patch) | |
tree | 433370041cf427f46d6a4d4c56d95726e93ec686 /ui/qt/sequence_dialog.h | |
parent | bf628988b655895ef429fa835e77c5fdca9a901b (diff) | |
download | wireshark-6952c1342a7c4ff1828e0bc1a36cfcfd394ee923.tar.gz |
Qt: Add Time and Comment labels to the sequence diagram.
Add "Time" and "Comment" labels to the sequence diagram similar to the
GTK+ UI. Draw a border around the diagram as well.
Widen the default spacing and set it to a simple em-width multiple.
Fix our port number alignment.
Copy over the sequence diagram colors from the GTK+ UI and add them to
ColorUtils. Color sequences according to their respective conversation
numbers.
To do:
- Add zoom.
Ping-Bug: 12419
Change-Id: I3f9b4ffbfcc34aae1c38e303cd36ff207be247b1
Reviewed-on: https://code.wireshark.org/review/15554
Reviewed-by: Gerald Combs <gerald@wireshark.org>
Petri-Dish: Gerald Combs <gerald@wireshark.org>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'ui/qt/sequence_dialog.h')
-rw-r--r-- | ui/qt/sequence_dialog.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ui/qt/sequence_dialog.h b/ui/qt/sequence_dialog.h index 59505583c6..e091b583b0 100644 --- a/ui/qt/sequence_dialog.h +++ b/ui/qt/sequence_dialog.h @@ -108,8 +108,10 @@ private: int num_items_; guint32 packet_num_; double one_em_; - int node_label_w_; + int sequence_w_; QMenu ctx_menu_; + QCPItemText *key_text_; + QCPItemText *comment_text_; void panAxes(int x_pixels, int y_pixels); void resetAxes(bool keep_lower = false); |