Wireshark 4.7.3
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
simple_statistics_dialog.h
Go to the documentation of this file.
1
9
10#ifndef __SIMPLE_STATISTICS_DIALOG_H__
11#define __SIMPLE_STATISTICS_DIALOG_H__
12
14
15struct _stat_data_t;
16
23{
24 Q_OBJECT
25
26public:
35 SimpleStatisticsDialog(QWidget &parent, CaptureFile &cf,
36 struct _stat_tap_table_ui *stu,
37 const QString filter,
38 int help_topic = 0);
39
53 const QString cfg_str,
54 const QString filter,
55 CaptureFile &cf);
56
57protected:
66 void addMissingRows(struct _stat_data_t *stat_data);
67
68private:
69 struct _stat_tap_table_ui *stu_;
70
75 static void tapReset(void *sd_ptr);
76
81 static void tapDraw(void *sd_ptr);
82
91 virtual QList<QVariant> treeItemData(QTreeWidgetItem *item) const override;
92
97
98private slots:
105 virtual void fillTree() override;
106};
107
114bool register_simple_stat_tables(const void *key, void *value, void*);
115
116#endif // __SIMPLE_STATISTICS_DIALOG_H__
Manages a capture file and its associated state and operations.
Definition capture_file.h:27
SimpleStatisticsDialog(QWidget &parent, CaptureFile &cf, struct _stat_tap_table_ui *stu, const QString filter, int help_topic=0)
Constructs a SimpleStatisticsDialog and registers the tap listener.
Definition simple_statistics_dialog.cpp:150
static TapParameterDialog * createSimpleStatisticsDialog(QWidget &parent, const QString cfg_str, const QString filter, CaptureFile &cf)
Factory function conforming to the TapParameterDialog creation signature.
Definition simple_statistics_dialog.cpp:173
void addMissingRows(struct _stat_data_t *stat_data)
Adds tree widget rows for any table entries present in stat_data that do not yet have a corresponding...
Definition simple_statistics_dialog.cpp:185
TapParameterDialog(QWidget &parent, CaptureFile &cf, int help_topic=0)
Constructs the tap parameter dialog and registers it for retapping.
Definition tap_parameter_dialog.cpp:69
bool register_simple_stat_tables(const void *key, void *value, void *)
Register function to register dissectors that support a "simple" statistics table.
Definition simple_statistics_dialog.cpp:42
Per-tap-instance data passed between the tap engine and the statistics UI.
Definition stat_tap_ui.h:205
Registration descriptor and runtime state for a table-based tap statistics UI.
Definition stat_tap_ui.h:156