Wireshark 4.7.3
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
PlotAction Class Reference

An action for triggering a plot generation based on a specific field. More...

#include <plot_action.h>

Inheritance diagram for PlotAction:

Signals

void openPlotDialog (const QString &y_field, bool filtered)
 Signal emitted to open the plot dialog.

Public Member Functions

 PlotAction (QObject *parent, const QString &y_field, bool filtered)
 Constructs a new PlotAction object.

Static Public Member Functions

static QMenu * createMenu (const FieldInformation::HeaderInfo &headerinfo, QWidget *parent)
 Creates a menu containing plot actions for a given field.

Detailed Description

An action for triggering a plot generation based on a specific field.

Constructor & Destructor Documentation

◆ PlotAction()

PlotAction::PlotAction ( QObject * parent,
const QString & y_field,
bool filtered )
explicit

Constructs a new PlotAction object.

Parameters
parentThe parent object.
y_fieldThe Y-axis field to plot.
filteredTrue if the plot should use filtered data, false otherwise.

Member Function Documentation

◆ createMenu()

QMenu * PlotAction::createMenu ( const FieldInformation::HeaderInfo & headerinfo,
QWidget * parent )
static

Creates a menu containing plot actions for a given field.

Parameters
headerinfoThe header information of the field.
parentThe parent widget for the menu.
Returns
A pointer to the created QMenu.

◆ openPlotDialog

void PlotAction::openPlotDialog ( const QString & y_field,
bool filtered )
signal

Signal emitted to open the plot dialog.

Parameters
y_fieldThe Y-axis field to plot.
filteredTrue if the plot should use filtered data.

The documentation for this class was generated from the following files: