10#ifndef STRATOSHARK_IO_GRAPH_DIALOG_H
11#define STRATOSHARK_IO_GRAPH_DIALOG_H
59 QString displayFilter = QString(),
61 QString yfield = QString(),
62 bool is_sibling_dialog =
false,
63 const QVector<QString> convFilters = QVector<QString>());
118 virtual QString
getHintText(
unsigned num_items)
const override;
Manages a capture file and its associated state and operations.
Definition capture_file.h:27
Dialog for configuring and displaying I/O throughput graphs.
Definition io_graph_dialog.h:116
Stratoshark-specific I/O graph dialog, overriding axis labels, default graphs, and hint strings to us...
Definition stratoshark_io_graph_dialog.h:23
virtual QString getXAxisName() const override
Returns the localised X-axis label for the graph.
Definition stratoshark_io_graph_dialog.cpp:65
virtual QString getFilteredName() const override
Returns the display name used when saving filtered graph data.
Definition stratoshark_io_graph_dialog.cpp:60
virtual ~StratosharkIOGraphDialog()
Destroys the dialog.
Definition stratoshark_io_graph_dialog.cpp:41
virtual QString getHintText(unsigned num_items) const override
Returns the status-bar hint string summarising the graph contents.
Definition stratoshark_io_graph_dialog.cpp:90
virtual int getYAxisValue(const QString &data) override
Parses a Y-axis value from a raw data string in the graph model.
Definition stratoshark_io_graph_dialog.cpp:80
virtual QString getNoDataHint() const override
Returns the hint string displayed when the graph contains no data.
Definition stratoshark_io_graph_dialog.cpp:85
virtual QString getYFieldName(io_graph_item_unit_t value_units, const QString &yfield) const override
Returns the default Y-axis field name for the given unit and explicit field override.
Definition stratoshark_io_graph_dialog.cpp:75
virtual const char * getYAxisName(io_graph_item_unit_t value_units) const override
Returns the localised Y-axis label for the given unit type.
Definition stratoshark_io_graph_dialog.cpp:70
void initialize(QWidget &parent, QString displayFilter=QString(), io_graph_item_unit_t value_units=IOG_ITEM_UNIT_PACKETS, QString yfield=QString(), bool is_sibling_dialog=false, const QVector< QString > convFilters=QVector< QString >())
Completes dialog initialization after construction.
Definition stratoshark_io_graph_dialog.cpp:45
virtual void addDefaultGraph(bool enabled, int idx=0) override
Adds a Stratoshark-appropriate default graph to the dialog.
Definition stratoshark_io_graph_dialog.cpp:50
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