summaryrefslogtreecommitdiff
path: root/ui/qt/main_window.h
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2015-08-18 11:46:12 -0700
committerGerald Combs <gerald@wireshark.org>2015-08-20 23:12:37 +0000
commit2ed3d91b45332a2cbb4114b61f18c80fb28a6840 (patch)
tree1c37bec81ce931d54d8e0a3f59812dcdfe9c505f /ui/qt/main_window.h
parent0f9bbbc6f7146747841760102a74efb96161ad99 (diff)
downloadwireshark-2ed3d91b45332a2cbb4114b61f18c80fb28a6840.tar.gz
Add the WLAN statistics dialog.
Instead of splitting the stats into two lists as with the GTK+ UI, add everything to an expandable tree. This allows viewing nodes on more than one network. Rename the top-level Bluetooth menu item to Wireless and put the WLAN stats dialog there. The Qt UI matches SSIDs (WlanNetworkTreeWidgetItem::isMatch) a bit differently than the GTK+ UI. Try to make the logic as plain as possible since we'll likely have to update it in the future. The addition of a custom BSSID address types means that we can't assume that everything is AT_ETHER. Add routines for checking for broadcast BSSIDs and comparing only the data portions of addresses. Move PercentBarDelegate into its own module. Use it in WlanStatisticsDialog. Change-Id: Ie4214eb00671a890871380c4a07213ebfb7585c6 Reviewed-on: https://code.wireshark.org/review/10171 Reviewed-by: Gerald Combs <gerald@wireshark.org>
Diffstat (limited to 'ui/qt/main_window.h')
-rw-r--r--ui/qt/main_window.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/ui/qt/main_window.h b/ui/qt/main_window.h
index ad17ef355d..380c9ced41 100644
--- a/ui/qt/main_window.h
+++ b/ui/qt/main_window.h
@@ -480,6 +480,9 @@ private slots:
void statCommandMulticastStatistics(const char *arg, void *);
void on_actionStatisticsUdpMulticastStreams_triggered();
+ void statCommandWlanStatistics(const char *arg, void *);
+ void on_actionWirelessWlanStatistics_triggered();
+
void openStatisticsTreeDialog(const gchar *abbr);
void on_actionStatistics29WestTopics_Advertisements_by_Topic_triggered();
void on_actionStatistics29WestTopics_Advertisements_by_Source_triggered();