LibrePCB Developers Documentation
|
The ZoneGraphicsItem class. More...
#include <zonegraphicsitem.h>
Public Member Functions | |
ZoneGraphicsItem ()=delete | |
ZoneGraphicsItem (const ZoneGraphicsItem &other)=delete | |
ZoneGraphicsItem (Zone &zone, const IF_GraphicsLayerProvider &lp, QGraphicsItem *parent=nullptr) noexcept | |
virtual | ~ZoneGraphicsItem () noexcept |
Zone & | getObj () noexcept |
ZoneGraphicsItem & | operator= (const ZoneGraphicsItem &rhs)=delete |
Public Member Functions inherited from PrimitiveZoneGraphicsItem | |
PrimitiveZoneGraphicsItem ()=delete | |
PrimitiveZoneGraphicsItem (const PrimitiveZoneGraphicsItem &other)=delete | |
PrimitiveZoneGraphicsItem (const IF_GraphicsLayerProvider &lp, QGraphicsItem *parent=nullptr) noexcept | |
virtual | ~PrimitiveZoneGraphicsItem () noexcept |
int | getLineIndexAtPosition (const Point &pos) const noexcept |
QVector< int > | getVertexIndicesAtPosition (const Point &pos) const noexcept |
void | setPosition (const Point &pos) noexcept |
void | setRotation (const Angle &rot) noexcept |
void | setAllLayers (const QSet< const Layer * > &layers) noexcept |
void | setEnabledLayers (const QSet< const Layer * > &layers) noexcept |
void | setOutline (const Path &path) noexcept |
void | setEditable (bool editable) noexcept |
QVariant | itemChange (GraphicsItemChange change, const QVariant &value) noexcept override |
QRectF | boundingRect () const noexcept override |
QPainterPath | shape () const noexcept override |
void | paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget=0) noexcept override |
PrimitiveZoneGraphicsItem & | operator= (const PrimitiveZoneGraphicsItem &rhs)=delete |
Private Member Functions | |
void | zoneEdited (const Zone &zone, Zone::Event event) noexcept |
Private Attributes | |
Zone & | mZone |
Zone::OnEditedSlot | mOnEditedSlot |
The ZoneGraphicsItem class.
|
delete |
|
delete |
|
noexcept |
|
virtualnoexcept |
|
inlinenoexcept |
|
delete |
|
privatenoexcept |
|
private |
|
private |