QCPItemCurve Class Reference

#include </home/florent/devel/release/src/gepetto-viewer/plugins/pyqcustomplot/qcustomplot-1.3.2/qcustomplot.h>

Inheritance diagram for QCPItemCurve:
Collaboration diagram for QCPItemCurve:

Public Member Functions

 QCPItemCurve (QCustomPlot *parentPlot)
 
virtual ~QCPItemCurve ()
 
QPen pen () const
 
QPen selectedPen () const
 
QCPLineEnding head () const
 
QCPLineEnding tail () const
 
void setPen (const QPen &pen)
 
void setSelectedPen (const QPen &pen)
 
void setHead (const QCPLineEnding &head)
 
void setTail (const QCPLineEnding &tail)
 
virtual double selectTest (const QPointF &pos, bool onlySelectable, QVariant *details=0) const
 
 QCPItemCurve (QCustomPlot *parentPlot)
 
virtual ~QCPItemCurve ()
 
QPen pen () const
 
QPen selectedPen () const
 
QCPLineEnding head () const
 
QCPLineEnding tail () const
 
void setPen (const QPen &pen)
 
void setSelectedPen (const QPen &pen)
 
void setHead (const QCPLineEnding &head)
 
void setTail (const QCPLineEnding &tail)
 
virtual double selectTest (const QPointF &pos, bool onlySelectable, QVariant *details=0) const Q_DECL_OVERRIDE
 
 QCPItemCurve (QCustomPlot *parentPlot)
 
virtual ~QCPItemCurve ()
 
QPen pen () const
 
QPen selectedPen () const
 
QCPLineEnding head () const
 
QCPLineEnding tail () const
 
void setPen (const QPen &pen)
 
void setSelectedPen (const QPen &pen)
 
void setHead (const QCPLineEnding &head)
 
void setTail (const QCPLineEnding &tail)
 
virtual double selectTest (const QPointF &pos, bool onlySelectable, QVariant *details=0) const
 
- Public Member Functions inherited from QCPAbstractItem
 QCPAbstractItem (QCustomPlot *parentPlot)
 
virtual ~QCPAbstractItem ()
 
bool clipToAxisRect () const
 
QCPAxisRectclipAxisRect () const
 
bool selectable () const
 
bool selected () const
 
void setClipToAxisRect (bool clip)
 
void setClipAxisRect (QCPAxisRect *rect)
 
Q_SLOT void setSelectable (bool selectable)
 
Q_SLOT void setSelected (bool selected)
 
QList< QCPItemPosition * > positions () const
 
QList< QCPItemAnchor * > anchors () const
 
QCPItemPositionposition (const QString &name) const
 
QCPItemAnchoranchor (const QString &name) const
 
bool hasAnchor (const QString &name) const
 
 QCPAbstractItem (QCustomPlot *parentPlot)
 
virtual ~QCPAbstractItem ()
 
bool clipToAxisRect () const
 
QCPAxisRectclipAxisRect () const
 
bool selectable () const
 
bool selected () const
 
void setClipToAxisRect (bool clip)
 
void setClipAxisRect (QCPAxisRect *rect)
 
Q_SLOT void setSelectable (bool selectable)
 
Q_SLOT void setSelected (bool selected)
 
QList< QCPItemPosition * > positions () const
 
QList< QCPItemAnchor * > anchors () const
 
QCPItemPositionposition (const QString &name) const
 
QCPItemAnchoranchor (const QString &name) const
 
bool hasAnchor (const QString &name) const
 
 QCPAbstractItem (QCustomPlot *parentPlot)
 
virtual ~QCPAbstractItem ()
 
bool clipToAxisRect () const
 
QCPAxisRectclipAxisRect () const
 
bool selectable () const
 
bool selected () const
 
void setClipToAxisRect (bool clip)
 
void setClipAxisRect (QCPAxisRect *rect)
 
Q_SLOT void setSelectable (bool selectable)
 
Q_SLOT void setSelected (bool selected)
 
QList< QCPItemPosition * > positions () const
 
QList< QCPItemAnchor * > anchors () const
 
QCPItemPositionposition (const QString &name) const
 
QCPItemAnchoranchor (const QString &name) const
 
bool hasAnchor (const QString &name) const
 
- Public Member Functions inherited from QCPLayerable
 QCPLayerable (QCustomPlot *plot, QString targetLayer=QString(), QCPLayerable *parentLayerable=0)
 
 ~QCPLayerable ()
 
bool visible () const
 
QCustomPlotparentPlot () const
 
QCPLayerableparentLayerable () const
 
QCPLayerlayer () 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
 
QCustomPlotparentPlot () const
 
QCPLayerableparentLayerable () const
 
QCPLayerlayer () 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
 
QCustomPlotparentPlot () const
 
QCPLayerableparentLayerable () const
 
QCPLayerlayer () 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
 

Public Attributes

QCPItemPosition *const start
 
QCPItemPosition *const startDir
 
QCPItemPosition *const endDir
 
QCPItemPosition *const end
 

Protected Member Functions

virtual void draw (QCPPainter *painter)
 
QPen mainPen () const
 
virtual void draw (QCPPainter *painter) Q_DECL_OVERRIDE
 
QPen mainPen () const
 
virtual void draw (QCPPainter *painter)
 
QPen mainPen () const
 
- Protected Member Functions inherited from QCPAbstractItem
virtual QCP::Interaction selectionCategory () const
 
virtual QRect clipRect () const
 
virtual void applyDefaultAntialiasingHint (QCPPainter *painter) const
 
virtual void selectEvent (QMouseEvent *event, bool additive, const QVariant &details, bool *selectionStateChanged)
 
virtual void deselectEvent (bool *selectionStateChanged)
 
virtual QPointF anchorPixelPoint (int anchorId) const
 
double distSqrToLine (const QPointF &start, const QPointF &end, const QPointF &point) const
 
double rectSelectTest (const QRectF &rect, const QPointF &pos, bool filledRect) const
 
QCPItemPositioncreatePosition (const QString &name)
 
QCPItemAnchorcreateAnchor (const QString &name, int anchorId)
 
virtual QCP::Interaction selectionCategory () const Q_DECL_OVERRIDE
 
virtual QRect clipRect () const Q_DECL_OVERRIDE
 
virtual 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
 
virtual QPointF anchorPixelPosition (int anchorId) const
 
double rectDistance (const QRectF &rect, const QPointF &pos, bool filledRect) const
 
QCPItemPositioncreatePosition (const QString &name)
 
QCPItemAnchorcreateAnchor (const QString &name, int anchorId)
 
virtual QCP::Interaction selectionCategory () const
 
virtual QRect clipRect () const
 
virtual void applyDefaultAntialiasingHint (QCPPainter *painter) const
 
virtual void selectEvent (QMouseEvent *event, bool additive, const QVariant &details, bool *selectionStateChanged)
 
virtual void deselectEvent (bool *selectionStateChanged)
 
virtual QPointF anchorPixelPoint (int anchorId) const
 
double distSqrToLine (const QPointF &start, const QPointF &end, const QPointF &point) const
 
double rectSelectTest (const QRectF &rect, const QPointF &pos, bool filledRect) const
 
QCPItemPositioncreatePosition (const QString &name)
 
QCPItemAnchorcreateAnchor (const QString &name, int anchorId)
 
- Protected Member Functions inherited from QCPLayerable
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
 

Protected Attributes

QPen mPen
 
QPen mSelectedPen
 
QCPLineEnding mHead
 
QCPLineEnding mTail
 
- Protected Attributes inherited from QCPAbstractItem
bool mClipToAxisRect
 
QPointer< QCPAxisRectmClipAxisRect
 
QList< QCPItemPosition * > mPositions
 
QList< QCPItemAnchor * > mAnchors
 
bool mSelectable
 
bool mSelected
 
- Protected Attributes inherited from QCPLayerable
bool mVisible
 
QCustomPlotmParentPlot
 
QPointer< QCPLayerablemParentLayerable
 
QCPLayermLayer
 
bool mAntialiased
 

Additional Inherited Members

- Signals inherited from QCPAbstractItem
void selectionChanged (bool selected)
 
void selectableChanged (bool selectable)
 
void selectionChanged (bool selected)
 
void selectableChanged (bool selectable)
 
void selectionChanged (bool selected)
 
void selectableChanged (bool selectable)
 
- Signals inherited from QCPLayerable
void layerChanged (QCPLayer *newLayer)
 
void layerChanged (QCPLayer *newLayer)
 
void layerChanged (QCPLayer *newLayer)
 

Constructor & Destructor Documentation

◆ QCPItemCurve() [1/3]

QCPItemCurve::QCPItemCurve ( QCustomPlot parentPlot)

◆ ~QCPItemCurve() [1/3]

virtual QCPItemCurve::~QCPItemCurve ( )
virtual

◆ QCPItemCurve() [2/3]

QCPItemCurve::QCPItemCurve ( QCustomPlot parentPlot)
explicit

◆ ~QCPItemCurve() [2/3]

virtual QCPItemCurve::~QCPItemCurve ( )
virtual

◆ QCPItemCurve() [3/3]

QCPItemCurve::QCPItemCurve ( QCustomPlot parentPlot)

◆ ~QCPItemCurve() [3/3]

virtual QCPItemCurve::~QCPItemCurve ( )
virtual

Member Function Documentation

◆ draw() [1/3]

virtual void QCPItemCurve::draw ( QCPPainter painter)
protectedvirtual

Implements QCPAbstractItem.

◆ draw() [2/3]

virtual void QCPItemCurve::draw ( QCPPainter painter)
protectedvirtual

Implements QCPAbstractItem.

◆ draw() [3/3]

virtual void QCPItemCurve::draw ( QCPPainter painter)
protectedvirtual

Implements QCPAbstractItem.

◆ head() [1/3]

QCPLineEnding QCPItemCurve::head ( ) const
inline

◆ head() [2/3]

QCPLineEnding QCPItemCurve::head ( ) const
inline

◆ head() [3/3]

QCPLineEnding QCPItemCurve::head ( ) const
inline

◆ mainPen() [1/3]

QPen QCPItemCurve::mainPen ( ) const
protected

◆ mainPen() [2/3]

QPen QCPItemCurve::mainPen ( ) const
protected

◆ mainPen() [3/3]

QPen QCPItemCurve::mainPen ( ) const
protected

◆ pen() [1/3]

QPen QCPItemCurve::pen ( ) const
inline

◆ pen() [2/3]

QPen QCPItemCurve::pen ( ) const
inline

◆ pen() [3/3]

QPen QCPItemCurve::pen ( ) const
inline

◆ selectedPen() [1/3]

QPen QCPItemCurve::selectedPen ( ) const
inline

◆ selectedPen() [2/3]

QPen QCPItemCurve::selectedPen ( ) const
inline

◆ selectedPen() [3/3]

QPen QCPItemCurve::selectedPen ( ) const
inline

◆ selectTest() [1/3]

virtual double QCPItemCurve::selectTest ( const QPointF &  pos,
bool  onlySelectable,
QVariant *  details = 0 
) const
virtual

Implements QCPAbstractItem.

◆ selectTest() [2/3]

virtual double QCPItemCurve::selectTest ( const QPointF &  pos,
bool  onlySelectable,
QVariant *  details = 0 
) const
virtual

Implements QCPAbstractItem.

◆ selectTest() [3/3]

virtual double QCPItemCurve::selectTest ( const QPointF &  pos,
bool  onlySelectable,
QVariant *  details = 0 
) const
virtual

Implements QCPAbstractItem.

◆ setHead() [1/3]

void QCPItemCurve::setHead ( const QCPLineEnding head)

◆ setHead() [2/3]

void QCPItemCurve::setHead ( const QCPLineEnding head)

◆ setHead() [3/3]

void QCPItemCurve::setHead ( const QCPLineEnding head)

◆ setPen() [1/3]

void QCPItemCurve::setPen ( const QPen &  pen)

◆ setPen() [2/3]

void QCPItemCurve::setPen ( const QPen &  pen)

◆ setPen() [3/3]

void QCPItemCurve::setPen ( const QPen &  pen)

◆ setSelectedPen() [1/3]

void QCPItemCurve::setSelectedPen ( const QPen &  pen)

◆ setSelectedPen() [2/3]

void QCPItemCurve::setSelectedPen ( const QPen &  pen)

◆ setSelectedPen() [3/3]

void QCPItemCurve::setSelectedPen ( const QPen &  pen)

◆ setTail() [1/3]

void QCPItemCurve::setTail ( const QCPLineEnding tail)

◆ setTail() [2/3]

void QCPItemCurve::setTail ( const QCPLineEnding tail)

◆ setTail() [3/3]

void QCPItemCurve::setTail ( const QCPLineEnding tail)

◆ tail() [1/3]

QCPLineEnding QCPItemCurve::tail ( ) const
inline

◆ tail() [2/3]

QCPLineEnding QCPItemCurve::tail ( ) const
inline

◆ tail() [3/3]

QCPLineEnding QCPItemCurve::tail ( ) const
inline

Member Data Documentation

◆ end

QCPItemPosition *const QCPItemCurve::end

◆ endDir

QCPItemPosition *const QCPItemCurve::endDir

◆ mHead

QCPLineEnding QCPItemCurve::mHead
protected

◆ mPen

QPen QCPItemCurve::mPen
protected

◆ mSelectedPen

QPen QCPItemCurve::mSelectedPen
protected

◆ mTail

QCPLineEnding QCPItemCurve::mTail
protected

◆ start

QCPItemPosition *const QCPItemCurve::start

◆ startDir

QCPItemPosition *const QCPItemCurve::startDir

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