QCPItemEllipse Class Reference

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

Inheritance diagram for QCPItemEllipse:
Collaboration diagram for QCPItemEllipse:

Public Member Functions

 QCPItemEllipse (QCustomPlot *parentPlot)
 
virtual ~QCPItemEllipse ()
 
QPen pen () const
 
QPen selectedPen () const
 
QBrush brush () const
 
QBrush selectedBrush () const
 
void setPen (const QPen &pen)
 
void setSelectedPen (const QPen &pen)
 
void setBrush (const QBrush &brush)
 
void setSelectedBrush (const QBrush &brush)
 
virtual double selectTest (const QPointF &pos, bool onlySelectable, QVariant *details=0) const
 
 QCPItemEllipse (QCustomPlot *parentPlot)
 
virtual ~QCPItemEllipse ()
 
QPen pen () const
 
QPen selectedPen () const
 
QBrush brush () const
 
QBrush selectedBrush () const
 
void setPen (const QPen &pen)
 
void setSelectedPen (const QPen &pen)
 
void setBrush (const QBrush &brush)
 
void setSelectedBrush (const QBrush &brush)
 
virtual double selectTest (const QPointF &pos, bool onlySelectable, QVariant *details=0) const Q_DECL_OVERRIDE
 
 QCPItemEllipse (QCustomPlot *parentPlot)
 
virtual ~QCPItemEllipse ()
 
QPen pen () const
 
QPen selectedPen () const
 
QBrush brush () const
 
QBrush selectedBrush () const
 
void setPen (const QPen &pen)
 
void setSelectedPen (const QPen &pen)
 
void setBrush (const QBrush &brush)
 
void setSelectedBrush (const QBrush &brush)
 
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 topLeft
 
QCPItemPosition *const bottomRight
 
QCPItemAnchor *const topLeftRim
 
QCPItemAnchor *const top
 
QCPItemAnchor *const topRightRim
 
QCPItemAnchor *const right
 
QCPItemAnchor *const bottomRightRim
 
QCPItemAnchor *const bottom
 
QCPItemAnchor *const bottomLeftRim
 
QCPItemAnchor *const left
 
QCPItemAnchor *const center
 

Protected Types

enum  AnchorIndex {
  aiTopLeftRim, aiTop, aiTopRightRim, aiRight,
  aiBottomRightRim, aiBottom, aiBottomLeftRim, aiLeft,
  aiCenter, aiTopLeftRim, aiTop, aiTopRightRim,
  aiRight, aiBottomRightRim, aiBottom, aiBottomLeftRim,
  aiLeft, aiCenter, aiTopLeftRim, aiTop,
  aiTopRightRim, aiRight, aiBottomRightRim, aiBottom,
  aiBottomLeftRim, aiLeft, aiCenter
}
 
enum  AnchorIndex {
  aiTopLeftRim, aiTop, aiTopRightRim, aiRight,
  aiBottomRightRim, aiBottom, aiBottomLeftRim, aiLeft,
  aiCenter, aiTopLeftRim, aiTop, aiTopRightRim,
  aiRight, aiBottomRightRim, aiBottom, aiBottomLeftRim,
  aiLeft, aiCenter, aiTopLeftRim, aiTop,
  aiTopRightRim, aiRight, aiBottomRightRim, aiBottom,
  aiBottomLeftRim, aiLeft, aiCenter
}
 
enum  AnchorIndex {
  aiTopLeftRim, aiTop, aiTopRightRim, aiRight,
  aiBottomRightRim, aiBottom, aiBottomLeftRim, aiLeft,
  aiCenter, aiTopLeftRim, aiTop, aiTopRightRim,
  aiRight, aiBottomRightRim, aiBottom, aiBottomLeftRim,
  aiLeft, aiCenter, aiTopLeftRim, aiTop,
  aiTopRightRim, aiRight, aiBottomRightRim, aiBottom,
  aiBottomLeftRim, aiLeft, aiCenter
}
 

Protected Member Functions

virtual void draw (QCPPainter *painter)
 
virtual QPointF anchorPixelPoint (int anchorId) const
 
QPen mainPen () const
 
QBrush mainBrush () const
 
virtual void draw (QCPPainter *painter) Q_DECL_OVERRIDE
 
virtual QPointF anchorPixelPosition (int anchorId) const Q_DECL_OVERRIDE
 
QPen mainPen () const
 
QBrush mainBrush () const
 
