LibrePCB Developers Documentation
PackagePadComboBox Class Referencefinal

The PackagePadComboBox class. More...

#include <packagepadcombobox.h>

Inherits QWidget.

+ Collaboration diagram for PackagePadComboBox:

Signals

void currentPadChanged (PackagePad *pad)
 

Public Member Functions

 PackagePadComboBox (QWidget *parent=nullptr) noexcept
 
 PackagePadComboBox (const PackagePadComboBox &other)=delete
 
 ~PackagePadComboBox () noexcept
 
PackagePadgetCurrentPad () const noexcept
 
void setPackage (Package *package, Footprint *footprint=nullptr) noexcept
 
void setCurrentPad (PackagePad *pad) noexcept
 
void updatePads () noexcept
 
PackagePadComboBoxoperator= (const PackagePadComboBox &rhs)=delete
 

Private Member Functions

void currentIndexChanged (int index) noexcept
 

Private Attributes

PackagemPackage
 
FootprintmFootprint
 
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
+ Here is the call graph for this function:

Member Function Documentation

◆ getCurrentPad()

PackagePad * getCurrentPad ( ) const
noexcept
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setPackage()

void setPackage ( Package package,
Footprint footprint = nullptr 
)
noexcept
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setCurrentPad()

void setCurrentPad ( PackagePad pad)
noexcept

◆ updatePads()

void updatePads ( )
noexcept
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ operator=()

PackagePadComboBox& operator= ( const PackagePadComboBox rhs)
delete

◆ currentPadChanged

void currentPadChanged ( PackagePad pad)
signal
+ Here is the caller graph for this function:

◆ currentIndexChanged()

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

Member Data Documentation

◆ mPackage

Package* mPackage
private

◆ mFootprint

Footprint* mFootprint
private

◆ mComboBox

QComboBox* mComboBox
private

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