LibrePCB Developers Documentation
BoardSideSelectorWidget Class Referencefinal

The BoardSideSelectorWidget class. More...

#include <boardsideselectorwidget.h>

Inherits QWidget.

+ Collaboration diagram for BoardSideSelectorWidget:

Signals

void currentBoardSideChanged (FootprintPad::ComponentSide side)
 

Public Member Functions

 BoardSideSelectorWidget (QWidget *parent=nullptr) noexcept
 
 BoardSideSelectorWidget (const BoardSideSelectorWidget &other)=delete
 
 ~BoardSideSelectorWidget () noexcept
 
FootprintPad::ComponentSide getCurrentBoardSide () const noexcept
 
void setCurrentBoardSide (FootprintPad::ComponentSide side) noexcept
 
void setBoardSideTop () noexcept
 
void setBoardSideBottom () noexcept
 
BoardSideSelectorWidgetoperator= (const BoardSideSelectorWidget &rhs)=delete
 

Private Member Functions

void btnTopToggled (bool checked) noexcept
 
void btnBottomToggled (bool checked) noexcept
 

Private Attributes

QToolButton * mBtnTop
 
QToolButton * mBtnBottom
 

Detailed Description

Constructor & Destructor Documentation

◆ BoardSideSelectorWidget() [1/2]

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

◆ BoardSideSelectorWidget() [2/2]

◆ ~BoardSideSelectorWidget()

~BoardSideSelectorWidget ( )
noexcept

Member Function Documentation

◆ getCurrentBoardSide()

FootprintPad::ComponentSide getCurrentBoardSide ( ) const
noexcept

◆ setCurrentBoardSide()

void setCurrentBoardSide ( FootprintPad::ComponentSide  side)
noexcept
+ Here is the caller graph for this function:

◆ setBoardSideTop()

void setBoardSideTop ( )
inlinenoexcept
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setBoardSideBottom()

void setBoardSideBottom ( )
inlinenoexcept
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ operator=()

BoardSideSelectorWidget & operator= ( const BoardSideSelectorWidget rhs)
delete

◆ currentBoardSideChanged

void currentBoardSideChanged ( FootprintPad::ComponentSide  side)
signal
+ Here is the caller graph for this function:

◆ btnTopToggled()

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

◆ btnBottomToggled()

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

Member Data Documentation

◆ mBtnTop

QToolButton* mBtnTop
private

◆ mBtnBottom

QToolButton* mBtnBottom
private

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