virtual void draw (QCPPainter *painter)
 
virtual QPointF anchorPixelPoint (int anchorId) const
 
QPen mainPen () const
 
QBrush mainBrush () 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)
 
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
 
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)
 
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
 
QBrush mBrush
 
QBrush mSelectedBrush
 
- 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)
 

Member Enumeration Documentation

◆ AnchorIndex [1/3]

Enumerator
aiTopLeftRim 
aiTop 
aiTopRightRim 
aiRight 
aiBottomRightRim 
aiBottom 
aiBottomLeftRim 
aiLeft 
aiCenter 
aiTopLeftRim 
aiTop 
aiTopRightRim 
aiRight 
aiBottomRightRim 
aiBottom 
aiBottomLeftRim 
aiLeft 
aiCenter 
aiTopLeftRim 
aiTop 
aiTopRightRim 
aiRight 
aiBottomRightRim 
aiBottom 
aiBottomLeftRim 
aiLeft 
aiCenter 

◆ AnchorIndex [2/3]

Enumerator
aiTopLeftRim 
aiTop 
aiTopRightRim 
aiRight 
aiBottomRightRim 
aiBottom 
aiBottomLeftRim 
aiLeft 
aiCenter 
aiTopLeftRim 
aiTop 
aiTopRightRim 
aiRight 
aiBottomRightRim 
aiBottom 
aiBottomLeftRim 
aiLeft 
aiCenter 
aiTopLeftRim 
aiTop 
aiTopRightRim 
aiRight 
aiBottomRightRim 
aiBottom 
aiBottomLeftRim 
aiLeft 
aiCenter 

◆ AnchorIndex [3/3]

Enumerator
aiTopLeftRim 
aiTop 
aiTopRightRim 
aiRight 
aiBottomRightRim 
aiBottom 
aiBottomLeftRim 
aiLeft 
aiCenter 
aiTopLeftRim 
aiTop 
aiTopRightRim 
aiRight 
aiBottomRightRim 
aiBottom 
aiBottomLeftRim 
aiLeft 
aiCenter 
aiTopLeftRim 
aiTop 
aiTopRightRim 
aiRight 
aiBottomRightRim 
aiBottom 
aiBottomLeftRim 
aiLeft 
aiCenter 

Constructor & Destructor Documentation

◆ QCPItemEllipse() [1/3]

QCPItemEllipse::QCPItemEllipse ( QCustomPlot parentPlot)

◆ ~QCPItemEllipse() [1/3]

virtual QCPItemEllipse::~QCPItemEllipse ( )
virtual

◆ QCPItemEllipse() [2/3]

QCPItemEllipse::QCPItemEllipse ( QCustomPlot parentPlot)
explicit

◆ ~QCPItemEllipse() [2/3]

virtual QCPItemEllipse::~QCPItemEllipse ( )
virtual

◆ QCPItemEllipse() [3/3]

QCPItemEllipse::QCPItemEllipse ( QCustomPlot parentPlot)

◆ ~QCPItemEllipse() [3/3]

virtual QCPItemEllipse::~QCPItemEllipse ( )
virtual

Member Function Documentation

◆ anchorPixelPoint() [1/2]

virtual QPointF QCPItemEllipse::anchorPixelPoint ( int  anchorId) const
protectedvirtual

Reimplemented from QCPAbstractItem.

◆ anchorPixelPoint() [2/2]

virtual QPointF QCPItemEllipse::anchorPixelPoint ( int  anchorId) const
protectedvirtual

Reimplemented from QCPAbstractItem.

◆ anchorPixelPosition()

virtual QPointF QCPItemEllipse::anchorPixelPosition ( int  anchorId) const
protectedvirtual

Reimplemented from QCPAbstractItem.

◆ brush() [1/3]

QBrush QCPItemEllipse::brush ( ) const
inline

◆ brush() [2/3]

QBrush QCPItemEllipse::brush ( ) const
inline

◆ brush() [3/3]

QBrush QCPItemEllipse::brush ( ) const
inline

◆ draw() [1/3]

virtual void QCPItemEllipse::draw ( QCPPainter painter)
protectedvirtual

Implements QCPAbstractItem.

◆ draw() [2/3]

virtual void QCPItemEllipse::draw ( QCPPainter painter)
protectedvirtual

Implements QCPAbstractItem.

◆ draw() [3/3]

virtual void QCPItemEllipse::draw ( QCPPainter painter)
protectedvirtual

Implements QCPAbstractItem.

◆ mainBrush() [1/3]

QBrush QCPItemEllipse::mainBrush ( ) const
protected

◆ mainBrush() [2/3]

QBrush QCPItemEllipse::mainBrush ( ) const
protected

◆ mainBrush() [3/3]

QBrush QCPItemEllipse::mainBrush ( ) const
protected

◆ mainPen() [1/3]

QPen QCPItemEllipse::mainPen ( ) const
protected

◆ mainPen() [2/3]

QPen QCPItemEllipse::mainPen ( ) const
protected

◆ mainPen() [3/3]

QPen QCPItemEllipse::mainPen ( ) const
protected

◆ pen() [1/3]

QPen QCPItemEllipse::pen ( ) const
inline

◆ pen() [2/3]

QPen QCPItemEllipse::pen ( ) const
inline

◆ pen() [3/3]

QPen QCPItemEllipse::pen ( ) const
inline

◆ selectedBrush() [1/3]

QBrush QCPItemEllipse::selectedBrush ( ) const
inline

◆ selectedBrush() [2/3]

QBrush QCPItemEllipse::selectedBrush ( ) const
inline

◆ selectedBrush() [3/3]

QBrush QCPItemEllipse::selectedBrush ( ) const
inline

◆ selectedPen() [1/3]

QPen QCPItemEllipse::selectedPen ( ) const
inline

◆ selectedPen() [2/3]

QPen QCPItemEllipse::selectedPen ( ) const
inline

◆ selectedPen() [3/3]

QPen QCPItemEllipse::selectedPen ( ) const
inline

◆ selectTest() [1/3]

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

Implements QCPAbstractItem.

◆ selectTest() [2/3]

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

Implements QCPAbstractItem.

◆ selectTest() [3/3]

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

Implements QCPAbstractItem.

◆ setBrush() [1/3]

void QCPItemEllipse::setBrush ( const QBrush &  brush)

◆ setBrush() [2/3]

void QCPItemEllipse::setBrush ( const QBrush &  brush)

◆ setBrush() [3/3]

void QCPItemEllipse::setBrush ( const QBrush &  brush)

◆ setPen() [1/3]

void QCPItemEllipse::setPen ( const QPen &  pen)

◆ setPen() [2/3]

void QCPItemEllipse::setPen ( const QPen &  pen)

◆ setPen() [3/3]

void QCPItemEllipse::setPen ( const QPen &  pen)

◆ setSelectedBrush() [1/3]

void QCPItemEllipse::setSelectedBrush ( const QBrush &  brush)

◆ setSelectedBrush() [2/3]

void QCPItemEllipse::setSelectedBrush ( const QBrush &  brush)

◆ setSelectedBrush() [3/3]

void QCPItemEllipse::setSelectedBrush ( const QBrush &  brush)

◆ setSelectedPen() [1/3]

void QCPItemEllipse::setSelectedPen ( const QPen &  pen)

◆ setSelectedPen() [2/3]

void QCPItemEllipse::setSelectedPen ( const QPen &  pen)

◆ setSelectedPen() [3/3]

void QCPItemEllipse::setSelectedPen ( const QPen &  pen)

Member Data Documentation

◆ bottom

QCPItemAnchor *const QCPItemEllipse::bottom

◆ bottomLeftRim

QCPItemAnchor *const QCPItemEllipse::bottomLeftRim

◆ bottomRight

QCPItemPosition *const QCPItemEllipse::bottomRight

◆ bottomRightRim

QCPItemAnchor *const QCPItemEllipse::bottomRightRim

◆ center

QCPItemAnchor *const QCPItemEllipse::center

◆ left

QCPItemAnchor *const QCPItemEllipse::left

◆ mBrush

QBrush QCPItemEllipse::mBrush
protected

◆ mPen

QPen QCPItemEllipse::mPen
protected

◆ mSelectedBrush

QBrush QCPItemEllipse::mSelectedBrush
protected

◆ mSelectedPen

QPen QCPItemEllipse::mSelectedPen
protected

◆ right

QCPItemAnchor *const QCPItemEllipse::right

◆ top

QCPItemAnchor *const QCPItemEllipse::top

◆ topLeft

QCPItemPosition *const QCPItemEllipse::topLeft

◆ topLeftRim

QCPItemAnchor *const QCPItemEllipse::topLeftRim

◆ topRightRim

QCPItemAnchor *const QCPItemEllipse::topRightRim

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