From 1426c44281c2b266d7159340f7e75afc56141b18 Mon Sep 17 00:00:00 2001 From: Roland Knall Date: Wed, 21 Jun 2017 17:19:36 -0400 Subject: Qt: Context menu for toolbar filter buttons Adds a context menu for the toolbar filter buttons, which allows for opening the preference for the filter buttons, as well as direct edit, removal and disable functionality Change-Id: I5f2d132737c77804cf22834574dfe3c02f85fbdf Reviewed-on: https://code.wireshark.org/review/22327 Petri-Dish: Anders Broman Tested-by: Petri Dish Buildbot Reviewed-by: Roland Knall --- ui/qt/main_window.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'ui/qt/main_window.h') diff --git a/ui/qt/main_window.h b/ui/qt/main_window.h index a3509219e6..55e3407add 100644 --- a/ui/qt/main_window.h +++ b/ui/qt/main_window.h @@ -345,6 +345,12 @@ private slots: QMenu * searchSubMenu(QString objectName); void activatePluginIFToolbar(bool); + void filterToolbarCustomMenuHandler(const QPoint& globalPos); + void filterToolbarShowPreferences(); + void filterToolbarEditFilter(); + void filterToolbarDisableFilter(); + void filterToolbarRemoveFilter(); + void startInterfaceCapture(bool valid, const QString capture_filter); void applyGlobalCommandLineOptions(); -- cgit v1.2.1