LibrePCB Developers Documentation
PackagePadComboBox Class Referencefinal

The PackagePadComboBox class. More...

#include <packagepadcombobox.h>

Inherits QWidget.

+ Collaboration diagram for PackagePadComboBox:

Signals

void currentPadChanged (tl::optional< Uuid > pad)
 

Public Member Functions

 PackagePadComboBox (QWidget *parent=nullptr) noexcept
 
 PackagePadComboBox (const PackagePadComboBox &other)=delete
 
 ~PackagePadComboBox () noexcept
 
tl::optional< UuidgetCurrentPad () const noexcept
 
void setPads (const PackagePadList &pads) noexcept
 
void setCurrentPad (tl::optional< Uuid > pad) noexcept
 
PackagePadComboBoxoperator= (const PackagePadComboBox &rhs)=delete
 

Private Member Functions

tl::optional< UuidgetPadAtIndex (int index) const noexcept
 
void currentIndexChanged (int index) noexcept
 

Private Attributes

QComboBox * mComboBox
 

Detailed Description

The PackagePadComboBox class.

Constructor & Destructor Documentation

◆ PackagePadComboBox() [1/2]

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

◆ PackagePadComboBox() [2/2]

PackagePadComboBox ( const PackagePadComboBox other)
delete

◆ ~PackagePadComboBox()

~PackagePadComboBox ( )
noexcept

Member Function Documentation

◆ getCurrentPad()

tl::optional< Uuid > getCurrentPad ( ) const
noexcept
+ Here is the call graph for this function:

◆ setPads()

void setPads ( const PackagePadList pads)
noexcept

◆ setCurrentPad()

void setCurrentPad ( tl::optional< Uuid pad)
noexcept

◆ operator=()

PackagePadComboBox & operator= ( const PackagePadComboBox rhs)
delete

◆ currentPadChanged

void currentPadChanged ( tl::optional< Uuid pad)
signal
+ Here is the caller graph for this function:

◆ getPadAtIndex()

tl::optional< Uuid > getPadAtIndex ( int  index) const
privatenoexcept
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ currentIndexChanged()

void currentIndexChanged ( int  index)
privatenoexcept
+ Here is the caller graph for this function:

Member Data Documentation

◆ mComboBox

QComboBox* mComboBox
private

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