LibrePCB Developers Documentation
Loading...
Searching...
No Matches
PackagePadComboBox Class Referencefinal

The PackagePadComboBox class. More...

#include <packagepadcombobox.h>

Inherits QWidget.

+ Collaboration diagram for PackagePadComboBox:

Signals

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

Public Member Functions

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

Private Member Functions

std::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()

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

◆ setPads()

void setPads ( const PackagePadList pads)
noexcept

◆ setCurrentPad()

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

◆ operator=()

PackagePadComboBox & operator= ( const PackagePadComboBox rhs)
delete

◆ currentPadChanged

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

◆ getPadAtIndex()

std::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: