LibrePCB Developers Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
BI_AirWire Class Referencefinal

The BI_AirWire class. More...

#include <bi_airwire.h>

+ Inheritance diagram for BI_AirWire:
+ Collaboration diagram for BI_AirWire:

Public Member Functions

 BI_AirWire ()=delete
 
 BI_AirWire (const BI_AirWire &other)=delete
 
 BI_AirWire (Board &board, const NetSignal &netsignal, const Point &p1, const Point &p2)
 
 ~BI_AirWire () noexcept
 
const NetSignalgetNetSignal () const noexcept
 
const PointgetP1 () const noexcept
 
const PointgetP2 () const noexcept
 
bool isVertical () const noexcept
 
void addToBoard () override
 
void removeFromBoard () override
 
Type_t getType () const noexceptoverride
 
const PointgetPosition () const noexceptoverride
 
bool getIsMirrored () const noexceptoverride
 
QPainterPath getGrabAreaScenePx () const noexceptoverride
 
void setSelected (bool selected) noexceptoverride
 
bool isSelectable () const noexceptoverride
 
BI_AirWireoperator= (const BI_AirWire &rhs)=delete
 
- Public Member Functions inherited from BI_Base
 BI_Base ()=delete
 
 BI_Base (const BI_Base &other)=delete
 
 BI_Base (Board &board) noexcept
 
virtual ~BI_Base () noexcept
 
ProjectgetProject () const noexcept
 
CircuitgetCircuit () const noexcept
 
BoardgetBoard () const noexcept
 
virtual bool isAddedToBoard () const noexcept
 
virtual bool isSelected () const noexcept
 
BI_Baseoperator= (const BI_Base &rhs)=delete
 

Private Attributes

QScopedPointer< BGI_AirWiremGraphicsItem
 
QMetaObject::Connection mHighlightChangedConnection
 
const NetSignalmNetSignal
 
Point mP1
 
Point mP2
 

Additional Inherited Members

- Public Types inherited from BI_Base
enum  Type_t
 
- Protected Member Functions inherited from BI_Base
void addToBoard (QGraphicsItem *item) noexcept
 
void removeFromBoard (QGraphicsItem *item) noexcept
 
- Protected Attributes inherited from BI_Base
BoardmBoard
 

Detailed Description

The BI_AirWire class.

Constructor & Destructor Documentation

BI_AirWire ( )
delete
BI_AirWire ( const BI_AirWire other)
delete
BI_AirWire ( Board board,
const NetSignal netsignal,
const Point p1,
const Point p2 
)
~BI_AirWire ( )
noexcept

Member Function Documentation

const NetSignal& getNetSignal ( ) const
inlinenoexcept

+ Here is the caller graph for this function:

const Point& getP1 ( ) const
inlinenoexcept

+ Here is the caller graph for this function:

const Point& getP2 ( ) const
inlinenoexcept

+ Here is the caller graph for this function:

bool isVertical ( ) const
inlinenoexcept

+ Here is the caller graph for this function:

void addToBoard ( )
overridevirtual

Implements BI_Base.

+ Here is the call graph for this function:

void removeFromBoard ( )
overridevirtual

Implements BI_Base.

+ Here is the call graph for this function:

Type_t getType ( ) const
inlineoverridevirtualnoexcept

Implements BI_Base.

const Point& getPosition ( ) const
inlineoverridevirtualnoexcept

Implements BI_Base.

bool getIsMirrored ( ) const
inlineoverridevirtualnoexcept

Implements BI_Base.

QPainterPath getGrabAreaScenePx ( ) const
overridevirtualnoexcept

Implements BI_Base.

void setSelected ( bool  selected)
overridevirtualnoexcept

Reimplemented from BI_Base.

+ Here is the call graph for this function:

bool isSelectable ( ) const
overridevirtualnoexcept

Implements BI_Base.

BI_AirWire& operator= ( const BI_AirWire rhs)
delete

Member Data Documentation

QScopedPointer<BGI_AirWire> mGraphicsItem
private
QMetaObject::Connection mHighlightChangedConnection
private
const NetSignal& mNetSignal
private
Point mP1
private
Point mP2
private

The documentation for this class was generated from the following files: