Wireshark  4.3.0
The Wireshark network protocol analyzer
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 
13 #include "tap_parameter_dialog.h"
14 
15 #include <config.h>
16 
17 #include <glib.h>
18 
19 #include "epan/stats_tree_priv.h"
20 
21 struct _tree_cfg_pres {
22  class StatsTreeDialog* st_dlg;
23 };
24 
26 {
27  Q_OBJECT
28 
29 public:
30  explicit StatsTreeDialog(QWidget &parent, CaptureFile &cf, const char *cfg_abbr);
31  ~StatsTreeDialog();
32  static void setupNode(stat_node* node);
33 
34 private:
35  struct _tree_cfg_pres cfg_pr_;
36  stats_tree *st_;
37  stats_tree_cfg *st_cfg_;
38 
39  static void resetTap(void *st_ptr);
40  static void drawTreeItems(void *st_ptr);
41  virtual QByteArray getTreeAsString(st_format_type format);
42 
43 private slots:
44  virtual void fillTree();
45 };
46 
47 #endif // STATS_TREE_DIALOG_H
Definition: capture_file.h:23
Definition: stats_tree_dialog.h:26
Definition: tap_parameter_dialog.h:45
enum _st_format_type st_format_type
Definition: stats_tree_priv.h:55
Definition: stats_tree_priv.h:136
Definition: stats_tree_priv.h:102
Definition: tap-stats_tree.c:34