diff options
author | Gerald Combs <gerald@wireshark.org> | 2015-07-29 16:24:39 -0700 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2015-07-30 19:13:38 +0000 |
commit | 16b048d34b51af0ddcfe6dd47865628bcd07223c (patch) | |
tree | 356e85b15a51a3418401efe9c90a2b447df4457d /ui/qt/byte_view_text.h | |
parent | e482786ae8278377edeb1ac40cb68accdb71451f (diff) |
Packet list and detail context menu updates.
Add some missing items to the packet list and detail "Copy" context
menus. Don't nest the "Copy" items so deeply. Add YAML to the supported
summary formats.
Note that "Copy as Binary" copies to the clipboard as
application/octet-stream, which is a) arguably correct, and b) not very
useful. Fixes welcome.
Enable and disable packet detail context menu items from a set of
booleans similar to the packet list.
Change-Id: Iaa931c766aa476c33f27de089e5c4dbaf9ce74d6
Ping-Bug: 9320
Bug: 10831
Reviewed-on: https://code.wireshark.org/review/9825
Reviewed-by: Gerald Combs <gerald@wireshark.org>
Diffstat (limited to 'ui/qt/byte_view_text.h')
-rw-r--r-- | ui/qt/byte_view_text.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/qt/byte_view_text.h b/ui/qt/byte_view_text.h index 805a0880e8..74898ece49 100644 --- a/ui/qt/byte_view_text.h +++ b/ui/qt/byte_view_text.h @@ -56,6 +56,7 @@ public: void setFieldHighlight(int start, int end, guint32 mask = 0, int mask_le = 0); void setFieldAppendixHighlight(int start, int end); bool isEmpty() { return tvb_ == NULL || proto_tree_ == NULL; } + const guint8 *dataAndLength(guint *data_len_ptr); signals: void byteFieldHovered(const QString &); |