20#ifndef LIBREPCB_EDITOR_BGI_NETPOINT_H
21#define LIBREPCB_EDITOR_BGI_NETPOINT_H
26#include "../../../graphics/graphicslayer.h"
60 QPainterPath
shape() const noexcept override;
61 void paint(QPainter* painter, const QStyleOptionGraphicsItem* option,
62 QWidget* widget) noexcept override;
The BI_NetPoint class.
Definition bi_netpoint.h:46
The BGI_NetPoint class.
Definition bgi_netpoint.h:46
QRectF boundingRect() const noexcept override
Definition bgi_netpoint.h:59
BI_NetPoint::OnEditedSlot mOnEditedSlot
Definition bgi_netpoint.h:89
void updatePosition() noexcept
Definition bgi_netpoint.cpp:146
void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget) noexcept override
Definition bgi_netpoint.cpp:74
QPainterPath mShape
Definition bgi_netpoint.h:86
std::shared_ptr< GraphicsLayer > mLayer
Definition bgi_netpoint.h:82
BI_NetPoint & mNetPoint
Definition bgi_netpoint.h:80
QPainterPath shape() const noexcept override
Definition bgi_netpoint.cpp:70
GraphicsLayer::OnEditedSlot mOnLayerEditedSlot
Definition bgi_netpoint.h:90
BGI_NetPoint(const BGI_NetPoint &other)=delete
const IF_GraphicsLayerProvider & mLayerProvider
Definition bgi_netpoint.h:81
BI_NetPoint & getNetPoint() noexcept
Definition bgi_netpoint.h:56
QRectF mBoundingRect
Definition bgi_netpoint.h:85
void layerEdited(const GraphicsLayer &layer, GraphicsLayer::Event event) noexcept
Definition bgi_netpoint.cpp:109
virtual ~BGI_NetPoint() noexcept
Definition bgi_netpoint.cpp:63
void netPointEdited(const BI_NetPoint &obj, BI_NetPoint::Event event) noexcept
Definition bgi_netpoint.cpp:86
void updateVisibility() noexcept
Definition bgi_netpoint.cpp:166
void updateLayer() noexcept
Definition bgi_netpoint.cpp:129
void updateNetSignalName() noexcept
Definition bgi_netpoint.cpp:162
void updateDiameter() noexcept
Definition bgi_netpoint.cpp:150
The GraphicsLayer class represents a graphical layer used in schematics and boards.
Definition graphicslayer.h:53
The IF_GraphicsLayerProvider class defines an interface for classes which provide layers.
Definition graphicslayer.h:111
Definition occmodel.cpp:76