2012-01-04 22:13:01 +00:00
|
|
|
/* main_window.h
|
|
|
|
*
|
|
|
|
* Wireshark - Network traffic analyzer
|
|
|
|
* By Gerald Combs <gerald@wireshark.org>
|
|
|
|
* Copyright 1998 Gerald Combs
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU General Public License
|
|
|
|
* as published by the Free Software Foundation; either version 2
|
|
|
|
* of the License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program; if not, write to the Free Software
|
2012-06-28 22:56:06 +00:00
|
|
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
2012-01-04 22:13:01 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef MAINWINDOW_H
|
|
|
|
#define MAINWINDOW_H
|
|
|
|
|
|
|
|
#include <stdio.h>
|
|
|
|
|
2015-01-03 20:52:54 +00:00
|
|
|
#include <config.h>
|
2012-01-14 00:16:16 +00:00
|
|
|
|
|
|
|
#include <glib.h>
|
|
|
|
|
|
|
|
#include "file.h"
|
|
|
|
|
2012-08-31 22:25:51 +00:00
|
|
|
#include "ui/ui_util.h"
|
|
|
|
|
2013-09-03 16:06:20 +00:00
|
|
|
#include <epan/prefs.h>
|
2015-06-05 09:19:37 +00:00
|
|
|
#include <epan/plugin_if.h>
|
2015-12-03 09:22:23 +00:00
|
|
|
#include <epan/timestamp.h>
|
2013-09-03 16:06:20 +00:00
|
|
|
|
2012-08-31 22:25:51 +00:00
|
|
|
#ifdef HAVE_LIBPCAP
|
|
|
|
#include "capture_opts.h"
|
|
|
|
#endif
|
2014-06-30 05:08:59 +00:00
|
|
|
#include <capchild/capture_session.h>
|
2012-08-31 22:25:51 +00:00
|
|
|
|
2012-01-04 22:13:01 +00:00
|
|
|
#include <QMainWindow>
|
|
|
|
#include <QSplitter>
|
2012-08-31 22:25:51 +00:00
|
|
|
|
|
|
|
#ifdef _WIN32
|
|
|
|
# include <QTimer>
|
|
|
|
#else
|
|
|
|
# include <QSocketNotifier>
|
|
|
|
#endif
|
|
|
|
|
2014-09-09 20:42:58 +00:00
|
|
|
#include "capture_file.h"
|
|
|
|
#include "capture_file_dialog.h"
|
|
|
|
#include "capture_file_properties_dialog.h"
|
2012-01-04 22:13:01 +00:00
|
|
|
#include "display_filter_combo.h"
|
2014-04-29 15:10:27 +00:00
|
|
|
#include "filter_action.h"
|
2013-09-09 19:30:30 +00:00
|
|
|
#include "follow_stream_dialog.h"
|
2015-02-13 00:11:21 +00:00
|
|
|
#include "preferences_dialog.h"
|
2015-02-11 23:00:27 +00:00
|
|
|
|
2015-06-17 15:41:41 +00:00
|
|
|
class AccordionFrame;
|
2015-02-11 23:00:27 +00:00
|
|
|
class ByteViewTab;
|
2016-03-31 00:24:44 +00:00
|
|
|
class CaptureInterfacesDialog;
|
|
|
|
class FileSetDialog;
|
2015-07-03 20:52:49 +00:00
|
|
|
class FunnelStatistics;
|
2015-02-11 23:00:27 +00:00
|
|
|
class MainWelcome;
|
|
|
|
class PacketList;
|
|
|
|
class ProtoTree;
|
2015-06-11 22:05:44 +00:00
|
|
|
class WirelessFrame;
|
2012-01-04 22:13:01 +00:00
|
|
|
|
|
|
|
class QAction;
|
2014-10-21 20:36:10 +00:00
|
|
|
class QActionGroup;
|
|
|
|
|
2012-01-04 22:13:01 +00:00
|
|
|
namespace Ui {
|
|
|
|
class MainWindow;
|
|
|
|
}
|
|
|
|
|
|
|
|
class MainWindow : public QMainWindow
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
|
|
|
explicit MainWindow(QWidget *parent = 0);
|
|
|
|
~MainWindow();
|
2015-06-10 00:30:15 +00:00
|
|
|
void setPipeInputHandler(gint source, gpointer user_data, ws_process_id *child_process, pipe_input_cb_t input_cb);
|
2012-01-04 22:13:01 +00:00
|
|
|
|
2013-09-09 19:30:30 +00:00
|
|
|
QString getFilter();
|
2014-09-30 20:19:24 +00:00
|
|
|
#ifdef HAVE_LIBPCAP
|
2014-09-29 23:27:11 +00:00
|
|
|
capture_session *captureSession() { return &cap_session_; }
|
2015-12-17 04:15:03 +00:00
|
|
|
info_data_t *captureInfoData() { return &info_data_; }
|
2014-09-30 20:19:24 +00:00
|
|
|
#endif
|
2013-09-09 19:30:30 +00:00
|
|
|
|
2015-06-17 03:51:44 +00:00
|
|
|
virtual QMenu *createPopupMenu();
|
|
|
|
|
2015-08-09 12:36:53 +00:00
|
|
|
void gotoFrame(int packet_num);
|
2016-01-07 07:39:14 +00:00
|
|
|
CaptureFile *captureFile() { return &capture_file_; }
|
2015-08-09 12:36:53 +00:00
|
|
|
|
2012-01-04 22:13:01 +00:00
|
|
|
protected:
|
2012-08-23 02:59:31 +00:00
|
|
|
bool eventFilter(QObject *obj, QEvent *event);
|
2012-01-04 22:13:01 +00:00
|
|
|
void keyPressEvent(QKeyEvent *event);
|
2013-12-21 16:55:43 +00:00
|
|
|
void closeEvent(QCloseEvent *event);
|
2015-06-14 18:04:51 +00:00
|
|
|
void dragEnterEvent(QDragEnterEvent *event);
|
|
|
|
void dropEvent(QDropEvent *event);
|
2012-01-04 22:13:01 +00:00
|
|
|
|
|
|
|
private:
|
2014-04-29 15:10:27 +00:00
|
|
|
// XXX Move to FilterUtils
|
2012-12-07 01:46:20 +00:00
|
|
|
enum MatchSelected {
|
|
|
|
MatchSelectedReplace,
|
|
|
|
MatchSelectedAnd,
|
|
|
|
MatchSelectedOr,
|
|
|
|
MatchSelectedNot,
|
|
|
|
MatchSelectedAndNot,
|
|
|
|
MatchSelectedOrNot
|
|
|
|
};
|
|
|
|
|
|
|
|
enum CopySelected {
|
2015-03-23 11:04:36 +00:00
|
|
|
CopyAllVisibleItems,
|
|
|
|
CopyAllVisibleSelectedTreeItems,
|
2012-12-07 01:46:20 +00:00
|
|
|
CopySelectedDescription,
|
|
|
|
CopySelectedFieldName,
|
|
|
|
CopySelectedValue
|
|
|
|
};
|
|
|
|
|
2016-01-25 11:07:10 +00:00
|
|
|
enum FileCloseContext {
|
|
|
|
Default,
|
|
|
|
Quit,
|
2016-01-25 21:11:55 +00:00
|
|
|
Restart,
|
|
|
|
Reload
|
2016-01-11 09:46:02 +00:00
|
|
|
};
|
|
|
|
|
2012-08-17 00:58:50 +00:00
|
|
|
Ui::MainWindow *main_ui_;
|
2013-10-05 22:39:49 +00:00
|
|
|
QSplitter master_split_;
|
|
|
|
QSplitter extra_split_;
|
2015-02-06 18:36:27 +00:00
|
|
|
QVector<unsigned> cur_layout_;
|
2012-08-17 00:58:50 +00:00
|
|
|
MainWelcome *main_welcome_;
|
|
|
|
DisplayFilterCombo *df_combo_box_;
|
2014-09-09 20:42:58 +00:00
|
|
|
CaptureFile capture_file_;
|
2014-09-23 20:35:10 +00:00
|
|
|
QFont mono_font_;
|
2015-06-11 22:05:44 +00:00
|
|
|
WirelessFrame *wireless_frame_;
|
2013-10-05 22:39:49 +00:00
|
|
|
// XXX - packet_list_, proto_tree_, and byte_view_tab_ should
|
|
|
|
// probably be full-on values instead of pointers.
|
2012-08-17 00:58:50 +00:00
|
|
|
PacketList *packet_list_;
|
2012-12-07 01:46:20 +00:00
|
|
|
ProtoTree *proto_tree_;
|
2012-08-20 21:22:01 +00:00
|
|
|
QWidget *previous_focus_;
|
2016-03-31 00:24:44 +00:00
|
|
|
FileSetDialog *file_set_dialog_;
|
2013-09-02 16:03:13 +00:00
|
|
|
ByteViewTab *byte_view_tab_;
|
2013-10-05 22:39:49 +00:00
|
|
|
QWidget empty_pane_;
|
2014-10-22 17:05:35 +00:00
|
|
|
QActionGroup *show_hide_actions_;
|
2014-10-21 20:36:10 +00:00
|
|
|
QActionGroup *time_display_actions_;
|
|
|
|
QActionGroup *time_precision_actions_;
|
2015-07-03 20:52:49 +00:00
|
|
|
FunnelStatistics *funnel_statistics_;
|
2015-11-10 18:12:56 +00:00
|
|
|
QList<QPair<QAction *, bool> > freeze_actions_;
|
|
|
|
QWidget *freeze_focus_;
|
2015-12-03 09:22:23 +00:00
|
|
|
QMap<QAction *, ts_type> td_actions;
|
|
|
|
QMap<QAction *, ts_precision> tp_actions;
|
2016-04-27 23:53:03 +00:00
|
|
|
QToolBar *filter_expression_toolbar_;
|
2013-09-02 16:03:13 +00:00
|
|
|
|
2012-08-31 22:25:51 +00:00
|
|
|
bool capture_stopping_;
|
2013-08-08 00:26:57 +00:00
|
|
|
bool capture_filter_valid_;
|
2013-11-25 21:50:58 +00:00
|
|
|
#ifdef HAVE_LIBPCAP
|
2014-09-30 20:19:24 +00:00
|
|
|
capture_session cap_session_;
|
2016-03-31 00:24:44 +00:00
|
|
|
CaptureInterfacesDialog *capture_interfaces_dialog_;
|
2015-12-17 04:15:03 +00:00
|
|
|
info_data_t info_data_;
|
2013-11-25 21:50:58 +00:00
|
|
|
#endif
|
2012-08-31 22:25:51 +00:00
|
|
|
|
|
|
|
// Pipe input
|
|
|
|
gint pipe_source_;
|
|
|
|
gpointer pipe_user_data_;
|
2015-06-10 00:30:15 +00:00
|
|
|
ws_process_id *pipe_child_process_;
|
2012-08-31 22:25:51 +00:00
|
|
|
pipe_input_cb_t pipe_input_cb_;
|
|
|
|
#ifdef _WIN32
|
|
|
|
QTimer *pipe_timer_;
|
|
|
|
#else
|
|
|
|
QSocketNotifier *pipe_notifier_;
|
|
|
|
#endif
|
|
|
|
|
2016-04-29 15:53:44 +00:00
|
|
|
#if defined(Q_OS_MAC) && QT_VERSION >= QT_VERSION_CHECK(5, 2, 0)
|
|
|
|
QMenu *dock_menu_;
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2013-09-03 16:06:20 +00:00
|
|
|
QWidget* getLayoutWidget(layout_pane_content_e type);
|
2013-10-30 22:39:52 +00:00
|
|
|
|
2015-11-10 18:12:56 +00:00
|
|
|
void freeze();
|
|
|
|
void thaw();
|
|
|
|
|
2012-09-06 22:58:39 +00:00
|
|
|
void mergeCaptureFile();
|
2012-09-17 23:40:53 +00:00
|
|
|
void importCaptureFile();
|
2016-06-22 14:56:07 +00:00
|
|
|
bool saveCaptureFile(capture_file *cf, bool dont_reopen);
|
|
|
|
bool saveAsCaptureFile(capture_file *cf, bool must_support_comments = false, bool dont_reopen = false);
|
2012-10-08 20:01:59 +00:00
|
|
|
void exportSelectedPackets();
|
2012-10-12 23:40:29 +00:00
|
|
|
void exportDissections(export_type_e export_type);
|
2012-10-08 20:01:59 +00:00
|
|
|
|
|
|
|
void fileAddExtension(QString &file_name, int file_type, bool compressed);
|
2016-01-25 11:07:10 +00:00
|
|
|
bool testCaptureFileClose(QString before_what, FileCloseContext context = Default);
|
2012-10-01 22:40:20 +00:00
|
|
|
void captureStop();
|
2012-08-31 22:25:51 +00:00
|
|
|
|
2014-10-21 20:36:10 +00:00
|
|
|
void initMainToolbarIcons();
|
2014-10-22 17:05:35 +00:00
|
|
|
void initShowHideMainWidgets();
|
2014-10-21 20:36:10 +00:00
|
|
|
void initTimeDisplayFormatMenu();
|
|
|
|
void initTimePrecisionFormatMenu();
|
2015-11-10 18:12:56 +00:00
|
|
|
void initFreezeActions();
|
2014-10-21 20:36:10 +00:00
|
|
|
|
2013-04-01 17:57:47 +00:00
|
|
|
void setTitlebarForCaptureInProgress();
|
2012-08-31 22:25:51 +00:00
|
|
|
void setMenusForCaptureFile(bool force_disable = false);
|
|
|
|
void setMenusForCaptureInProgress(bool capture_in_progress = false);
|
|
|
|
void setMenusForCaptureStopping();
|
2012-11-01 22:12:57 +00:00
|
|
|
void setForCapturedPackets(bool have_captured_packets);
|
2012-10-01 22:40:20 +00:00
|
|
|
void setMenusForFileSet(bool enable_list_files);
|
2015-10-29 18:47:41 +00:00
|
|
|
void setWindowIcon(const QIcon &icon);
|
2016-01-19 17:26:41 +00:00
|
|
|
QString replaceWindowTitleVariables(QString title);
|
2013-07-09 18:08:40 +00:00
|
|
|
|
2015-03-30 14:10:01 +00:00
|
|
|
void externalMenuHelper(ext_menu_t * menu, QMenu * subMenu, gint depth);
|
|
|
|
|
2016-06-24 19:59:07 +00:00
|
|
|
void setForCaptureInProgress(bool capture_in_progress = false);
|
2015-01-06 09:22:48 +00:00
|
|
|
QMenu* findOrAddMenu(QMenu *parent_menu, QString& menu_text);
|
2012-08-20 21:22:01 +00:00
|
|
|
|
2015-03-23 11:04:36 +00:00
|
|
|
void recursiveCopyProtoTreeItems(QTreeWidgetItem *item, QString &clip, int ident_level);
|
2015-05-22 22:33:38 +00:00
|
|
|
void captureFileReadStarted(const QString &action);
|
2015-03-23 11:04:36 +00:00
|
|
|
|
2015-08-11 12:08:08 +00:00
|
|
|
void addMenuActions(QList<QAction *> &actions, int menu_group);
|
|
|
|
void removeMenuActions(QList<QAction *> &actions, int menu_group);
|
2015-11-12 16:35:34 +00:00
|
|
|
void goToConversationFrame(bool go_next);
|
2016-06-24 22:17:25 +00:00
|
|
|
void colorizeWithFilter(QByteArray filter, int color_number = -1);
|
2015-08-11 12:08:08 +00:00
|
|
|
|
2012-07-19 21:49:52 +00:00
|
|
|
signals:
|
2012-10-30 19:21:24 +00:00
|
|
|
void setCaptureFile(capture_file *cf);
|
2013-09-06 00:41:07 +00:00
|
|
|
void setDissectedCaptureFile(capture_file *cf);
|
2012-12-07 01:46:20 +00:00
|
|
|
void displayFilterSuccess(bool success);
|
2014-09-23 20:35:10 +00:00
|
|
|
void monospaceFontChanged(const QFont &mono_font);
|
2015-08-24 20:19:01 +00:00
|
|
|
void closePacketDialogs();
|
2015-08-24 20:12:17 +00:00
|
|
|
void reloadFields();
|
2016-03-18 17:34:41 +00:00
|
|
|
void packetInfoChanged(struct _packet_info *pinfo);
|
|
|
|
void fieldFilterChanged(const QByteArray field_filter);
|
2016-06-22 19:44:02 +00:00
|
|
|
void filterAction(QString filter, FilterAction::Action action, FilterAction::ActionType type);
|
2012-07-19 21:49:52 +00:00
|
|
|
|
2012-01-04 22:13:01 +00:00
|
|
|
public slots:
|
2012-10-02 18:47:05 +00:00
|
|
|
// in main_window_slots.cpp
|
2015-06-05 20:17:13 +00:00
|
|
|
/**
|
|
|
|
* Open a capture file.
|
|
|
|
* @param cf_path Path to the file.
|
|
|
|
* @param display_filter Display filter to apply. May be empty.
|
|
|
|
* @param type File type.
|
|
|
|
* @return True on success, false on failure.
|
|
|
|
*/
|
|
|
|
// XXX We might want to return a cf_read_status_t or a CaptureFile.
|
2015-09-11 18:13:23 +00:00
|
|
|
bool openCaptureFile(QString cf_path, QString display_filter, unsigned int type);
|
|
|
|
bool openCaptureFile(QString cf_path = QString(), QString display_filter = QString()) { return openCaptureFile(cf_path, display_filter, WTAP_TYPE_AUTO); }
|
|
|
|
void filterPackets(QString new_filter = QString(), bool force = false);
|
2013-07-09 18:08:40 +00:00
|
|
|
void updateForUnsavedChanges();
|
2013-09-03 13:29:09 +00:00
|
|
|
void layoutPanes();
|
2015-02-19 01:18:27 +00:00
|
|
|
void applyRecentPaneGeometry();
|
2014-12-10 00:54:17 +00:00
|
|
|
void layoutToolbars();
|
2015-02-20 14:30:23 +00:00
|
|
|
void updatePreferenceActions();
|
2015-12-03 09:22:23 +00:00
|
|
|
void updateRecentActions();
|
2012-10-01 22:40:20 +00:00
|
|
|
|
2016-01-19 17:03:51 +00:00
|
|
|
void setTitlebarForCaptureFile();
|
2015-12-29 20:40:16 +00:00
|
|
|
void setWSWindowTitle(QString title = QString());
|
2015-12-15 11:12:27 +00:00
|
|
|
|
2014-09-09 20:42:58 +00:00
|
|
|
void captureCapturePrepared(capture_session *);
|
2015-02-19 01:18:27 +00:00
|
|
|
void captureCaptureUpdateStarted(capture_session *);
|
|
|
|
void captureCaptureUpdateFinished(capture_session *);
|
|
|
|
void captureCaptureFixedStarted(capture_session *);
|
2013-05-22 10:09:07 +00:00
|
|
|
void captureCaptureFixedFinished(capture_session *cap_session);
|
2015-02-19 01:18:27 +00:00
|
|
|
void captureCaptureStopping(capture_session *);
|
|
|
|
void captureCaptureFailed(capture_session *);
|
2012-08-31 22:25:51 +00:00
|
|
|
|
2014-09-09 20:42:58 +00:00
|
|
|
void captureFileOpened();
|
2015-05-22 22:33:38 +00:00
|
|
|
void captureFileReadStarted() { captureFileReadStarted(tr("Loading")); }
|
2014-09-09 20:42:58 +00:00
|
|
|
void captureFileReadFinished();
|
2015-05-22 22:33:38 +00:00
|
|
|
void captureFileReloadStarted() { captureFileReadStarted(tr("Reloading")); }
|
2015-11-13 13:02:55 +00:00
|
|
|
void captureFileRescanStarted() { setMenusForCaptureFile(true); captureFileReadStarted(tr("Rescanning")); }
|
2015-08-26 19:48:56 +00:00
|
|
|
void captureFileRetapStarted();
|
|
|
|
void captureFileRetapFinished();
|
2015-12-06 21:29:53 +00:00
|
|
|
void captureFileFlushTapsData();
|
2014-09-09 20:42:58 +00:00
|
|
|
void captureFileClosing();
|
|
|
|
void captureFileClosed();
|
2015-05-22 22:33:38 +00:00
|
|
|
void captureFileSaveStarted(const QString &file_path);
|
2012-01-04 22:13:01 +00:00
|
|
|
|
2013-02-06 18:22:54 +00:00
|
|
|
void filterExpressionsChanged();
|
2012-12-29 01:39:02 +00:00
|
|
|
|
2015-10-17 15:54:55 +00:00
|
|
|
void launchRLCGraph(bool channelKnown, guint16 ueid, guint8 rlcMode,
|
|
|
|
guint16 channelType, guint16 channelId, guint8 direction);
|
|
|
|
|
2012-01-04 22:13:01 +00:00
|
|
|
private slots:
|
2015-05-03 18:15:06 +00:00
|
|
|
// Manually connected slots (no "on_<object>_<signal>").
|
|
|
|
|
2015-07-10 23:15:55 +00:00
|
|
|
void initViewColorizeMenu();
|
2016-03-18 17:34:41 +00:00
|
|
|
void initConversationMenus();
|
2015-07-10 23:15:55 +00:00
|
|
|
|
2012-10-02 18:47:05 +00:00
|
|
|
// in main_window_slots.cpp
|
2016-01-19 00:02:48 +00:00
|
|
|
/**
|
|
|
|
* @brief startCapture
|
|
|
|
* Start capturing from the selected interfaces using the capture filter
|
|
|
|
* shown in the main welcome screen.
|
|
|
|
*/
|
2012-08-31 22:25:51 +00:00
|
|
|
void startCapture();
|
|
|
|
void pipeTimeout();
|
|
|
|
void pipeActivated(int source);
|
|
|
|
void pipeNotifierDestroyed();
|
|
|
|
void stopCapture();
|
|
|
|
|
2013-10-30 23:54:46 +00:00
|
|
|
void loadWindowGeometry();
|
2015-02-19 01:18:27 +00:00
|
|
|
void saveWindowGeometry();
|
2015-09-06 19:00:48 +00:00
|
|
|
void mainStackChanged(int);
|
2012-01-04 22:13:01 +00:00
|
|
|
void updateRecentFiles();
|
2012-08-31 22:25:51 +00:00
|
|
|
void recentActionTriggered();
|
2012-12-17 23:03:21 +00:00
|
|
|
void setMenusForSelectedPacket();
|
2012-10-16 00:01:23 +00:00
|
|
|
void setMenusForSelectedTreeRow(field_info *fi = NULL);
|
2012-12-03 19:58:55 +00:00
|
|
|
void interfaceSelectionChanged();
|
2013-08-08 00:26:57 +00:00
|
|
|
void captureFilterSyntaxChanged(bool valid);
|
2012-12-17 23:03:21 +00:00
|
|
|
void redissectPackets();
|
2015-12-02 21:15:28 +00:00
|
|
|
void checkDisplayFilter();
|
2014-11-06 10:19:25 +00:00
|
|
|
void fieldsChanged();
|
2016-01-03 12:48:39 +00:00
|
|
|
void reloadLuaPlugins();
|
2015-06-17 15:41:41 +00:00
|
|
|
void showAccordionFrame(AccordionFrame *show_frame, bool toggle = false);
|
2015-01-01 19:41:03 +00:00
|
|
|
void showColumnEditor(int column);
|
2015-06-17 15:41:41 +00:00
|
|
|
void showPreferenceEditor(); // module_t *, pref *
|
2015-01-06 09:22:48 +00:00
|
|
|
void addStatsPluginsToMenu();
|
2015-07-08 22:44:04 +00:00
|
|
|
void addDynamicMenus();
|
2015-08-11 12:08:08 +00:00
|
|
|
void reloadDynamicMenus();
|
2015-03-30 14:10:01 +00:00
|
|
|
void addExternalMenus();
|
2015-08-09 12:36:53 +00:00
|
|
|
QMenu * searchSubMenu(QString objectName);
|
2012-08-31 22:25:51 +00:00
|
|
|
|
2016-01-19 00:02:48 +00:00
|
|
|
void startInterfaceCapture(bool valid, const QString capture_filter);
|
2014-06-04 09:03:59 +00:00
|
|
|
|
2016-06-30 21:55:19 +00:00
|
|
|
void applyGlobalCommandLineOptions();
|
2013-05-20 18:56:33 +00:00
|
|
|
void setFeaturesEnabled(bool enabled = true);
|
|
|
|
|
2015-06-01 23:29:17 +00:00
|
|
|
void on_actionDisplayFilterExpression_triggered();
|
2015-10-28 21:41:59 +00:00
|
|
|
void on_actionNewDisplayFilterExpression_triggered();
|
2013-02-06 18:22:54 +00:00
|
|
|
void displayFilterButtonClicked();
|
|
|
|
|
2014-04-29 15:10:27 +00:00
|
|
|
// Handle FilterAction signals
|
2016-06-22 19:44:02 +00:00
|
|
|
void queuedFilterAction(QString filter, FilterAction::Action action, FilterAction::ActionType type);
|
2014-04-29 15:10:27 +00:00
|
|
|
|
2014-07-09 17:50:51 +00:00
|
|
|
/** Pass stat cmd arguments to a slot.
|
2014-11-08 17:03:23 +00:00
|
|
|
* @param menu_path slot Partial slot name, e.g. "StatisticsIOGraph".
|
|
|
|
* @param arg "-z" argument, e.g. "io,stat".
|
2014-07-09 17:50:51 +00:00
|
|
|
* @param userdata Optional user data.
|
|
|
|
*/
|
|
|
|
void openStatCommandDialog(const QString &menu_path, const char *arg, void *userdata);
|
|
|
|
|
2015-06-05 20:17:13 +00:00
|
|
|
/** Pass tap parameter arguments to a slot.
|
2015-07-07 13:43:03 +00:00
|
|
|
* @param cfg_str slot Partial slot name, e.g. "StatisticsAFPSrt".
|
2015-06-05 20:17:13 +00:00
|
|
|
* @param arg "-z" argument, e.g. "afp,srt".
|
|
|
|
* @param userdata Optional user data.
|
|
|
|
*/
|
|
|
|
void openTapParameterDialog(const QString cfg_str, const QString arg, void *userdata);
|
|
|
|
void openTapParameterDialog();
|
|
|
|
|
2016-06-12 23:07:30 +00:00
|
|
|
void byteViewTabChanged(int tab_index);
|
|
|
|
|
2015-05-03 18:15:06 +00:00
|
|
|
// Automatically connected slots ("on_<object>_<signal>").
|
|
|
|
//
|
|
|
|
// The slots below follow the naming conventaion described in
|
|
|
|
// http://doc.qt.io/qt-4.8/qmetaobject.html#connectSlotsByName and are
|
|
|
|
// automatically connected at initialization time via main_ui_->setupUi,
|
|
|
|
// which in turn calls connectSlotsByName.
|
|
|
|
//
|
|
|
|
// If you're manually connecting a signal to a slot, don't prefix its name
|
|
|
|
// with "on_". Otherwise you'll get runtime warnings.
|
|
|
|
|
|
|
|
// We might want move these to main_window_actions.cpp similar to
|
2012-12-17 23:03:21 +00:00
|
|
|
// gtk/main_menubar.c
|
2015-05-03 18:15:06 +00:00
|
|
|
|
2012-08-31 07:56:24 +00:00
|
|
|
void on_actionFileOpen_triggered();
|
2012-09-06 22:58:39 +00:00
|
|
|
void on_actionFileMerge_triggered();
|
2013-03-31 04:17:47 +00:00
|
|
|
void on_actionFileImportFromHexDump_triggered();
|
2012-08-14 00:25:42 +00:00
|
|
|
void on_actionFileClose_triggered();
|
2012-09-26 19:52:53 +00:00
|
|
|
void on_actionFileSave_triggered();
|
|
|
|
void on_actionFileSaveAs_triggered();
|
2012-10-01 22:40:20 +00:00
|
|
|
void on_actionFileSetListFiles_triggered();
|
|
|
|
void on_actionFileSetNextFile_triggered();
|
|
|
|
void on_actionFileSetPreviousFile_triggered();
|
2012-10-08 20:01:59 +00:00
|
|
|
void on_actionFileExportPackets_triggered();
|
2012-10-12 23:40:29 +00:00
|
|
|
void on_actionFileExportAsPlainText_triggered();
|
|
|
|
// We're dropping PostScript exports
|
|
|
|
void on_actionFileExportAsCSV_triggered();
|
|
|
|
void on_actionFileExportAsCArrays_triggered();
|
|
|
|
void on_actionFileExportAsPSML_triggered();
|
|
|
|
void on_actionFileExportAsPDML_triggered();
|
2016-06-19 14:52:50 +00:00
|
|
|
void on_actionFileExportAsJSON_triggered();
|
2012-10-16 00:01:23 +00:00
|
|
|
void on_actionFileExportPacketBytes_triggered();
|
2012-10-18 21:14:43 +00:00
|
|
|
void on_actionFileExportObjectsDICOM_triggered();
|
|
|
|
void on_actionFileExportObjectsHTTP_triggered();
|
|
|
|
void on_actionFileExportObjectsSMB_triggered();
|
2014-06-02 09:24:58 +00:00
|
|
|
void on_actionFileExportObjectsTFTP_triggered();
|
2012-11-01 20:57:45 +00:00
|
|
|
void on_actionFilePrint_triggered();
|
2012-09-17 23:40:53 +00:00
|
|
|
|
2014-01-14 18:37:40 +00:00
|
|
|
void on_actionFileExportPDU_triggered();
|
2012-12-07 01:46:20 +00:00
|
|
|
void on_actionFileExportSSLSessionKeys_triggered();
|
|
|
|
|
|
|
|
void actionEditCopyTriggered(MainWindow::CopySelected selection_type);
|
2015-03-23 11:04:36 +00:00
|
|
|
void on_actionCopyAllVisibleItems_triggered();
|
|
|
|
void on_actionCopyAllVisibleSelectedTreeItems_triggered();
|
2012-12-07 01:46:20 +00:00
|
|
|
void on_actionEditCopyDescription_triggered();
|
|
|
|
void on_actionEditCopyFieldName_triggered();
|
|
|
|
void on_actionEditCopyValue_triggered();
|
|
|
|
void on_actionEditCopyAsFilter_triggered();
|
2012-12-15 01:04:39 +00:00
|
|
|
void on_actionEditFindPacket_triggered();
|
|
|
|
void on_actionEditFindNext_triggered();
|
|
|
|
void on_actionEditFindPrevious_triggered();
|
2012-12-17 23:03:21 +00:00
|
|
|
void on_actionEditMarkPacket_triggered();
|
|
|
|
void on_actionEditMarkAllDisplayed_triggered();
|
|
|
|
void on_actionEditUnmarkAllDisplayed_triggered();
|
2012-12-29 01:39:02 +00:00
|
|
|
void on_actionEditNextMark_triggered();
|
|
|
|
void on_actionEditPreviousMark_triggered();
|
2012-12-17 23:03:21 +00:00
|
|
|
void on_actionEditIgnorePacket_triggered();
|
|
|
|
void on_actionEditIgnoreAllDisplayed_triggered();
|
|
|
|
void on_actionEditUnignoreAllDisplayed_triggered();
|
|
|
|
void on_actionEditSetTimeReference_triggered();
|
|
|
|
void on_actionEditUnsetAllTimeReferences_triggered();
|
|
|
|
void on_actionEditNextTimeReference_triggered();
|
|
|
|
void on_actionEditPreviousTimeReference_triggered();
|
2012-12-21 17:37:57 +00:00
|
|
|
void on_actionEditTimeShift_triggered();
|
2012-12-23 04:37:58 +00:00
|
|
|
void on_actionEditPacketComment_triggered();
|
2012-12-29 01:39:02 +00:00
|
|
|
void on_actionEditConfigurationProfiles_triggered();
|
2015-01-01 19:41:03 +00:00
|
|
|
void showPreferencesDialog(PreferencesDialog::PreferencesPane start_pane = PreferencesDialog::ppAppearance);
|
2015-06-15 01:05:02 +00:00
|
|
|
void showPreferencesDialog(QString module_name);
|
2013-01-05 02:30:58 +00:00
|
|
|
void on_actionEditPreferences_triggered();
|
2012-12-07 01:46:20 +00:00
|
|
|
|
2014-10-22 17:05:35 +00:00
|
|
|
void showHideMainWidgets(QAction *action);
|
2014-10-21 20:36:10 +00:00
|
|
|
void setTimestampFormat(QAction *action);
|
|
|
|
void setTimestampPrecision(QAction *action);
|
|
|
|
void on_actionViewTimeDisplaySecondsWithHoursAndMinutes_triggered(bool checked);
|
2015-07-21 16:51:12 +00:00
|
|
|
void on_actionViewEditResolvedName_triggered();
|
2014-12-12 20:35:31 +00:00
|
|
|
void setNameResolution();
|
|
|
|
void on_actionViewNameResolutionPhysical_triggered();
|
|
|
|
void on_actionViewNameResolutionNetwork_triggered();
|
|
|
|
void on_actionViewNameResolutionTransport_triggered();
|
|
|
|
// XXX We're not porting the concurrency action from GTK+ on purpose.
|
2014-09-23 20:35:10 +00:00
|
|
|
void zoomText();
|
|
|
|
void on_actionViewZoomIn_triggered();
|
|
|
|
void on_actionViewZoomOut_triggered();
|
|
|
|
void on_actionViewNormalSize_triggered();
|
2014-09-22 23:33:05 +00:00
|
|
|
void on_actionViewColorizePacketList_triggered(bool checked);
|
2015-02-05 00:36:19 +00:00
|
|
|
void on_actionViewColoringRules_triggered();
|
2015-07-10 23:15:55 +00:00
|
|
|
void colorizeConversation(bool create_rule = false);
|
2016-06-24 22:17:25 +00:00
|
|
|
void colorizeActionTriggered();
|
2015-07-10 23:15:55 +00:00
|
|
|
void on_actionViewColorizeResetColorization_triggered();
|
2016-01-13 20:10:04 +00:00
|
|
|
void on_actionViewColorizeNewColoringRule_triggered();
|
2014-09-23 20:35:10 +00:00
|
|
|
void on_actionViewResizeColumns_triggered();
|
2015-02-11 23:00:27 +00:00
|
|
|
|
2015-09-30 23:54:40 +00:00
|
|
|
void on_actionViewInternalsConversationHashTables_triggered();
|
2015-09-25 21:33:54 +00:00
|
|
|
void on_actionViewInternalsDissectorTables_triggered();
|
2015-10-01 17:18:56 +00:00
|
|
|
void on_actionViewInternalsSupportedProtocols_triggered();
|
2015-09-25 21:33:54 +00:00
|
|
|
|
2015-02-11 23:00:27 +00:00
|
|
|
void openPacketDialog(bool from_reference = false);
|
|
|
|
void on_actionViewShowPacketInNewWindow_triggered();
|
2015-07-31 23:52:37 +00:00
|
|
|
void on_actionContextShowLinkedPacketInNewWindow_triggered();
|
2014-02-16 18:13:29 +00:00
|
|
|
void on_actionViewReload_triggered();
|
2015-06-29 11:05:32 +00:00
|
|
|
void on_actionViewReload_as_File_Format_or_Capture_triggered();
|
2014-02-16 18:13:29 +00:00
|
|
|
|
2012-08-20 04:34:23 +00:00
|
|
|
void on_actionGoGoToPacket_triggered();
|
2015-07-31 23:52:37 +00:00
|
|
|
void on_actionGoGoToLinkedPacket_triggered();
|
2015-11-12 16:35:34 +00:00
|
|
|
void on_actionGoNextConversationPacket_triggered();
|
|
|
|
void on_actionGoPreviousConversationPacket_triggered();
|
2015-02-20 14:30:23 +00:00
|
|
|
void on_actionGoAutoScroll_toggled(bool checked);
|
2012-08-20 21:22:01 +00:00
|
|
|
void resetPreviousFocus();
|
|
|
|
|
2013-11-25 21:50:58 +00:00
|
|
|
#ifdef HAVE_LIBPCAP
|
2013-07-15 20:17:17 +00:00
|
|
|
void on_actionCaptureOptions_triggered();
|
2014-07-25 07:44:50 +00:00
|
|
|
void on_actionCaptureRefreshInterfaces_triggered();
|
2013-11-25 21:50:58 +00:00
|
|
|
#endif
|
2015-06-03 23:26:00 +00:00
|
|
|
void on_actionCaptureCaptureFilters_triggered();
|
2013-07-15 20:17:17 +00:00
|
|
|
|
2015-06-03 23:26:00 +00:00
|
|
|
void on_actionAnalyzeDisplayFilters_triggered();
|
2015-08-22 00:12:39 +00:00
|
|
|
void on_actionAnalyzeDisplayFilterMacros_triggered();
|
2014-04-29 15:10:27 +00:00
|
|
|
void matchFieldFilter(FilterAction::Action action, FilterAction::ActionType filter_type);
|
2015-03-09 07:11:13 +00:00
|
|
|
void on_actionAnalyzeCreateAColumn_triggered();
|
2012-12-07 01:46:20 +00:00
|
|
|
void on_actionAnalyzeAAFSelected_triggered();
|
|
|
|
void on_actionAnalyzeAAFNotSelected_triggered();
|
|
|
|
void on_actionAnalyzeAAFAndSelected_triggered();
|
|
|
|
void on_actionAnalyzeAAFOrSelected_triggered();
|
|
|
|
void on_actionAnalyzeAAFAndNotSelected_triggered();
|
|
|
|
void on_actionAnalyzeAAFOrNotSelected_triggered();
|
|
|
|
void on_actionAnalyzePAFSelected_triggered();
|
|
|
|
void on_actionAnalyzePAFNotSelected_triggered();
|
|
|
|
void on_actionAnalyzePAFAndSelected_triggered();
|
|
|
|
void on_actionAnalyzePAFOrSelected_triggered();
|
|
|
|
void on_actionAnalyzePAFAndNotSelected_triggered();
|
|
|
|
void on_actionAnalyzePAFOrNotSelected_triggered();
|
2013-11-13 22:18:01 +00:00
|
|
|
|
2014-08-08 10:59:42 +00:00
|
|
|
void applyConversationFilter();
|
|
|
|
|
2015-07-21 17:32:42 +00:00
|
|
|
void on_actionAnalyzeEnabledProtocols_triggered();
|
2013-11-22 01:07:36 +00:00
|
|
|
void on_actionAnalyzeDecodeAs_triggered();
|
2015-08-11 12:08:08 +00:00
|
|
|
void on_actionAnalyzeReloadLuaPlugins_triggered();
|
2013-11-22 01:07:36 +00:00
|
|
|
|
2013-11-13 22:18:01 +00:00
|
|
|
void openFollowStreamDialog(follow_type_t type);
|
2013-09-09 19:30:30 +00:00
|
|
|
void on_actionAnalyzeFollowTCPStream_triggered();
|
|
|
|
void on_actionAnalyzeFollowUDPStream_triggered();
|
|
|
|
void on_actionAnalyzeFollowSSLStream_triggered();
|
2016-01-02 13:58:08 +00:00
|
|
|
void on_actionAnalyzeFollowHTTPStream_triggered();
|
2015-03-11 22:22:20 +00:00
|
|
|
void statCommandExpertInfo(const char *, void *);
|
|
|
|
void on_actionAnalyzeExpertInfo_triggered();
|
2012-12-07 01:46:20 +00:00
|
|
|
|
2012-09-25 20:08:11 +00:00
|
|
|
void on_actionHelpContents_triggered();
|
|
|
|
void on_actionHelpMPWireshark_triggered();
|
|
|
|
void on_actionHelpMPWireshark_Filter_triggered();
|
2013-07-23 10:32:02 +00:00
|
|
|
void on_actionHelpMPCapinfos_triggered();
|
2012-09-25 20:08:11 +00:00
|
|
|
void on_actionHelpMPDumpcap_triggered();
|
|
|
|
void on_actionHelpMPEditcap_triggered();
|
2013-07-23 10:32:02 +00:00
|
|
|
void on_actionHelpMPMergecap_triggered();
|
|
|
|
void on_actionHelpMPRawShark_triggered();
|
|
|
|
void on_actionHelpMPReordercap_triggered();
|
2012-09-25 20:08:11 +00:00
|
|
|
void on_actionHelpMPText2cap_triggered();
|
2013-07-23 10:32:02 +00:00
|
|
|
void on_actionHelpMPTShark_triggered();
|
2012-07-25 11:53:44 +00:00
|
|
|
void on_actionHelpWebsite_triggered();
|
|
|
|
void on_actionHelpFAQ_triggered();
|
|
|
|
void on_actionHelpAsk_triggered();
|
|
|
|
void on_actionHelpDownloads_triggered();
|
|
|
|
void on_actionHelpWiki_triggered();
|
|
|
|
void on_actionHelpSampleCaptures_triggered();
|
2014-01-02 17:04:10 +00:00
|
|
|
void on_actionHelpAbout_triggered();
|
2013-03-06 22:04:17 +00:00
|
|
|
|
|
|
|
#ifdef HAVE_SOFTWARE_UPDATE
|
2014-10-06 22:33:50 +00:00
|
|
|
void checkForUpdates();
|
2013-03-06 22:04:17 +00:00
|
|
|
#endif
|
|
|
|
|
2012-08-20 04:34:23 +00:00
|
|
|
void on_goToCancel_clicked();
|
|
|
|
void on_goToGo_clicked();
|
|
|
|
void on_goToLineEdit_returnPressed();
|
2014-09-18 21:09:55 +00:00
|
|
|
void on_actionCaptureStart_triggered();
|
|
|
|
void on_actionCaptureStop_triggered();
|
2015-03-18 16:02:54 +00:00
|
|
|
void on_actionCaptureRestart_triggered();
|
2013-07-09 18:08:40 +00:00
|
|
|
|
2014-11-12 22:24:16 +00:00
|
|
|
void on_actionStatisticsCaptureFileProperties_triggered();
|
2015-07-09 23:00:14 +00:00
|
|
|
void on_actionStatisticsResolvedAddresses_triggered();
|
2015-02-03 16:39:14 +00:00
|
|
|
void on_actionStatisticsProtocolHierarchy_triggered();
|
2013-10-24 22:52:30 +00:00
|
|
|
void on_actionStatisticsFlowGraph_triggered();
|
2013-09-04 23:15:59 +00:00
|
|
|
void openTcpStreamDialog(int graph_type);
|
2013-08-27 18:13:20 +00:00
|
|
|
void on_actionStatisticsTcpStreamStevens_triggered();
|
2013-09-13 22:29:05 +00:00
|
|
|
void on_actionStatisticsTcpStreamTcptrace_triggered();
|
2013-09-04 23:15:59 +00:00
|
|
|
void on_actionStatisticsTcpStreamThroughput_triggered();
|
2013-09-08 01:25:27 +00:00
|
|
|
void on_actionStatisticsTcpStreamRoundTripTime_triggered();
|
2013-09-09 01:40:06 +00:00
|
|
|
void on_actionStatisticsTcpStreamWindowScaling_triggered();
|
2013-12-13 07:25:30 +00:00
|
|
|
void openSCTPAllAssocsDialog();
|
|
|
|
void on_actionSCTPShowAllAssociations_triggered();
|
|
|
|
void on_actionSCTPAnalyseThisAssociation_triggered();
|
2013-12-18 13:49:10 +00:00
|
|
|
void on_actionSCTPFilterThisAssociation_triggered();
|
2015-08-12 21:09:35 +00:00
|
|
|
void statCommandMulticastStatistics(const char *arg, void *);
|
|
|
|
void on_actionStatisticsUdpMulticastStreams_triggered();
|
2012-01-04 22:13:01 +00:00
|
|
|
|
2015-08-18 18:46:12 +00:00
|
|
|
void statCommandWlanStatistics(const char *arg, void *);
|
|
|
|
void on_actionWirelessWlanStatistics_triggered();
|
|
|
|
|
2013-11-21 01:28:17 +00:00
|
|
|
void openStatisticsTreeDialog(const gchar *abbr);
|
2014-04-08 22:13:45 +00:00
|
|
|
void on_actionStatistics29WestTopics_Advertisements_by_Topic_triggered();
|
|
|
|
void on_actionStatistics29WestTopics_Advertisements_by_Source_triggered();
|
|
|
|
void on_actionStatistics29WestTopics_Advertisements_by_Transport_triggered();
|
|
|
|
void on_actionStatistics29WestTopics_Queries_by_Topic_triggered();
|
|
|
|
void on_actionStatistics29WestTopics_Queries_by_Receiver_triggered();
|
|
|
|
void on_actionStatistics29WestTopics_Wildcard_Queries_by_Pattern_triggered();
|
|
|
|
void on_actionStatistics29WestTopics_Wildcard_Queries_by_Receiver_triggered();
|
|
|
|
void on_actionStatistics29WestQueues_Advertisements_by_Queue_triggered();
|
|
|
|
void on_actionStatistics29WestQueues_Advertisements_by_Source_triggered();
|
|
|
|
void on_actionStatistics29WestQueues_Queries_by_Queue_triggered();
|
|
|
|
void on_actionStatistics29WestQueues_Queries_by_Receiver_triggered();
|
|
|
|
void on_actionStatistics29WestUIM_Streams_triggered();
|
|
|
|
void on_actionStatistics29WestUIM_Stream_Flow_Graph_triggered();
|
|
|
|
void on_actionStatistics29WestLBTRM_triggered();
|
|
|
|
void on_actionStatistics29WestLBTRU_triggered();
|
2013-11-21 01:28:17 +00:00
|
|
|
void on_actionStatisticsANCP_triggered();
|
|
|
|
void on_actionStatisticsBACappInstanceId_triggered();
|
|
|
|
void on_actionStatisticsBACappIP_triggered();
|
|
|
|
void on_actionStatisticsBACappObjectId_triggered();
|
|
|
|
void on_actionStatisticsBACappService_triggered();
|
|
|
|
void on_actionStatisticsCollectd_triggered();
|
2014-08-06 17:07:42 +00:00
|
|
|
void statCommandConversations(const char *arg = NULL, void *userdata = NULL);
|
2014-04-29 15:10:27 +00:00
|
|
|
void on_actionStatisticsConversations_triggered();
|
2014-08-06 17:07:42 +00:00
|
|
|
void statCommandEndpoints(const char *arg = NULL, void *userdata = NULL);
|
|
|
|
void on_actionStatisticsEndpoints_triggered();
|
2013-11-21 01:28:17 +00:00
|
|
|
void on_actionStatisticsHART_IP_triggered();
|
|
|
|
void on_actionStatisticsHTTPPacketCounter_triggered();
|
|
|
|
void on_actionStatisticsHTTPRequests_triggered();
|
|
|
|
void on_actionStatisticsHTTPLoadDistribution_triggered();
|
2015-06-05 20:17:13 +00:00
|
|
|
void on_actionStatisticsPacketLengths_triggered();
|
2015-02-19 01:18:27 +00:00
|
|
|
void statCommandIOGraph(const char *, void *);
|
Add a Qt I/O Graph dialog.
For each graph you can set:
- Its visibility
- A name
- A display filter
- Color, from a fixed list
- Plot style: Line, Impulse, Bar, Stacked Bar, Dot, Square, Diamond
- Basic Y Axes (packets/s, bytes/s, bits/s)
- Computed Y Axes (SUM, MIN, AVG, MAX)
- Smoothing
You can pan and zoom using the mouse and keyboard. Clicking on a graph
selects the last packet for that interval. If all graphs have the same Y
axis a single label is shown, otherwise a legend is shown.
The time scale (X axis) can be toggled between relative seconds and the
time of day.
Graphs can be saved as PDF, PNG, BMP, and JPEG. Settings are "sticky"
via the io_graphs UAT.
To do:
- Minimize graph drawing delays.
- Figure out why smoothing differs from GTK+
- Everything else at the top of io_graph_dialog.cpp
- Fix empty resets.
A fair amount of code was copied from TCPStreamDialog. We might want to
subclass QCustomPlot and place the shared code there.
Move common syntax checking to SyntaxLineEdit.
Move some common code from ui/gtk/io_stat.c to ui/io_graph_item.[ch] and
use it in both GTK+ and Qt.
Make the io_graph_item_t array allocation in io_stat.c static. The
behavior should be identical and this gives us additional compile-time
checks.
Change-Id: I9a3d544469b7048f0761fdbf7bcf20f44ae76577
Reviewed-on: https://code.wireshark.org/review/435
Reviewed-by: Gerald Combs <gerald@wireshark.org>
Tested-by: Gerald Combs <gerald@wireshark.org>
2014-02-12 00:07:10 +00:00
|
|
|
void on_actionStatisticsIOGraph_triggered();
|
2013-11-21 01:28:17 +00:00
|
|
|
void on_actionStatisticsSametime_triggered();
|
2014-12-30 11:31:46 +00:00
|
|
|
void on_actionStatisticsDNS_triggered();
|
2015-01-06 09:22:48 +00:00
|
|
|
void actionStatisticsPlugin_triggered();
|
2015-01-13 14:13:27 +00:00
|
|
|
void on_actionStatisticsHpfeeds_triggered();
|
2015-01-08 16:35:58 +00:00
|
|
|
void on_actionStatisticsHTTP2_triggered();
|
2013-11-21 01:28:17 +00:00
|
|
|
|
2014-11-19 00:21:42 +00:00
|
|
|
void openVoipCallsDialog(bool all_flows = false);
|
|
|
|
void on_actionTelephonyVoipCalls_triggered();
|
2015-08-05 00:42:53 +00:00
|
|
|
void on_actionTelephonyGsmMapSummary_triggered();
|
2015-09-20 07:42:11 +00:00
|
|
|
void statCommandLteMacStatistics(const char *arg, void *);
|
2015-09-28 10:38:29 +00:00
|
|
|
void on_actionTelephonyLteRlcStatistics_triggered();
|
|
|
|
void statCommandLteRlcStatistics(const char *arg, void *);
|
2015-09-20 07:42:11 +00:00
|
|
|
void on_actionTelephonyLteMacStatistics_triggered();
|
2015-10-10 22:53:45 +00:00
|
|
|
void on_actionTelephonyLteRlcGraph_triggered();
|
2015-09-03 18:18:13 +00:00
|
|
|
void on_actionTelephonyIax2StreamAnalysis_triggered();
|
2013-11-21 01:28:17 +00:00
|
|
|
void on_actionTelephonyISUPMessages_triggered();
|
2015-09-03 18:18:13 +00:00
|
|
|
void on_actionTelephonyMtp3Summary_triggered();
|
2015-01-15 01:25:56 +00:00
|
|
|
void on_actionTelephonyRTPStreams_triggered();
|
2015-02-02 17:01:29 +00:00
|
|
|
void on_actionTelephonyRTPStreamAnalysis_triggered();
|
2013-11-21 01:28:17 +00:00
|
|
|
void on_actionTelephonyRTSPPacketCounter_triggered();
|
|
|
|
void on_actionTelephonySMPPOperations_triggered();
|
|
|
|
void on_actionTelephonyUCPMessages_triggered();
|
2014-11-19 00:21:42 +00:00
|
|
|
void on_actionTelephonySipFlows_triggered();
|
2014-06-16 22:20:16 +00:00
|
|
|
|
2015-09-07 13:46:45 +00:00
|
|
|
void on_actionBluetoothATT_Server_Attributes_triggered();
|
|
|
|
void on_actionBluetoothDevices_triggered();
|
|
|
|
void on_actionBluetoothHCI_Summary_triggered();
|
2015-01-22 11:27:23 +00:00
|
|
|
|
2016-06-01 01:29:39 +00:00
|
|
|
void on_actionToolsFirewallAclRules_triggered();
|
|
|
|
|
2015-05-03 16:01:29 +00:00
|
|
|
void externalMenuItem_triggered();
|
2015-03-30 14:10:01 +00:00
|
|
|
|
2015-07-29 23:24:39 +00:00
|
|
|
void on_actionContextCopyBytesHexTextDump_triggered();
|
|
|
|
void on_actionContextCopyBytesHexDump_triggered();
|
|
|
|
void on_actionContextCopyBytesPrintableText_triggered();
|
|
|
|
void on_actionContextCopyBytesHexStream_triggered();
|
|
|
|
void on_actionContextCopyBytesBinary_triggered();
|
2016-09-14 03:33:54 +00:00
|
|
|
void on_actionContextCopyBytesEscapedString_triggered();
|
2015-07-29 23:24:39 +00:00
|
|
|
|
2016-02-07 21:15:12 +00:00
|
|
|
void on_actionContextShowPacketBytes_triggered();
|
|
|
|
|
2015-07-31 23:52:37 +00:00
|
|
|
void on_actionContextWikiProtocolPage_triggered();
|
|
|
|
void on_actionContextFilterFieldReference_triggered();
|
|
|
|
|
2016-04-27 23:53:03 +00:00
|
|
|
virtual void changeEvent(QEvent* event);
|
2016-04-29 21:33:44 +00:00
|
|
|
virtual void resizeEvent(QResizeEvent *event);
|
2015-04-28 08:26:46 +00:00
|
|
|
|
2016-03-18 17:31:09 +00:00
|
|
|
#ifdef HAVE_EXTCAP
|
2015-04-28 08:26:46 +00:00
|
|
|
void extcap_options_finished(int result);
|
|
|
|
void showExtcapOptionsDialog(QString & device_name);
|
|
|
|
#endif
|
2013-11-21 01:28:17 +00:00
|
|
|
};
|
2014-01-02 17:04:10 +00:00
|
|
|
|
2012-01-04 22:13:01 +00:00
|
|
|
#endif // MAINWINDOW_H
|
2012-09-04 08:18:31 +00:00
|
|
|
|
|
|
|
/*
|
|
|
|
* Editor modelines
|
|
|
|
*
|
|
|
|
* Local Variables:
|
|
|
|
* c-basic-offset: 4
|
|
|
|
* tab-width: 8
|
|
|
|
* indent-tabs-mode: nil
|
|
|
|
* End:
|
|
|
|
*
|
|
|
|
* ex: set shiftwidth=4 tabstop=8 expandtab:
|
|
|
|
* :indentSize=4:tabSize=8:noTabs=true:
|
|
|
|
*/
|