aboutsummaryrefslogtreecommitdiffstats
path: root/ui/qt/main_window.ui
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2020-05-05 11:58:52 -0700
committerAnders Broman <a.broman58@gmail.com>2020-08-10 18:17:50 +0000
commit9b07412277b4436b30410bd07e9cb8ee0b88ddb2 (patch)
tree6f4a9b708fff97f17933720a7d2fb38a592fce4e /ui/qt/main_window.ui
parente846d238d7194188e211de7d7cacc531f388a183 (diff)
Qt: Add a packet diagram view.
Add a new top-level view that shows each packet as a series of diagrams similar to what you'd find in a networking textook or an RFC. Add proto_item_set_bits_offset_len so that we can display some diagram fields correctly. Bugs / to do: - Make this a separate dialog instead of a main window view? - Handle bitfields / flags Change-Id: Iba4897a5bf1dcd73929dde6210d5483cf07f54df Reviewed-on: https://code.wireshark.org/review/37497 Reviewed-by: Gerald Combs <gerald@wireshark.org> Petri-Dish: Gerald Combs <gerald@wireshark.org> Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'ui/qt/main_window.ui')
-rw-r--r--ui/qt/main_window.ui15
1 files changed, 15 insertions, 0 deletions
diff --git a/ui/qt/main_window.ui b/ui/qt/main_window.ui
index 024e3eebc5..79b6ffc08c 100644
--- a/ui/qt/main_window.ui
+++ b/ui/qt/main_window.ui
@@ -362,6 +362,7 @@
<addaction name="actionViewPacketList"/>
<addaction name="actionViewPacketDetails"/>
<addaction name="actionViewPacketBytes"/>
+ <addaction name="actionViewPacketDiagram"/>
<addaction name="separator"/>
<addaction name="menuTime_Display_Format"/>
<addaction name="menuName_Resolution"/>
@@ -2473,6 +2474,20 @@
<string>Show or hide the packet bytes</string>
</property>
</action>
+ <action name="actionViewPacketDiagram">
+ <property name="checkable">
+ <bool>true</bool>
+ </property>
+ <property name="checked">
+ <bool>true</bool>
+ </property>
+ <property name="text">
+ <string>Packet &amp;Diagram</string>
+ </property>
+ <property name="toolTip">
+ <string>Show or hide the packet diagram</string>
+ </property>
+ </action>
<action name="actionViewInternalsConversationHashTables">
<property name="text">
<string>&amp;Conversation Hash Tables</string>