![]() |
LibrePCB Developers Documentation
|
The PrimitivePathGraphicsItem class. More...
#include <primitivepathgraphicsitem.h>
Public Member Functions | |
PrimitivePathGraphicsItem (const PrimitivePathGraphicsItem &other)=delete | |
PrimitivePathGraphicsItem (QGraphicsItem *parent=nullptr) noexcept | |
virtual | ~PrimitivePathGraphicsItem () noexcept |
void | setPosition (const Point &pos) noexcept |
void | setRotation (const Angle &rot) noexcept |
void | setPath (const QPainterPath &path) noexcept |
void | setLineWidth (const UnsignedLength &width) noexcept |
void | setLineLayer (const GraphicsLayer *layer) noexcept |
void | setFillLayer (const GraphicsLayer *layer) noexcept |
void | layerColorChanged (const GraphicsLayer &layer, const QColor &newColor) noexceptoverride |
void | layerHighlightColorChanged (const GraphicsLayer &layer, const QColor &newColor) noexceptoverride |
void | layerVisibleChanged (const GraphicsLayer &layer, bool newVisible) noexceptoverride |
void | layerEnabledChanged (const GraphicsLayer &layer, bool newEnabled) noexceptoverride |
void | layerDestroyed (const GraphicsLayer &layer) noexceptoverride |
QRectF | boundingRect () const noexceptoverride |
QPainterPath | shape () const noexceptoverride |
void | paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget=0) noexceptoverride |
PrimitivePathGraphicsItem & | operator= (const PrimitivePathGraphicsItem &rhs)=delete |
![]() | |
virtual | ~IF_GraphicsLayerObserver () |
Private Member Functions | |
void | updateColors () noexcept |
void | updateBoundingRectAndShape () noexcept |
void | updateVisibility () noexcept |
Private Attributes | |
const GraphicsLayer * | mLineLayer |
const GraphicsLayer * | mFillLayer |
QPen | mPen |
QPen | mPenHighlighted |
QBrush | mBrush |
QBrush | mBrushHighlighted |
QPainterPath | mPainterPath |
QRectF | mBoundingRect |
QPainterPath | mShape |
The PrimitivePathGraphicsItem class.
|
delete |
|
explicitnoexcept |
|
virtualnoexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
overridevirtualnoexcept |
Implements IF_GraphicsLayerObserver.
|
overridevirtualnoexcept |
Implements IF_GraphicsLayerObserver.
|
overridevirtualnoexcept |
Implements IF_GraphicsLayerObserver.
|
overridevirtualnoexcept |
Implements IF_GraphicsLayerObserver.
|
overridevirtualnoexcept |
Implements IF_GraphicsLayerObserver.
|
inlineoverridenoexcept |
|
inlineoverridenoexcept |
|
overridenoexcept |
|
delete |
|
privatenoexcept |
|
privatenoexcept |
|
privatenoexcept |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |