LibrePCB Developers Documentation
FootprintPadShapeSelectorWidget Class Referencefinal

The FootprintPadShapeSelectorWidget class. More...

#include <footprintpadshapeselectorwidget.h>

Inherits QWidget.

+ Collaboration diagram for FootprintPadShapeSelectorWidget:

Signals

void currentShapeChanged (FootprintPad::Shape shape)
 

Public Member Functions

 FootprintPadShapeSelectorWidget (QWidget *parent=nullptr) noexcept
 
 FootprintPadShapeSelectorWidget (const FootprintPadShapeSelectorWidget &other)=delete
 
 ~FootprintPadShapeSelectorWidget () noexcept
 
FootprintPad::Shape getCurrentShape () const noexcept
 
void setCurrentShape (FootprintPad::Shape shape) noexcept
 
FootprintPadShapeSelectorWidgetoperator= (const FootprintPadShapeSelectorWidget &rhs)=delete
 

Private Member Functions

void btnRoundToggled (bool checked) noexcept
 
void btnRectToggled (bool checked) noexcept
 
void btnOctagonToggled (bool checked) noexcept
 

Private Attributes

QToolButton * mBtnRound
 
QToolButton * mBtnRect
 
QToolButton * mBtnOctagon
 

Detailed Description

Constructor & Destructor Documentation

◆ FootprintPadShapeSelectorWidget() [1/2]

FootprintPadShapeSelectorWidget ( QWidget *  parent = nullptr)
explicitnoexcept
+ Here is the call graph for this function:

◆ FootprintPadShapeSelectorWidget() [2/2]

◆ ~FootprintPadShapeSelectorWidget()

Member Function Documentation

◆ getCurrentShape()

FootprintPad::Shape getCurrentShape ( ) const
noexcept
+ Here is the caller graph for this function:

◆ setCurrentShape()

void setCurrentShape ( FootprintPad::Shape  shape)
noexcept

◆ operator=()

◆ currentShapeChanged

void currentShapeChanged ( FootprintPad::Shape  shape)
signal
+ Here is the caller graph for this function:

◆ btnRoundToggled()

void btnRoundToggled ( bool  checked)
privatenoexcept
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ btnRectToggled()

void btnRectToggled ( bool  checked)
privatenoexcept
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ btnOctagonToggled()

void btnOctagonToggled ( bool  checked)
privatenoexcept
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ mBtnRound

QToolButton* mBtnRound
private

◆ mBtnRect

QToolButton* mBtnRect
private

◆ mBtnOctagon

QToolButton* mBtnOctagon
private

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