LibrePCB Developers Documentation
|
The CircleGraphicsItem class. More...
#include <circlegraphicsitem.h>
Public Member Functions | |
CircleGraphicsItem ()=delete | |
CircleGraphicsItem (const CircleGraphicsItem &other)=delete | |
CircleGraphicsItem (Circle &circle, const IF_GraphicsLayerProvider &lp, QGraphicsItem *parent=nullptr) noexcept | |
virtual | ~CircleGraphicsItem () noexcept |
Circle & | getObj () noexcept |
CircleGraphicsItem & | operator= (const CircleGraphicsItem &rhs)=delete |
Public Member Functions inherited from PrimitiveCircleGraphicsItem | |
PrimitiveCircleGraphicsItem (const PrimitiveCircleGraphicsItem &other)=delete | |
PrimitiveCircleGraphicsItem (QGraphicsItem *parent=nullptr) noexcept | |
virtual | ~PrimitiveCircleGraphicsItem () noexcept |
void | setPosition (const Point &pos) noexcept |
void | setDiameter (const UnsignedLength &dia) noexcept |
void | setLineWidth (const UnsignedLength &width) noexcept |
void | setLineLayer (const std::shared_ptr< GraphicsLayer > &layer) noexcept |
void | setFillLayer (const std::shared_ptr< GraphicsLayer > &layer) noexcept |
void | setShapeMode (ShapeMode mode) noexcept |
virtual QRectF | boundingRect () const noexcept override |
virtual QPainterPath | shape () const noexcept override |
virtual void | paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget=0) noexcept override |
PrimitiveCircleGraphicsItem & | operator= (const PrimitiveCircleGraphicsItem &rhs)=delete |
Private Member Functions | |
void | circleEdited (const Circle &circle, Circle::Event event) noexcept |
void | updateFillLayer () noexcept |
void | updateZValue () noexcept |
Private Attributes | |
Circle & | mCircle |
const IF_GraphicsLayerProvider & | mLayerProvider |
Circle::OnEditedSlot | mEditedSlot |
Additional Inherited Members | |
Public Types inherited from PrimitiveCircleGraphicsItem | |
enum class | ShapeMode |
The CircleGraphicsItem class.
|
delete |
|
delete |
|
noexcept |
|
virtualnoexcept |
|
inlinenoexcept |
|
delete |
|
privatenoexcept |
|
privatenoexcept |
|
privatenoexcept |
|
private |
|
private |
|
private |