LibrePCB Developers Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
GraphicsLayerComboBox Class Referencefinal

The GraphicsLayerComboBox class. More...

#include <graphicslayercombobox.h>

Inherits QWidget.

+ Collaboration diagram for GraphicsLayerComboBox:

Signals

void currentLayerChanged (const GraphicsLayerName &name)
 

Public Member Functions

 GraphicsLayerComboBox (QWidget *parent=nullptr) noexcept
 
 GraphicsLayerComboBox (const GraphicsLayerComboBox &other)=delete
 
 ~GraphicsLayerComboBox () noexcept
 
tl::optional< GraphicsLayerNamegetCurrentLayerName () const noexcept
 
void setLayers (const QList< GraphicsLayer * > &layers) noexcept
 
void setCurrentLayer (const GraphicsLayerName &name) noexcept
 
GraphicsLayerComboBoxoperator= (const GraphicsLayerComboBox &rhs)=delete
 

Private Member Functions

void currentIndexChanged (int index) noexcept
 

Private Attributes

QScopedPointer< QComboBox > mComboBox
 

Detailed Description

Constructor & Destructor Documentation

GraphicsLayerComboBox ( QWidget *  parent = nullptr)
explicitnoexcept

+ Here is the call graph for this function:

GraphicsLayerComboBox ( const GraphicsLayerComboBox other)
delete
~GraphicsLayerComboBox ( )
noexcept

Member Function Documentation

tl::optional< GraphicsLayerName > getCurrentLayerName ( ) const
noexcept

+ Here is the call graph for this function:

void setLayers ( const QList< GraphicsLayer * > &  layers)
noexcept

+ Here is the call graph for this function:

void setCurrentLayer ( const GraphicsLayerName name)
noexcept
GraphicsLayerComboBox& operator= ( const GraphicsLayerComboBox rhs)
delete
void currentLayerChanged ( const GraphicsLayerName name)
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

QScopedPointer<QComboBox> mComboBox
private

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