Wireshark 4.7.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
stats_tree_dialog.h
Go to the documentation of this file.
1
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_;
62 static void resetTap(void *st_ptr);
63
68 static void drawTreeItems(void *st_ptr);
69
76 virtual QByteArray getTreeAsString(st_format_type format);
77
78
79private slots:
83 virtual void fillTree();
84};
85
86#endif // STATS_TREE_DIALOG_H
Manages a capture file and its associated state and operations.
Definition capture_file.h:27
A TapParameterDialog that displays a stats_tree-based statistics table.
Definition stats_tree_dialog.h:27
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
Base class for statistics dialogs driven by a tap and an optional display filter, presenting results ...
Definition tap_parameter_dialog.h:58
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
enum _st_format_type st_format_type
Output format used when saving statistics tree data via "Save As...".
Represents a node in a hierarchical statistics tree.
Definition stats_tree_priv.h:65
Defines the static configuration and callbacks for a statistics tree type, shared across all instance...
Definition stats_tree_priv.h:142
Represents a live statistics tree instance, holding runtime state for accumulating and displaying tap...
Definition stats_tree_priv.h:117
Definition tap-stats_tree.c:35