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 QString &name)
 

Public Member Functions

 GraphicsLayerComboBox (QWidget *parent=nullptr) noexcept
 
 GraphicsLayerComboBox (const GraphicsLayerComboBox &other)=delete
 
 ~GraphicsLayerComboBox () noexcept
 
QString getCurrentLayerName () const noexcept
 
void setLayers (const QList< GraphicsLayer * > &layers) noexcept
 
void setCurrentLayer (const QString &name) noexcept
 
GraphicsLayerComboBoxoperator= (const GraphicsLayerComboBox &rhs)=delete
 

Private Member Functions

void currentIndexChanged (int index) noexcept
 

Private Attributes

QComboBox * mComboBox
 

Detailed Description

The GraphicsLayerComboBox class.

Author
ubruhin
Date
2017-08-15

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

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

+ Here is the call graph for this function:

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

QComboBox* mComboBox
private

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