Wireshark 4.7.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
stratoshark_plot_dialog.h
Go to the documentation of this file.
1
10#ifndef STRATOSHARK_PLOT_DIALOG_H
11#define STRATOSHARK_PLOT_DIALOG_H
12
13#include <config.h>
14#include "plot_dialog.h"
15
20{
21 Q_OBJECT
22
23public:
29 explicit StratosharkPlotDialog(QWidget& parent, CaptureFile& cf);
30
34 virtual ~StratosharkPlotDialog();
35
41 void initialize(QWidget& parent, bool show_default = true);
42
43protected:
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
Manages a capture file and its associated state and operations.
Definition capture_file.h:27
Dialog for configuring and displaying packet field value plots.
Definition plot_dialog.h:96
Stratoshark-specific plot dialog that provides system-call-aware defaults for plot fields,...
Definition stratoshark_plot_dialog.h:20
virtual QString getFilteredName() const override
Returns the display filter field name used to identify filtered items.
Definition stratoshark_plot_dialog.cpp:44
virtual QString getYAxisName() const override
Returns the label string for the Y axis.
Definition stratoshark_plot_dialog.cpp:49
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
virtual ~StratosharkPlotDialog()
Destroys the StratosharkPlotDialog.
Definition stratoshark_plot_dialog.cpp:35
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
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