Wireshark  4.3.0
The Wireshark network protocol analyzer
traffic_table_dialog.h
Go to the documentation of this file.
1 
10 #ifndef TRAFFIC_TABLE_DIALOG_H
11 #define TRAFFIC_TABLE_DIALOG_H
12 
13 #include <config.h>
14 
15 #include "file.h"
16 
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 
28 class QCheckBox;
29 class QDialogButtonBox;
30 class QPushButton;
31 class QTabWidget;
32 class QTreeWidget;
33 class TrafficTab;
34 class TrafficTypesList;
35 
36 namespace Ui {
37 class TrafficTableDialog;
38 }
39 
41 {
42  Q_OBJECT
43 
44 public:
51  explicit TrafficTableDialog(QWidget &parent, CaptureFile &cf, const QString &table_name = tr("Unknown"));
53 
54 signals:
55  void filterAction(QString filter, FilterAction::Action action, FilterAction::ActionType type);
56  void openFollowStreamDialog(int proto_id);
57  void openTcpStreamGraph(int graph_type);
58 
59 protected:
60  Ui::TrafficTableDialog *ui;
61 
62  QPushButton *copy_bt_;
63 
64  void addProgressFrame(QObject *parent);
65 
66  // UI getters
67  QDialogButtonBox *buttonBox() const;
68  QCheckBox *displayFilterCheckBox() const;
69  QCheckBox *absoluteTimeCheckBox() const;
70  TrafficTab *trafficTab() const;
71  TrafficTypesList *trafficList() const;
72 
73 protected slots:
74  virtual void currentTabChanged();
75 
76 private slots:
77  void on_nameResolutionCheckBox_toggled(bool checked);
78  void displayFilterCheckBoxToggled(bool checked);
79  void captureEvent(CaptureEvent e);
80 
81  virtual void on_buttonBox_helpRequested() = 0;
82 };
83 
84 #endif // TRAFFIC_TABLE_DIALOG_H
Definition: capture_event.h:21
Definition: capture_file.h:21
A QTabWidget class, providing tap information.
Definition: traffic_tab.h:75
Definition: traffic_table_dialog.h:41
TrafficTableDialog(QWidget &parent, CaptureFile &cf, const QString &table_name=tr("Unknown"))
Definition: traffic_table_dialog.cpp:38
Definition: traffic_types_list.h:100
Definition: wireshark_dialog.h:35