summaryrefslogtreecommitdiff
path: root/ui/qt/main_window.h
diff options
context:
space:
mode:
authorRoland Knall <rknall@gmail.com>2017-06-21 17:19:36 -0400
committerRoland Knall <rknall@gmail.com>2017-06-27 15:14:56 +0000
commit1426c44281c2b266d7159340f7e75afc56141b18 (patch)
treeb0fdf4f64e89559a216d0511e072b65cb0694d42 /ui/qt/main_window.h
parent6bd87bdd5d8f114768f5d9777d7e1713c017e488 (diff)
downloadwireshark-1426c44281c2b266d7159340f7e75afc56141b18.tar.gz
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 <a.broman58@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Roland Knall <rknall@gmail.com>
Diffstat (limited to 'ui/qt/main_window.h')
-rw-r--r--ui/qt/main_window.h6
1 files changed, 6 insertions, 0 deletions
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();