Wireshark 4.7.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
Public Slots | Signals | Public Member Functions | Static Public Member Functions | List of all members
Plot Class Reference
Inheritance diagram for Plot:
Graph

Public Slots

void captureEvent (const CaptureEvent &e)
 

Signals

void requestReplot ()
 
void requestRecalc ()
 
void requestRetap ()
 

Public Member Functions

 Plot (QCustomPlot *parent, QCPAxis *keyAxis=nullptr, QCPAxis *valueAxis=nullptr)
 
void setFilterField (const QString &filter, const QString &field)
 
void setPlotStyle (PlotStyles style)
 
void setVisible (bool visible)
 
QString configError () const
 
double startTime () const
 
void setPlotStartTime (double start_time)
 
bool absoluteTime () const
 
void setAbsoluteTime (bool abs_time)
 
int hfIndex () const
 
const std::vector< plot_item_t > & getItems () const
 
void removeTapListener ()
 
uint32_t packetFromTime (double ts) const
 
void makeCsv (QTextStream &stream) const
 
QCPRange recentDrawnDataRange (int count) const
 
- Public Member Functions inherited from Graph
 Graph (QCustomPlot *parent, QCPAxis *keyAxis=nullptr, QCPAxis *valueAxis=nullptr)
 
QString name () const
 
void setName (const QString &name)
 
QRgb color () const
 
void setColor (const QRgb color)
 
bool visible () const
 
void setVisible (bool visible)
 
unsigned int yAxisFactor () const
 
void setYAxisFactor (unsigned int y_axis_factor)
 
QCPGraph * graph () const
 
QCPBars * bars () const
 
bool addToLegend ()
 
bool setPlotStyle (PlotStyles style)
 

Static Public Member Functions

static bool itemCompare (const plot_item_t &a, const plot_item_t &b)
 
static bool itemRelCapCompare (const plot_item_t &a, const plot_item_t &b)
 

Additional Inherited Members

- Public Types inherited from Graph
enum  PlotStyles {
  psLine , psDotLine , psStepLine , psDotStepLine ,
  psImpulse , psBar , psStackedBar , psDot ,
  psSquare , psDiamond , psCross , psPlus ,
  psCircle
}
 
- Public Attributes inherited from Graph
const qreal graph_line_width_ = 1.0
 
- Static Public Attributes inherited from Graph
static const int default_y_axis_factor_ = 1
 
- Protected Member Functions inherited from Graph
void applyCurrentColor ()
 
bool removeFromLegend ()
 
void clearAllData ()
 
- Protected Attributes inherited from Graph
QCustomPlot * parent_
 
QCPGraph * graph_
 
QCPBars * bars_
 
QString name_
 
QBrush color_
 
bool visible_
 
unsigned int y_axis_factor_
 

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