| Wireshark 4.7.3 The Wireshark network protocol analyzer

Loading...
Searching...
No Matches
stratoshark_plot_dialog.h
Go to the documentation of this file.
1
9
10#ifndef STRATOSHARK_PLOT_DIALOG_H
11#define STRATOSHARK_PLOT_DIALOG_H
12
13#include <config.h>
14#include "plot_dialog.h"
15
19 class StratosharkPlotDialog : public PlotDialog
20{
21 Q_OBJECT
22
23 public:
29 explicit StratosharkPlotDialog(QWidget& parent, CaptureFile& cf);
30
34 virtual ~StratosharkPlotDialog();
35
41 void initialize(QWidget& parent, bool show_default = true);
42
43 protected:
48 virtual QString getFilteredName() const override;
49
54 virtual QString getYAxisName() const override;
55
61 virtual QString getHintText(unsigned num_items) const override;
62
68 virtual void addDefaultPlot(bool enabled, bool filtered) override;
69};
70
71#endif // STRATOSHARK_PLOT_DIALOG_H
CaptureFile
Manages a capture file and its associated state and operations.
Definition capture_file.h:27
PlotDialog::PlotDialog
PlotDialog(QWidget &parent, CaptureFile &cf)
Construct a PlotDialog.
Definition plot_dialog.cpp:104
StratosharkPlotDialog::getFilteredName
virtual QString getFilteredName() const override
Returns the display filter field name used to identify filtered items.
Definition stratoshark_plot_dialog.cpp:44
StratosharkPlotDialog::getYAxisName
virtual QString getYAxisName() const override
Returns the label string for the Y axis.
Definition stratoshark_plot_dialog.cpp:49
StratosharkPlotDialog::getHintText
virtual QString getHintText(unsigned num_items) const override
Returns a contextual hint string describing the number of plotted items.
Definition stratoshark_plot_dialog.cpp:54
StratosharkPlotDialog::~StratosharkPlotDialog
virtual ~StratosharkPlotDialog()
Destroys the StratosharkPlotDialog.
Definition stratoshark_plot_dialog.cpp:35
StratosharkPlotDialog::initialize
void initialize(QWidget &parent, bool show_default=true)
Initializes the dialog, optionally populating it with a default plot using Stratoshark-specific event...
Definition stratoshark_plot_dialog.cpp:39
StratosharkPlotDialog::addDefaultPlot
virtual void addDefaultPlot(bool enabled, bool filtered) override
Adds the default plot entry for Stratoshark with the given visibility and filter state.
Definition stratoshark_plot_dialog.cpp:62
StratosharkPlotDialog::StratosharkPlotDialog
StratosharkPlotDialog(QWidget &parent, CaptureFile &cf)
Constructs the StratosharkPlotDialog.
Definition stratoshark_plot_dialog.cpp:30
plot_dialog.h