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

Author
ubruhin
Date
2017-08-16

Constructor & Destructor Documentation

PackagePadComboBox ( QWidget *  parent = nullptr)
explicitnoexcept

+ Here is the call graph for this function:

PackagePadComboBox ( const PackagePadComboBox other)
delete
~PackagePadComboBox ( )
noexcept

+ Here is the call graph for this function:

Member Function Documentation

PackagePad * getCurrentPad ( ) const
noexcept

+ Here is the call graph for this function:

void setPackage ( Package package,
Footprint footprint = nullptr 
)
noexcept

+ Here is the caller graph for this function:

void setCurrentPad ( PackagePad pad)
noexcept
void updatePads ( )
noexcept

+ Here is the call graph for this function:

PackagePadComboBox& operator= ( const PackagePadComboBox rhs)
delete
void currentPadChanged ( PackagePad pad)
signal

+ Here is the caller graph for this function:

void currentIndexChanged ( int  index)
privatenoexcept

+ Here is the caller graph for this function:

Member Data Documentation

Package* mPackage
private
Footprint* mFootprint
private
QComboBox* mComboBox
private

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