Wireshark 4.7.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
simple_statistics_dialog.h
Go to the documentation of this file.
1
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_;
75 static void tapReset(void *sd_ptr);
76
81 static void tapDraw(void *sd_ptr);
82
91 virtual QList<QVariant> treeItemData(QTreeWidgetItem *item) const;
92
97
98private slots:
105 virtual void fillTree();
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
TapParameterDialog specialisation that displays a generic tap-driven statistics table whose columns a...
Definition simple_statistics_dialog.h:23
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
Base class for statistics dialogs driven by a tap and an optional display filter, presenting results ...
Definition tap_parameter_dialog.h:58
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