10#ifndef IO_GRAPH_ACTION_H
11#define IO_GRAPH_ACTION_H
An action to open the IO Graph dialog with specific unit and field configurations.
Definition io_graph_action.h:22
static QMenu * createMenu(const FieldInformation::HeaderInfo &headerinfo, QWidget *parent)
Creates a context menu containing IO graph actions appropriate for a specific header field.
Definition io_graph_action.cpp:103
void openIOGraphDialog(io_graph_item_unit_t unit, QString field)
Signal emitted to open the IO Graph dialog with the specified parameters.
static const QString unitName(io_graph_item_unit_t unit)
Retrieves the string name of a specific IO graph unit type.
Definition io_graph_action.cpp:32
QString valueField() const
Retrieves the configured protocol field string.
Definition io_graph_action.h:49
static QList< io_graph_item_unit_t > unitTypes(const FieldInformation::HeaderInfo &headerinfo)
Retrieves a list of applicable unit types for a given header field.
Definition io_graph_action.cpp:64
io_graph_item_unit_t unit() const
Retrieves the configured IO graph item unit type.
Definition io_graph_action.h:43
IOGraphAction(QObject *parent)
Constructs a new basic IOGraphAction.
io_graph_item_unit_t
Selects the Y-axis value unit or aggregate calculation mode for an I/O graph plot.
Definition io_graph_item.h:29
@ IOG_ITEM_UNIT_PACKETS
Definition io_graph_item.h:31