Wireshark  4.3.0
The Wireshark network protocol analyzer
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 
13 #include "tap_parameter_dialog.h"
14 
15 struct _stat_data_t;
16 
18 {
19  Q_OBJECT
20 
21 public:
22  SimpleStatisticsDialog(QWidget &parent, CaptureFile &cf, struct _stat_tap_table_ui *stu, const QString filter, int help_topic = 0);
23  static TapParameterDialog *createSimpleStatisticsDialog(QWidget &parent, const QString cfg_str, const QString filter, CaptureFile &cf);
24 
25 protected:
30  // gtk:service_response_table.h:init_srt_table
31  void addMissingRows(struct _stat_data_t *stat_data);
32 
33 private:
34  struct _stat_tap_table_ui *stu_;
35 
36  // Callbacks for register_tap_listener
37  static void tapReset(void *sd_ptr);
38  static void tapDraw(void *sd_ptr);
39 
40  // How each item (SimpleStatisticsTreeWidgetItem) will be exported
41  virtual QList<QVariant> treeItemData(QTreeWidgetItem *) const;
42 
44 
45 private slots:
46  virtual void fillTree();
47 
48 };
49 
55 bool register_simple_stat_tables(const void *key, void *value, void*);
56 
57 #endif // __SIMPLE_STATISTICS_DIALOG_H__
Definition: capture_file.h:21
Definition: simple_statistics_dialog.h:18
void addMissingRows(struct _stat_data_t *stat_data)
Definition: simple_statistics_dialog.cpp:181
Definition: tap_parameter_dialog.h:43
bool register_simple_stat_tables(const void *key, void *value, void *)
Definition: simple_statistics_dialog.cpp:40
Definition: stat_tap_ui.h:143
Definition: stat_tap_ui.h:122