summaryrefslogtreecommitdiff
path: root/ui/qt
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2017-05-09 14:04:18 +0200
committerPascal Quantin <pascal.quantin@gmail.com>2017-05-28 18:50:06 +0000
commit866178eb1f244ccad722eec7c7aadbb7655a688d (patch)
tree2227795d61a84c08fb58ad4abec57f34b9d63443 /ui/qt
parent24d991dab493d249167e913c652ef463cfcd5245 (diff)
downloadwireshark-866178eb1f244ccad722eec7c7aadbb7655a688d.tar.gz
GTK+Qt: Show Osmux Packet Counter on Telephony menu
Change-Id: I565b0d2d43dd98781f77a302a20bd841e3e4650e Reviewed-on: https://code.wireshark.org/review/21598 Petri-Dish: Pascal Quantin <pascal.quantin@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
Diffstat (limited to 'ui/qt')
-rw-r--r--ui/qt/main_window.h1
-rw-r--r--ui/qt/main_window.ui15
-rw-r--r--ui/qt/main_window_slots.cpp5
3 files changed, 21 insertions, 0 deletions
diff --git a/ui/qt/main_window.h b/ui/qt/main_window.h
index 23e1de7cce..b6c41ea1c1 100644
--- a/ui/qt/main_window.h
+++ b/ui/qt/main_window.h
@@ -620,6 +620,7 @@ private slots:
void on_actionTelephonyIax2StreamAnalysis_triggered();
void on_actionTelephonyISUPMessages_triggered();
void on_actionTelephonyMtp3Summary_triggered();
+ void on_actionTelephonyOsmuxPacketCounter_triggered();
void on_actionTelephonyRTPStreams_triggered();
void on_actionTelephonyRTPStreamAnalysis_triggered();
void on_actionTelephonyRTSPPacketCounter_triggered();
diff --git a/ui/qt/main_window.ui b/ui/qt/main_window.ui
index 8ee6ec69c9..e38896a5e9 100644
--- a/ui/qt/main_window.ui
+++ b/ui/qt/main_window.ui
@@ -595,6 +595,12 @@
</property>
<addaction name="actionTelephonyMTP3Placeholder"/>
</widget>
+ <widget class="QMenu" name="menuOsmux">
+ <property name="title">
+ <string>Osmux</string>
+ </property>
+ <addaction name="actionTelephonyOsmuxPacketCounter"/>
+ </widget>
<addaction name="actionTelephonyVoipCalls"/>
<addaction name="menuANSI"/>
<addaction name="menuGSM"/>
@@ -602,6 +608,7 @@
<addaction name="actionTelephonyISUPMessages"/>
<addaction name="menuLTE"/>
<addaction name="menuMTP3"/>
+ <addaction name="menuOsmux"/>
<addaction name="menuRTP"/>
<addaction name="menuRTSP"/>
<addaction name="menuTelephonySCTP"/>
@@ -1916,6 +1923,14 @@
<string>ISUP message statistics</string>
</property>
</action>
+ <action name="actionTelephonyOsmuxPacketCounter">
+ <property name="text">
+ <string>Packet Counter</string>
+ </property>
+ <property name="toolTip">
+ <string>Osmux packet counts</string>
+ </property>
+ </action>
<action name="actionTelephonyRTSPPacketCounter">
<property name="text">
<string>Packet Counter</string>
diff --git a/ui/qt/main_window_slots.cpp b/ui/qt/main_window_slots.cpp
index a9db64ffc5..4f550b3bbd 100644
--- a/ui/qt/main_window_slots.cpp
+++ b/ui/qt/main_window_slots.cpp
@@ -3390,6 +3390,11 @@ void MainWindow::on_actionTelephonyMtp3Summary_triggered()
mtp3s_dialog->show();
}
+void MainWindow::on_actionTelephonyOsmuxPacketCounter_triggered()
+{
+ openStatisticsTreeDialog("osmux");
+}
+
void MainWindow::on_actionTelephonyRTPStreams_triggered()
{
RtpStreamDialog *rtp_stream_dialog = new RtpStreamDialog(*this, capture_file_);