JKQTPlotter trunk/v5.0.0
an extensive Qt5+Qt6 Plotter framework (including a feature-richt plotter widget, a speed-optimized, but limited variant and a LaTeX equation renderer!), written fully in C/C++ and without external dependencies
Loading...
Searching...
No Matches

Dataset for a single point on the graph, associated with its data-column index and a label that can be used by a basic implementation of hitTest() More...

#include <jkqtpgraphsbase.h>

Public Member Functions

 HitTestLocation ()
 
 HitTestLocation (const QPointF &pos_, const QString &label_)
 
 HitTestLocation (const QPointF &pos_, int index_, const QString &label_)
 
 HitTestLocation (double x_, double y_, const QString &label_)
 
 HitTestLocation (double x_, double y_, int index_, const QString &label_)
 

Public Attributes

int index
 index of the hit-test point in the linked data-columns (or -1)
 
QString label
 label for that specific hit-test point
 
QPointF pos
 position of the hit-test point
 

Detailed Description

Dataset for a single point on the graph, associated with its data-column index and a label that can be used by a basic implementation of hitTest()

See also
hitTest()

Constructor & Destructor Documentation

◆ HitTestLocation() [1/5]

JKQTPPlotElement::HitTestLocation::HitTestLocation ( )
inline

◆ HitTestLocation() [2/5]

JKQTPPlotElement::HitTestLocation::HitTestLocation ( double  x_,
double  y_,
const QString &  label_ 
)
inline

◆ HitTestLocation() [3/5]

JKQTPPlotElement::HitTestLocation::HitTestLocation ( const QPointF &  pos_,
const QString &  label_ 
)
inline

◆ HitTestLocation() [4/5]

JKQTPPlotElement::HitTestLocation::HitTestLocation ( double  x_,
double  y_,
int  index_,
const QString &  label_ 
)
inline

◆ HitTestLocation() [5/5]

JKQTPPlotElement::HitTestLocation::HitTestLocation ( const QPointF &  pos_,
int  index_,
const QString &  label_ 
)
inline

Member Data Documentation

◆ index

int JKQTPPlotElement::HitTestLocation::index

index of the hit-test point in the linked data-columns (or -1)

◆ label

QString JKQTPPlotElement::HitTestLocation::label

label for that specific hit-test point

◆ pos

QPointF JKQTPPlotElement::HitTestLocation::pos

position of the hit-test point


The documentation for this struct was generated from the following file: