aboutsummaryrefslogtreecommitdiffstats
path: root/ui/qt/main_window.ui
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.ui
parent0f9bbbc6f7146747841760102a74efb96161ad99 (diff)
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.ui')
-rw-r--r--ui/qt/main_window.ui18
1 files changed, 14 insertions, 4 deletions
diff --git a/ui/qt/main_window.ui b/ui/qt/main_window.ui
index 75c1971388..cec6122cc4 100644
--- a/ui/qt/main_window.ui
+++ b/ui/qt/main_window.ui
@@ -576,13 +576,15 @@
<addaction name="actionEditConfigurationProfiles"/>
<addaction name="actionEditPreferences"/>
</widget>
- <widget class="QMenu" name="menuBluetooth">
+ <widget class="QMenu" name="menuWireless">
<property name="title">
- <string>&amp;Bluetooth</string>
+ <string>&amp;Wireless</string>
</property>
<addaction name="actionATT_Server_Attributes"/>
<addaction name="actionDevices"/>
<addaction name="actionHCI_Summary"/>
+ <addaction name="separator"/>
+ <addaction name="actionWirelessWlanStatistics"/>
</widget>
<widget class="QMenu" name="menuTools">
<property name="title">
@@ -598,8 +600,8 @@
<addaction name="menuAnalyze"/>
<addaction name="menuStatistics"/>
<addaction name="menuTelephony"/>
+ <addaction name="menuWireless"/>
<addaction name="menuTools"/>
- <addaction name="menuBluetooth"/>
<addaction name="menuHelp"/>
</widget>
<widget class="QToolBar" name="mainToolBar">
@@ -2385,7 +2387,7 @@
</action>
<action name="actionATT_Server_Attributes">
<property name="text">
- <string>ATT Server Attributes</string>
+ <string>Bluetooth ATT Server Attributes</string>
</property>
</action>
<action name="actionDevices">
@@ -2646,6 +2648,14 @@
<string>Show UTP multicast stream statistics.</string>
</property>
</action>
+ <action name="actionWirelessWlanStatistics">
+ <property name="text">
+ <string>WLAN Traffic</string>
+ </property>
+ <property name="toolTip">
+ <string>Show IEEE 802.11 wireless LAN statistics.</string>
+ </property>
+ </action>
</widget>
<layoutdefault spacing="6" margin="11"/>
<customwidgets>