| Wireshark 4.7.3 The Wireshark network protocol analyzer

Loading...
Searching...
No Matches
traffic_table_dialog.h
Go to the documentation of this file.
1
9
10#ifndef TRAFFIC_TABLE_DIALOG_H
11#define TRAFFIC_TABLE_DIALOG_H
12
13#include <config.h>
14
15#include "file.h"
16
17#include "epan/conversation_table.h"
18
19#include "epan/follow.h"
20
21#include "capture_file.h"
22#include "filter_action.h"
23#include "wireshark_dialog.h"
24
25#include <QMenu>
26#include <QTreeWidgetItem>
27#include <QVBoxLayout>
28
29 class QCheckBox;
30 class QDialogButtonBox;
31 class QPushButton;
32 class QTabWidget;
33 class QTreeWidget;
34 class TrafficTab;
35 class TrafficTypesList;
36
37 namespace Ui {
38 class TrafficTableDialog;
39}
40
46 class TrafficTableDialog : public WiresharkDialog
47{
48 Q_OBJECT
49
50 public:
59 explicit TrafficTableDialog(QWidget &parent, CaptureFile &cf,
60 const QString &table_name = tr("Unknown"));
61
65 ~TrafficTableDialog();
66
67signals:
74 void filterAction(QString filter, FilterAction::Action action, FilterAction::ActionType type);
75
80 void openFollowStreamDialog(int proto_id);
81
86 void openTcpStreamGraph(int graph_type);
87
88 protected:
89 Ui::TrafficTableDialog *ui;
90 QPushButton *copy_bt_;
91
97 void addProgressFrame(QObject *parent);
98
103 QDialogButtonBox *buttonBox() const;
104
109 QCheckBox *displayFilterCheckBox() const;
110
115 QCheckBox *absoluteTimeCheckBox() const;
116
121 QVBoxLayout *getVerticalLayout() const;
122
127 TrafficTab *trafficTab() const;
128
133 TrafficTypesList *trafficList() const;
134
135 protected slots:
140 virtual void currentTabChanged();
141
142 private slots:
147 void on_nameResolutionCheckBox_toggled(bool checked);
148
154 void displayFilterCheckBoxToggled(bool checked);
155
160 void aggregationSummaryOnlyCheckBoxToggled(bool checked);
161
167 void captureEvent(CaptureEvent e);
168
173 virtual void on_buttonBox_helpRequested() = 0;
174};
175
176#endif // TRAFFIC_TABLE_DIALOG_H
capture_file.h
CaptureEvent
Represents an event occurring during a capture or file operation.
Definition capture_event.h:24
CaptureFile
Manages a capture file and its associated state and operations.
Definition capture_file.h:27
FilterAction::Action
Action
Defines an action to be taken with a filter.
Definition filter_action.h:30
FilterAction::ActionType
ActionType
Defines how the new filter should be combined with the existing one.
Definition filter_action.h:43
TrafficTab
A QTabWidget class, providing tap information.
Definition traffic_tab.h:106
TrafficTableDialog::TrafficTableDialog
TrafficTableDialog(QWidget &parent, CaptureFile &cf, const QString &table_name=tr("Unknown"))
Creates a new traffic table dialog.
Definition traffic_table_dialog.cpp:39
TrafficTableDialog::filterAction
void filterAction(QString filter, FilterAction::Action action, FilterAction::ActionType type)
Emitted when the user triggers a filter action from a table context menu.
TrafficTableDialog::buttonBox
QDialogButtonBox * buttonBox() const
Returns the dialog's button box.
Definition traffic_table_dialog.cpp:94
TrafficTableDialog::ui
Ui::TrafficTableDialog * ui
Definition traffic_table_dialog.h:89
TrafficTableDialog::addProgressFrame
void addProgressFrame(QObject *parent)
Inserts a ProgressFrame into the dialog layout and connects it to the capture-file read progress sign...
Definition traffic_table_dialog.cpp:89
TrafficTableDialog::openTcpStreamGraph
void openTcpStreamGraph(int graph_type)
Emitted to request that a TCP stream graph be opened.
TrafficTableDialog::trafficList
TrafficTypesList * trafficList() const
Returns the protocol selector list widget.
Definition traffic_table_dialog.cpp:119
TrafficTableDialog::getVerticalLayout
QVBoxLayout * getVerticalLayout() const
Returns the main vertical layout of the dialog for subclass use.
Definition traffic_table_dialog.cpp:99
TrafficTableDialog::trafficTab
TrafficTab * trafficTab() const
Returns the traffic tab widget that hosts per-protocol statistics tabs.
Definition traffic_table_dialog.cpp:114
TrafficTableDialog::~TrafficTableDialog
~TrafficTableDialog()
Destroys the dialog and releases all associated resources.
Definition traffic_table_dialog.cpp:84
TrafficTableDialog::currentTabChanged
virtual void currentTabChanged()
Called when the active statistics tab changes; subclasses may override to update toolbar or button st...
Definition traffic_table_dialog.cpp:124
TrafficTableDialog::displayFilterCheckBox
QCheckBox * displayFilterCheckBox() const
Returns the "Limit to display filter" check box.
Definition traffic_table_dialog.cpp:104
TrafficTableDialog::copy_bt_
QPushButton * copy_bt_
Definition traffic_table_dialog.h:90
TrafficTableDialog::openFollowStreamDialog
void openFollowStreamDialog(int proto_id)
Emitted to request that a Follow Stream dialog be opened for the given protocol.
TrafficTableDialog::absoluteTimeCheckBox
QCheckBox * absoluteTimeCheckBox() const
Returns the "Absolute time" check box.
Definition traffic_table_dialog.cpp:109
TrafficTypesList
Tree view widget that presents a filterable, sortable, checkable list of traffic-tap protocols and fo...
Definition traffic_types_list.h:229
WiresharkDialog::WiresharkDialog
WiresharkDialog(QWidget &parent, CaptureFile &capture_file)
Constructs a new WiresharkDialog object.
Definition wireshark_dialog.cpp:30
conversation_table.h
file.h
filter_action.h
follow.h
wireshark_dialog.h