diff options
author | Gerald Combs <gerald@wireshark.org> | 2015-06-16 17:24:19 -0700 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2015-06-17 01:25:27 +0000 |
commit | 26dacfc8c3befed5fb6dacd84e7d6107c6920b2e (patch) | |
tree | 21c776b6be914699bafbdd816da1fd7e632b298d /ui/qt/packet_list.h | |
parent | d5215c2ef6e73b5f073eb0d50e01da7d06d34923 (diff) |
Qt: Add protocol preferences menus.
Add protocol preferences in the packet list and packet detail context
menus. Note that we need a PreferencesEditorFrame in the main window for
editing numeric and string preferences. For now we just show the prefs
dialog.
Change-Id: Ice0cc8e9bc25963cc14aa47698f042f2a73088d8
Reviewed-on: https://code.wireshark.org/review/8957
Petri-Dish: Gerald Combs <gerald@wireshark.org>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Gerald Combs <gerald@wireshark.org>
Diffstat (limited to 'ui/qt/packet_list.h')
-rw-r--r-- | ui/qt/packet_list.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/ui/qt/packet_list.h b/ui/qt/packet_list.h index 41ae6b141b..206b8b5858 100644 --- a/ui/qt/packet_list.h +++ b/ui/qt/packet_list.h @@ -26,6 +26,7 @@ #include "packet_list_model.h" #include "preferences_dialog.h" #include "proto_tree.h" +#include "protocol_preferences_menu.h" #include "related_packet_delegate.h" #include <QMenu> @@ -84,6 +85,7 @@ private: capture_file *cap_file_; QMenu ctx_menu_; QMenu conv_menu_; + ProtocolPreferencesMenu proto_prefs_menu_; QAction *decode_as_; int ctx_column_; QByteArray column_state_; @@ -111,9 +113,10 @@ private: signals: void packetDissectionChanged(); void packetSelectionChanged(); - void showPreferences(PreferencesDialog::PreferencesPane start_pane); + void showColumnPreferences(PreferencesDialog::PreferencesPane start_pane); void editColumn(int column); void packetListScrolled(bool at_end); + void showProtocolPreferences(const QString module_name); public slots: void setCaptureFile(capture_file *cf); |