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

The AttributeUnitComboBox class.

Author
ubruhin
Date
2017-03-10

Constructor & Destructor Documentation

AttributeUnitComboBox ( QWidget *  parent = nullptr)
explicitnoexcept

+ Here is the call graph for this function:

AttributeUnitComboBox ( const AttributeUnitComboBox other)
delete
~AttributeUnitComboBox ( )
noexcept

Member Function Documentation

const AttributeUnit * getCurrentItem ( ) const
noexcept

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void setAttributeType ( const AttributeType type)
noexcept

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void setCurrentItem ( const AttributeUnit unit)
noexcept

+ Here is the caller graph for this function:

AttributeUnitComboBox& operator= ( const AttributeUnitComboBox rhs)
delete
void currentItemChanged ( const AttributeUnit unit)
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

QComboBox* mComboBox
private
const AttributeType* mAttributeType
private

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