Wireshark 4.7.3
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
stats_tree_dialog.h
Go to the documentation of this file.
1
9
10#ifndef STATS_TREE_DIALOG_H
11#define STATS_TREE_DIALOG_H
12
14
15#include <config.h>
16
18
19struct _tree_cfg_pres {
20 class StatsTreeDialog* st_dlg;
21};
22
27{
28 Q_OBJECT
29
30public:
38 explicit StatsTreeDialog(QWidget &parent, CaptureFile &cf, const char *cfg_abbr);
39
44
50 static void setupNode(stat_node *node);
51
52
53private:
54 struct _tree_cfg_pres cfg_pr_;
55 stats_tree *st_;
56 stats_tree_cfg *st_cfg_;
57
62 static void resetTap(void *st_ptr);
63
68 static void drawTreeItems(void *st_ptr);
69
76 virtual QByteArray getTreeAsString(st_format_type format) override;
77
78
79private slots:
83 virtual void fillTree() override;
84};
85
86#endif // STATS_TREE_DIALOG_H
Manages a capture file and its associated state and operations.
Definition capture_file.h:27
StatsTreeDialog(QWidget &parent, CaptureFile &cf, const char *cfg_abbr)
Construct a StatsTreeDialog for a given stats_tree configuration.
Definition stats_tree_dialog.cpp:53
static void setupNode(stat_node *node)
Configure the Qt-side presentation fields of a stats_tree node.
Definition stats_tree_dialog.cpp:80
~StatsTreeDialog()
Destructor.
Definition stats_tree_dialog.cpp:71
void drawTreeItems()
Triggers a full redraw of all tree items, typically called after the tap has finished accumulating da...
Definition tap_parameter_dialog.cpp:415
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
enum _st_format_type st_format_type
Output format used when saving statistics tree data via "Save As...".
Definition tap-stats_tree.c:35