An action to open the IO Graph dialog with specific unit and field configurations.
More...
#include <io_graph_action.h>
An action to open the IO Graph dialog with specific unit and field configurations.
◆ IOGraphAction() [1/2]
Constructs a new IOGraphAction with a specific unit and field.
- Parameters
-
| parent | The parent QObject. |
| unit | The IO graph item unit type (defaults to IOG_ITEM_UNIT_PACKETS). |
| field | The specific protocol field string (defaults to an empty string). |
◆ IOGraphAction() [2/2]
| IOGraphAction::IOGraphAction |
( |
QObject * |
parent | ) |
|
|
explicit |
Constructs a new basic IOGraphAction.
- Parameters
-
| parent | The parent QObject. |
◆ createMenu()
Creates a context menu containing IO graph actions appropriate for a specific header field.
- Parameters
-
| headerinfo | The header field information. |
| parent | The parent widget. |
- Returns
- A pointer to the created QMenu.
◆ openIOGraphDialog
Signal emitted to open the IO Graph dialog with the specified parameters.
- Parameters
-
| unit | The IO graph item unit type to configure. |
| field | The protocol field string to configure. |
◆ unit()
Retrieves the configured IO graph item unit type.
- Returns
- The io_graph_item_unit_t value.
◆ unitName()
Retrieves the string name of a specific IO graph unit type.
- Parameters
-
| unit | The IO graph item unit type. |
- Returns
- The string name of the unit.
◆ unitTypes()
Retrieves a list of applicable unit types for a given header field.
- Parameters
-
| headerinfo | The header field information. |
- Returns
- A list of valid io_graph_item_unit_t values.
◆ valueField()
| QString IOGraphAction::valueField |
( |
| ) |
const |
|
inline |
Retrieves the configured protocol field string.
- Returns
- The field string.
The documentation for this class was generated from the following files:
- /builds/wireshark/wireshark/ui/qt/io_graph_action.h
- /builds/wireshark/wireshark/ui/qt/io_graph_action.cpp