LibrePCB Developers Documentation
AttributeTypeComboBox Class Referencefinal

The AttributeTypeComboBox class. More...

#include <attributetypecombobox.h>

Inherits QWidget.

+ Collaboration diagram for AttributeTypeComboBox:

Signals

void currentItemChanged (const AttributeType *type)
 

Public Member Functions

 AttributeTypeComboBox (QWidget *parent=nullptr) noexcept
 
 AttributeTypeComboBox (const AttributeTypeComboBox &other)=delete
 
 ~AttributeTypeComboBox () noexcept
 
const AttributeTypegetCurrentItem () const noexcept
 
void setCurrentItem (const AttributeType &type) noexcept
 
AttributeTypeComboBoxoperator= (const AttributeTypeComboBox &rhs)=delete
 

Private Member Functions

void currentIndexChanged (int index) noexcept
 

Private Attributes

QComboBox * mComboBox
 

Detailed Description

Constructor & Destructor Documentation

◆ AttributeTypeComboBox() [1/2]

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

◆ AttributeTypeComboBox() [2/2]

AttributeTypeComboBox ( const AttributeTypeComboBox other)
delete

◆ ~AttributeTypeComboBox()

~AttributeTypeComboBox ( )
noexcept

Member Function Documentation

◆ getCurrentItem()

const AttributeType & getCurrentItem ( ) const
noexcept
+ Here is the call graph for this function:

◆ setCurrentItem()

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

◆ operator=()

AttributeTypeComboBox & operator= ( const AttributeTypeComboBox rhs)
delete

◆ currentItemChanged

void currentItemChanged ( const AttributeType type)
signal

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