Wireshark
4.7.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
ui
qt
plot_action.h
1
/* @file
2
*
3
* Wireshark - Network traffic analyzer
4
* By Gerald Combs <gerald@wireshark.org>
5
* Copyright 1998 Gerald Combs
6
*
7
* Plots feature by Giovanni Musto <giovanni.musto@italdesign.it>
8
* Copyright (c) 2025-2026
9
*
10
* SPDX-License-Identifier: GPL-2.0-or-later
11
*/
12
13
#ifndef PLOT_ACTION_H
14
#define PLOT_ACTION_H
15
16
#include <
ui/qt/utils/field_information.h
>
17
18
#include <QAction>
19
23
class
PlotAction
:
public
QAction
24
{
25
Q_OBJECT
26
public
:
33
explicit
PlotAction
(QObject* parent,
const
QString& y_field,
bool
filtered);
34
41
static
QMenu*
createMenu
(
const
FieldInformation::HeaderInfo
& headerinfo, QWidget* parent);
42
43
signals:
49
void
openPlotDialog
(
const
QString& y_field,
bool
filtered);
50
51
private
:
53
QString y_field_;
54
56
bool
filtered_;
57
};
58
59
#endif
// PLOT_ACTION_H
PlotAction
An action for triggering a plot generation based on a specific field.
Definition
plot_action.h:24
PlotAction::createMenu
static QMenu * createMenu(const FieldInformation::HeaderInfo &headerinfo, QWidget *parent)
Creates a menu containing plot actions for a given field.
Definition
plot_action.cpp:34
PlotAction::openPlotDialog
void openPlotDialog(const QString &y_field, bool filtered)
Signal emitted to open the plot dialog.
field_information.h
FieldInformation::HeaderInfo
Structure holding header field information.
Definition
field_information.h:36
Generated by
1.9.8