|
| QCPErrorBars (QCPAxis *keyAxis, QCPAxis *valueAxis) |
|
virtual | ~QCPErrorBars () |
|
QSharedPointer< QCPErrorBarsDataContainer > | data () const |
|
QCPAbstractPlottable * | dataPlottable () const |
|
ErrorType | errorType () const |
|
double | whiskerWidth () const |
|
double | symbolGap () const |
|
void | setData (QSharedPointer< QCPErrorBarsDataContainer > data) |
|
void | setData (const QVector< double > &error) |
|
void | setData (const QVector< double > &errorMinus, const QVector< double > &errorPlus) |
|
void | setDataPlottable (QCPAbstractPlottable *plottable) |
|
void | setErrorType (ErrorType type) |
|
void | setWhiskerWidth (double pixels) |
|
void | setSymbolGap (double pixels) |
|
void | addData (const QVector< double > &error) |
|
void | addData (const QVector< double > &errorMinus, const QVector< double > &errorPlus) |
|
void | addData (double error) |
|
void | addData (double errorMinus, double errorPlus) |
|
virtual int | dataCount () const Q_DECL_OVERRIDE |
|
virtual double | dataMainKey (int index) const Q_DECL_OVERRIDE |
|
virtual double | dataSortKey (int index) const Q_DECL_OVERRIDE |
|
virtual double | dataMainValue (int index) const Q_DECL_OVERRIDE |
|
virtual QCPRange | dataValueRange (int index) const Q_DECL_OVERRIDE |
|
virtual QPointF | dataPixelPosition (int index) const Q_DECL_OVERRIDE |
|
virtual bool | sortKeyIsMainKey () const Q_DECL_OVERRIDE |
|
virtual QCPDataSelection | selectTestRect (const QRectF &rect, bool onlySelectable) const Q_DECL_OVERRIDE |
|
virtual int | findBegin (double sortKey, bool expandedRange=true) const Q_DECL_OVERRIDE |
|
virtual int | findEnd (double sortKey, bool expandedRange=true) const Q_DECL_OVERRIDE |
|
virtual double | selectTest (const QPointF &pos, bool onlySelectable, QVariant *details=0) const Q_DECL_OVERRIDE |
|
virtual QCPPlottableInterface1D * | interface1D () Q_DECL_OVERRIDE |
|
| QCPAbstractPlottable (QCPAxis *keyAxis, QCPAxis *valueAxis) |
|
QString | name () const |
|
bool | antialiasedFill () const |
|
bool | antialiasedScatters () const |
|
bool | antialiasedErrorBars () const |
|
QPen | pen () const |
|
QPen | selectedPen () const |
|
QBrush | brush () const |
|
QBrush | selectedBrush () const |
|
QCPAxis * | keyAxis () const |
|
QCPAxis * | valueAxis () const |
|
bool | selectable () const |
|
bool | selected () const |
|
void | setName (const QString &name) |
|
void | setAntialiasedFill (bool enabled) |
|
void | setAntialiasedScatters (bool enabled) |
|
void | setAntialiasedErrorBars (bool enabled) |
|
void | setPen (const QPen &pen) |
|
void | setSelectedPen (const QPen &pen) |
|
void | setBrush (const QBrush &brush) |
|
void | setSelectedBrush (const QBrush &brush) |
|
void | setKeyAxis (QCPAxis *axis) |
|
void | setValueAxis (QCPAxis *axis) |
|
Q_SLOT void | setSelectable (bool selectable) |
|
Q_SLOT void | setSelected (bool selected) |
|
virtual void | clearData ()=0 |
|
virtual bool | addToLegend () |
|
virtual bool | removeFromLegend () const |
|
void | rescaleAxes (bool onlyEnlarge=false) const |
|
void | rescaleKeyAxis (bool onlyEnlarge=false) const |
|
void | rescaleValueAxis (bool onlyEnlarge=false) const |
|
| QCPAbstractPlottable (QCPAxis *keyAxis, QCPAxis *valueAxis) |
|
virtual | ~QCPAbstractPlottable () |
|
QString | name () const |
|
bool | antialiasedFill () const |
|
bool | antialiasedScatters () const |
|
QPen | pen () const |
|
QBrush | brush () const |
|
QCPAxis * | keyAxis () const |
|
QCPAxis * | valueAxis () const |
|
QCP::SelectionType | selectable () const |
|
bool | selected () const |
|
QCPDataSelection | selection () const |
|
QCPSelectionDecorator * | selectionDecorator () const |
|
void | setName (const QString &name) |
|
void | setAntialiasedFill (bool enabled) |
|
void | setAntialiasedScatters (bool enabled) |
|
void | setPen (const QPen &pen) |
|
void | setBrush (const QBrush &brush) |
|
void | setKeyAxis (QCPAxis *axis) |
|
void | setValueAxis (QCPAxis *axis) |
|
Q_SLOT void | setSelectable (QCP::SelectionType selectable) |
|
Q_SLOT void | setSelection (QCPDataSelection selection) |
|
void | setSelectionDecorator (QCPSelectionDecorator *decorator) |
|
void | coordsToPixels (double key, double value, double &x, double &y) const |
|
const QPointF | coordsToPixels (double key, double value) const |
|
void | pixelsToCoords (double x, double y, double &key, double &value) const |
|
void | pixelsToCoords (const QPointF &pixelPos, double &key, double &value) const |
|
void | rescaleAxes (bool onlyEnlarge=false) const |
|
void | rescaleKeyAxis (bool onlyEnlarge=false) const |
|
void | rescaleValueAxis (bool onlyEnlarge=false, bool inKeyRange=false) const |
|
bool | addToLegend (QCPLegend *legend) |
|
bool | addToLegend () |
|
bool | removeFromLegend (QCPLegend *legend) const |
|
bool | removeFromLegend () const |
|
| QCPAbstractPlottable (QCPAxis *keyAxis, QCPAxis *valueAxis) |
|
QString | name () const |
|
bool | antialiasedFill () const |
|
bool | antialiasedScatters () const |
|
bool | antialiasedErrorBars () const |
|
QPen | pen () const |
|
QPen | selectedPen () const |
|
QBrush | brush () const |
|
QBrush | selectedBrush () const |
|
QCPAxis * | keyAxis () const |
|
QCPAxis * | valueAxis () const |
|
bool | selectable () const |
|
bool | selected () const |
|
void | setName (const QString &name) |
|
void | setAntialiasedFill (bool enabled) |
|
void | setAntialiasedScatters (bool enabled) |
|
void | setAntialiasedErrorBars (bool enabled) |
|
void | setPen (const QPen &pen) |
|
void | setSelectedPen (const QPen &pen) |
|
void | setBrush (const QBrush &brush) |
|
void | setSelectedBrush (const QBrush &brush) |
|
void | setKeyAxis (QCPAxis *axis) |
|
void | setValueAxis (QCPAxis *axis) |
|
Q_SLOT void | setSelectable (bool selectable) |
|
Q_SLOT void | setSelected (bool selected) |
|
virtual void | clearData ()=0 |
|
virtual bool | addToLegend () |
|
virtual bool | removeFromLegend () const |
|
void | rescaleAxes (bool onlyEnlarge=false) const |
|
void | rescaleKeyAxis (bool onlyEnlarge=false) const |
|
void | rescaleValueAxis (bool onlyEnlarge=false) const |
|
| QCPLayerable (QCustomPlot *plot, QString targetLayer=QString(), QCPLayerable *parentLayerable=0) |
|
| ~QCPLayerable () |
|
bool | visible () const |
|
QCustomPlot * | parentPlot () const |
|
QCPLayerable * | parentLayerable () const |
|
QCPLayer * | layer () const |
|
bool | antialiased () const |
|
void | setVisible (bool on) |
|
Q_SLOT bool | setLayer (QCPLayer *layer) |
|
bool | setLayer (const QString &layerName) |
|
void | setAntialiased (bool enabled) |
|
bool | realVisibility () const |
|
| QCPLayerable (QCustomPlot *plot, QString targetLayer=QString(), QCPLayerable *parentLayerable=0) |
|
virtual | ~QCPLayerable () |
|
bool | visible () const |
|
QCustomPlot * | parentPlot () const |
|
QCPLayerable * | parentLayerable () const |
|
QCPLayer * | layer () const |
|
bool | antialiased () const |
|
void | setVisible (bool on) |
|
Q_SLOT bool | setLayer (QCPLayer *layer) |
|
bool | setLayer (const QString &layerName) |
|
void | setAntialiased (bool enabled) |
|
bool | realVisibility () const |
|
| QCPLayerable (QCustomPlot *plot, QString targetLayer=QString(), QCPLayerable *parentLayerable=0) |
|
| ~QCPLayerable () |
|
bool | visible () const |
|
QCustomPlot * | parentPlot () const |
|
QCPLayerable * | parentLayerable () const |
|
QCPLayer * | layer () const |
|
bool | antialiased () const |
|
void | setVisible (bool on) |
|
Q_SLOT bool | setLayer (QCPLayer *layer) |
|
bool | setLayer (const QString &layerName) |
|
void | setAntialiased (bool enabled) |
|
bool | realVisibility () const |
|
virtual | ~QCPPlottableInterface1D () |
|
|
virtual void | draw (QCPPainter *painter) Q_DECL_OVERRIDE |
|
virtual void | drawLegendIcon (QCPPainter *painter, const QRectF &rect) const Q_DECL_OVERRIDE |
|
virtual QCPRange | getKeyRange (bool &foundRange, QCP::SignDomain inSignDomain=QCP::sdBoth) const Q_DECL_OVERRIDE |
|
virtual QCPRange | getValueRange (bool &foundRange, QCP::SignDomain inSignDomain=QCP::sdBoth, const QCPRange &inKeyRange=QCPRange()) const Q_DECL_OVERRIDE |
|
void | getErrorBarLines (QCPErrorBarsDataContainer::const_iterator it, QVector< QLineF > &backbones, QVector< QLineF > &whiskers) const |
|
void | getVisibleDataBounds (QCPErrorBarsDataContainer::const_iterator &begin, QCPErrorBarsDataContainer::const_iterator &end, const QCPDataRange &rangeRestriction) const |
|
double | pointDistance (const QPointF &pixelPoint, QCPErrorBarsDataContainer::const_iterator &closestData) const |
|
void | getDataSegments (QList< QCPDataRange > &selectedSegments, QList< QCPDataRange > &unselectedSegments) const |
|
bool | errorBarVisible (int index) const |
|
bool | rectIntersectsLine (const QRectF &pixelRect, const QLineF &line) const |
|
virtual QRect | clipRect () const |
|
virtual QCP::Interaction | selectionCategory () const |
|
void | applyDefaultAntialiasingHint (QCPPainter *painter) const |
|
virtual void | selectEvent (QMouseEvent *event, bool additive, const QVariant &details, bool *selectionStateChanged) |
|
virtual void | deselectEvent (bool *selectionStateChanged) |
|
virtual QCPRange | getKeyRange (bool &foundRange, SignDomain inSignDomain=sdBoth) const =0 |
|
virtual QCPRange | getValueRange (bool &foundRange, SignDomain inSignDomain=sdBoth) const =0 |
|
void | coordsToPixels (double key, double value, double &x, double &y) const |
|
const QPointF | coordsToPixels (double key, double value) const |
|
void | pixelsToCoords (double x, double y, double &key, double &value) const |
|
void | pixelsToCoords (const QPointF &pixelPos, double &key, double &value) const |
|
QPen | mainPen () const |
|
QBrush | mainBrush () const |
|
void | applyFillAntialiasingHint (QCPPainter *painter) const |
|
void | applyScattersAntialiasingHint (QCPPainter *painter) const |
|
void | applyErrorBarsAntialiasingHint (QCPPainter *painter) const |
|
double | distSqrToLine (const QPointF &start, const QPointF &end, const QPointF &point) const |
|
virtual QRect | clipRect () const Q_DECL_OVERRIDE |
|
virtual QCP::Interaction | selectionCategory () const Q_DECL_OVERRIDE |
|
void | applyDefaultAntialiasingHint (QCPPainter *painter) const Q_DECL_OVERRIDE |
|
virtual void | selectEvent (QMouseEvent *event, bool additive, const QVariant &details, bool *selectionStateChanged) Q_DECL_OVERRIDE |
|
virtual void | deselectEvent (bool *selectionStateChanged) Q_DECL_OVERRIDE |
|
void | applyFillAntialiasingHint (QCPPainter *painter) const |
|
void | applyScattersAntialiasingHint (QCPPainter *painter) const |
|
virtual QRect | clipRect () const |
|
virtual QCP::Interaction | selectionCategory () const |
|
void | applyDefaultAntialiasingHint (QCPPainter *painter) const |
|
virtual void | selectEvent (QMouseEvent *event, bool additive, const QVariant &details, bool *selectionStateChanged) |
|
virtual void | deselectEvent (bool *selectionStateChanged) |
|
virtual QCPRange | getKeyRange (bool &foundRange, SignDomain inSignDomain=sdBoth) const =0 |
|
virtual QCPRange | getValueRange (bool &foundRange, SignDomain inSignDomain=sdBoth) const =0 |
|
void | coordsToPixels (double key, double value, double &x, double &y) const |
|
const QPointF | coordsToPixels (double key, double value) const |
|
void | pixelsToCoords (double x, double y, double &key, double &value) const |
|
void | pixelsToCoords (const QPointF &pixelPos, double &key, double &value) const |
|
QPen | mainPen () const |
|
QBrush | mainBrush () const |
|
void | applyFillAntialiasingHint (QCPPainter *painter) const |
|
void | applyScattersAntialiasingHint (QCPPainter *painter) const |
|
void | applyErrorBarsAntialiasingHint (QCPPainter *painter) const |
|
double | distSqrToLine (const QPointF &start, const QPointF &end, const QPointF &point) const |
|
virtual void | parentPlotInitialized (QCustomPlot *parentPlot) |
|
void | initializeParentPlot (QCustomPlot *parentPlot) |
|
void | setParentLayerable (QCPLayerable *parentLayerable) |
|
bool | moveToLayer (QCPLayer *layer, bool prepend) |
|
void | applyAntialiasingHint (QCPPainter *painter, bool localAntialiased, QCP::AntialiasedElement overrideElement) const |
|
virtual void | parentPlotInitialized (QCustomPlot *parentPlot) |
|
virtual void | mousePressEvent (QMouseEvent *event, const QVariant &details) |
|
virtual void | mouseMoveEvent (QMouseEvent *event, const QPointF &startPos) |
|
virtual void | mouseReleaseEvent (QMouseEvent *event, const QPointF &startPos) |
|
virtual void | mouseDoubleClickEvent (QMouseEvent *event, const QVariant &details) |
|
virtual void | wheelEvent (QWheelEvent *event) |
|
void | initializeParentPlot (QCustomPlot *parentPlot) |
|
void | setParentLayerable (QCPLayerable *parentLayerable) |
|
bool | moveToLayer (QCPLayer *layer, bool prepend) |
|
void | applyAntialiasingHint (QCPPainter *painter, bool localAntialiased, QCP::AntialiasedElement overrideElement) const |
|
virtual void | parentPlotInitialized (QCustomPlot *parentPlot) |
|
void | initializeParentPlot (QCustomPlot *parentPlot) |
|
void | setParentLayerable (QCPLayerable *parentLayerable) |
|
bool | moveToLayer (QCPLayer *layer, bool prepend) |
|
void | applyAntialiasingHint (QCPPainter *painter, bool localAntialiased, QCP::AntialiasedElement overrideElement) const |
|
virtual int QCPErrorBars::findBegin |
( |
double |
sortKey, |
|
|
bool |
expandedRange = true |
|
) |
| const |
|
virtual |
Returns the index of the data point with a (sort-)key that is equal to, just below, or just above sortKey. If expandedRange is true, the data point just below sortKey will be considered, otherwise the one just above.
This can be used in conjunction with findEnd to iterate over data points within a given key range, including or excluding the bounding data points that are just beyond the specified range.
If expandedRange is true but there are no data points below sortKey, 0 is returned.
If the container is empty, returns 0 (in that case, findEnd will also return 0, so a loop using these methods will not iterate over the index 0).
- See also
- findEnd, QCPDataContainer::findBegin
Implements QCPPlottableInterface1D.
virtual int QCPErrorBars::findEnd |
( |
double |
sortKey, |
|
|
bool |
expandedRange = true |
|
) |
| const |
|
virtual |
Returns the index one after the data point with a (sort-)key that is equal to, just above, or just below sortKey. If expandedRange is true, the data point just above sortKey will be considered, otherwise the one just below.
This can be used in conjunction with findBegin to iterate over data points within a given key range, including the bounding data points that are just below and above the specified range.
If expandedRange is true but there are no data points above sortKey, the index just above the highest data point is returned.
If the container is empty, returns 0.
- See also
- findBegin, QCPDataContainer::findEnd
Implements QCPPlottableInterface1D.