20#ifndef LIBREPCB_EDITOR_LAYERCOMBOBOX_H
21#define LIBREPCB_EDITOR_LAYERCOMBOBOX_H
29#include <optional.hpp>
The Layer class provides all supported geometry layers.
Definition: layer.h:42
The LayerComboBox class.
Definition: layercombobox.h:47
~LayerComboBox() noexcept
Definition: layercombobox.cpp:59
void currentLayerChanged(const Layer &layer)
void currentIndexChanged(int index) noexcept
Definition: layercombobox.cpp:127
LayerComboBox(QWidget *parent=nullptr) noexcept
Definition: layercombobox.cpp:41
void stepDown() noexcept
Definition: layercombobox.cpp:116
LayerComboBox(const LayerComboBox &other)=delete
void setLayers(const QSet< const Layer * > &layers) noexcept
Definition: layercombobox.cpp:80
void stepUp() noexcept
Definition: layercombobox.cpp:109
void setCurrentLayer(const Layer &layer) noexcept
Definition: layercombobox.cpp:101
QScopedPointer< QComboBox > mComboBox
Definition: layercombobox.h:77
tl::optional< const Layer & > getCurrentLayer() const noexcept
Definition: layercombobox.cpp:66
Definition: occmodel.cpp:77