LibrePCB Developers Documentation
SignalRoleComboBox Class Referencefinal

The SignalRoleComboBox class. More...

#include <signalrolecombobox.h>

Inherits QWidget.

+ Collaboration diagram for SignalRoleComboBox:

Signals

void currentItemChanged (const SignalRole &role)
 

Public Member Functions

 SignalRoleComboBox (QWidget *parent=nullptr) noexcept
 
 SignalRoleComboBox (const SignalRoleComboBox &other)=delete
 
 ~SignalRoleComboBox () noexcept
 
SignalRole getCurrentItem () const noexcept
 
void setCurrentItem (const SignalRole &role) noexcept
 
SignalRoleComboBoxoperator= (const SignalRoleComboBox &rhs)=delete
 

Private Member Functions

void currentIndexChanged (int index) noexcept
 

Private Attributes

QComboBox * mComboBox
 

Detailed Description

The SignalRoleComboBox class.

Constructor & Destructor Documentation

◆ SignalRoleComboBox() [1/2]

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

◆ SignalRoleComboBox() [2/2]

SignalRoleComboBox ( const SignalRoleComboBox other)
delete

◆ ~SignalRoleComboBox()

~SignalRoleComboBox ( )
noexcept

Member Function Documentation

◆ getCurrentItem()

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

◆ setCurrentItem()

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

◆ operator=()

SignalRoleComboBox & operator= ( const SignalRoleComboBox rhs)
delete

◆ currentItemChanged

void currentItemChanged ( const SignalRole role)
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: