LibrePCB Developers Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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

The FootprintPadShapeSelectorWidget class.

Author
ubruhin
Date
2017-08-17

Constructor & Destructor Documentation

FootprintPadShapeSelectorWidget ( QWidget *  parent = nullptr)
explicitnoexcept

+ Here is the call graph for this function:

Member Function Documentation

FootprintPad::Shape getCurrentShape ( ) const
noexcept
void setCurrentShape ( FootprintPad::Shape  shape)
noexcept
void currentShapeChanged ( FootprintPad::Shape  shape)
signal

+ Here is the caller graph for this function:

void btnRoundToggled ( bool  checked)
privatenoexcept

+ Here is the caller graph for this function:

void btnRectToggled ( bool  checked)
privatenoexcept

+ Here is the caller graph for this function:

void btnOctagonToggled ( bool  checked)
privatenoexcept

+ Here is the caller graph for this function:

Member Data Documentation

QToolButton* mBtnRound
private
QToolButton* mBtnRect
private
QToolButton* mBtnOctagon
private

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