| Wireshark 4.7.0 The Wireshark network protocol analyzer

Loading...
Searching...
No Matches
stratoshark_io_graph_dialog.h
Go to the documentation of this file.
1
10#ifndef STRATOSHARK_IO_GRAPH_DIALOG_H
11#define STRATOSHARK_IO_GRAPH_DIALOG_H
12
13#include <config.h>
14#include "io_graph_dialog.h"
15
16
17 class StratosharkIOGraphDialog : public IOGraphDialog
18{
19 Q_OBJECT
20
21 public:
22 explicit StratosharkIOGraphDialog(QWidget &parent, CaptureFile &cf);
23 virtual ~StratosharkIOGraphDialog();
24 // Initialize the dialog after construction to allow polymorphic behavior.
25 // Overloaded to provide default io_graph_fields.
26 void initialize(QWidget& parent, QString displayFilter = QString(),
27 io_graph_item_unit_t value_units = IOG_ITEM_UNIT_PACKETS,
28 QString yfield = QString(),
29 bool is_sibling_dialog = false,
30 const QVector<QString> convFilters = QVector<QString>());
31
32 virtual void addDefaultGraph(bool enabled, int idx = 0) override;
33
34 protected:
35 virtual QString getFilteredName() const override;
36 virtual QString getXAxisName() const override;
37 virtual const char* getYAxisName(io_graph_item_unit_t value_units) const override;
38 virtual QString getYFieldName(io_graph_item_unit_t value_units, const QString& yfield) const override;
39 virtual int getYAxisValue(const QString& data) override;
40 virtual QString getNoDataHint() const override;
41 virtual QString getHintText(unsigned num_items) const override;
42
43};
44
45#endif // STRATOSHARK_IO_GRAPH_DIALOG_H
CaptureFile
Definition capture_file.h:21
IOGraphDialog
Definition io_graph_dialog.h:88
StratosharkIOGraphDialog
Definition stratoshark_io_graph_dialog.h:18
io_graph_dialog.h