LibrePCB Developers Documentation
AttributeUnitComboBox Class Referencefinal

The AttributeUnitComboBox class. More...

#include <attributeunitcombobox.h>

Inherits QWidget.

+ Collaboration diagram for AttributeUnitComboBox:

Signals

void currentItemChanged (const AttributeUnit *unit)
 

Public Member Functions

 AttributeUnitComboBox (QWidget *parent=nullptr) noexcept
 
 AttributeUnitComboBox (const AttributeUnitComboBox &other)=delete
 
 ~AttributeUnitComboBox () noexcept
 
const AttributeUnitgetCurrentItem () const noexcept
 
void setAttributeType (const AttributeType &type) noexcept
 
void setCurrentItem (const AttributeUnit *unit) noexcept
 
AttributeUnitComboBoxoperator= (const AttributeUnitComboBox &rhs)=delete
 

Private Member Functions

void currentIndexChanged (int index) noexcept
 

Private Attributes

QComboBox * mComboBox
 
const AttributeTypemAttributeType
 

Detailed Description

Constructor & Destructor Documentation

◆ AttributeUnitComboBox() [1/2]

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

◆ AttributeUnitComboBox() [2/2]

AttributeUnitComboBox ( const AttributeUnitComboBox other)
delete

◆ ~AttributeUnitComboBox()

~AttributeUnitComboBox ( )
noexcept

Member Function Documentation

◆ getCurrentItem()

const AttributeUnit * getCurrentItem ( ) const
noexcept
+ Here is the call graph for this function:

◆ setAttributeType()

void setAttributeType ( const AttributeType type)
noexcept
+ Here is the call graph for this function:

◆ setCurrentItem()

void setCurrentItem ( const AttributeUnit unit)
noexcept

◆ operator=()

AttributeUnitComboBox & operator= ( const AttributeUnitComboBox rhs)
delete

◆ currentItemChanged

void currentItemChanged ( const AttributeUnit unit)
signal
+ 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

◆ mAttributeType

const AttributeType* mAttributeType
private

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