| 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
13#include "tap_parameter_dialog.h"
14
15#include <config.h>
16
17#include "epan/stats_tree_priv.h"
18
19 struct _tree_cfg_pres {
20 class StatsTreeDialog* st_dlg;
21};
22
26 class StatsTreeDialog : public TapParameterDialog
27{
28 Q_OBJECT
29
30 public:
38 explicit StatsTreeDialog(QWidget &parent, CaptureFile &cf, const char *cfg_abbr);
39
43 ~StatsTreeDialog();
44
50 static void setupNode(stat_node *node);
51
52
53 private:
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
79 private slots:
83 virtual void fillTree() override;
84};
85
86#endif // STATS_TREE_DIALOG_H
CaptureFile
Manages a capture file and its associated state and operations.
Definition capture_file.h:27
StatsTreeDialog::StatsTreeDialog
StatsTreeDialog(QWidget &parent, CaptureFile &cf, const char *cfg_abbr)
Construct a StatsTreeDialog for a given stats_tree configuration.
Definition stats_tree_dialog.cpp:53
StatsTreeDialog::setupNode
static void setupNode(stat_node *node)
Configure the Qt-side presentation fields of a stats_tree node.
Definition stats_tree_dialog.cpp:80
StatsTreeDialog::~StatsTreeDialog
~StatsTreeDialog()
Destructor.
Definition stats_tree_dialog.cpp:71
TapParameterDialog::drawTreeItems
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::TapParameterDialog
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
st_format_type
enum _st_format_type st_format_type
Output format used when saving statistics tree data via "Save As...".
stats_tree_priv.h
_tree_cfg_pres
Definition tap-stats_tree.c:35
tap_parameter_dialog.h