LibrePCB Developers Documentation
|
The BGI_Device class. More...
#include <bgi_device.h>
Inherits QGraphicsItemGroup.
Public Types | |
enum class | Event |
typedef Slot< BGI_Device, Event > | OnEditedSlot |
Public Member Functions | |
BGI_Device ()=delete | |
BGI_Device (const BGI_Device &other)=delete | |
BGI_Device (BI_Device &device, const IF_GraphicsLayerProvider &lp) noexcept | |
virtual | ~BGI_Device () noexcept |
BI_Device & | getDevice () noexcept |
QPainterPath | shape () const noexcept override |
BGI_Device & | operator= (const BGI_Device &rhs)=delete |
Public Attributes | |
Signal< BGI_Device, Event > | onEdited |
Private Member Functions | |
void | deviceEdited (const BI_Device &obj, BI_Device::Event event) noexcept |
void | layerEdited (const GraphicsLayer &layer, GraphicsLayer::Event event) noexcept |
virtual QVariant | itemChange (GraphicsItemChange change, const QVariant &value) noexcept override |
void | updatePosition () noexcept |
void | updateRotationAndMirrored () noexcept |
void | updateBoardSide () noexcept |
void | updateHoleStopMaskOffsets () noexcept |
void | updateZoneLayers () noexcept |
std::shared_ptr< GraphicsLayer > | getLayer (const Layer &layer) const noexcept |
Private Attributes | |
BI_Device & | mDevice |
const IF_GraphicsLayerProvider & | mLayerProvider |
std::shared_ptr< GraphicsLayer > | mGrabAreaLayer |
std::shared_ptr< OriginCrossGraphicsItem > | mOriginCrossGraphicsItem |
QVector< std::shared_ptr< PrimitiveCircleGraphicsItem > > | mCircleGraphicsItems |
QVector< std::shared_ptr< PrimitivePathGraphicsItem > > | mPolygonGraphicsItems |
QVector< std::shared_ptr< PrimitiveZoneGraphicsItem > > | mZoneGraphicsItems |
QVector< std::shared_ptr< PrimitiveHoleGraphicsItem > > | mHoleGraphicsItems |
QPainterPath | mShape |
BI_Device::OnEditedSlot | mOnEditedSlot |
GraphicsLayer::OnEditedSlot | mOnLayerEditedSlot |
The BGI_Device class.
typedef Slot<BGI_Device, Event> OnEditedSlot |
|
strong |
|
delete |
|
delete |
|
noexcept |
|
virtualnoexcept |
|
inlinenoexcept |
|
overridenoexcept |
|
delete |
|
privatenoexcept |
|
privatenoexcept |
|
overrideprivatevirtualnoexcept |
|
privatenoexcept |
|
privatenoexcept |
|
privatenoexcept |
|
privatenoexcept |
|
privatenoexcept |
|
privatenoexcept |
Signal<BGI_Device, Event> onEdited |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |