20#ifndef LIBREPCB_EDITOR_DEFAULTGRAPHICSLAYERPROVIDER_H
21#define LIBREPCB_EDITOR_DEFAULTGRAPHICSLAYERPROVIDER_H
55 const QString& name) const noexcept override;
61 void addLayer(
const Theme& theme,
const QString& name)
noexcept;
63 QList<std::shared_ptr<GraphicsLayer>>
mLayers;
Theme class as used by librepcb::WorkspaceSettingsItem_Themes.
Definition theme.h:44
The DefaultGraphicsLayerProvider class.
Definition defaultgraphicslayerprovider.h:46
QList< std::shared_ptr< GraphicsLayer > > mLayers
Definition defaultgraphicslayerprovider.h:63
~DefaultGraphicsLayerProvider() noexcept
Definition defaultgraphicslayerprovider.cpp:112
std::shared_ptr< GraphicsLayer > getLayer(const QString &name) const noexcept override
Definition defaultgraphicslayerprovider.cpp:119
QList< std::shared_ptr< GraphicsLayer > > getAllLayers() const noexcept override
Definition defaultgraphicslayerprovider.h:56
DefaultGraphicsLayerProvider()=delete
void addLayer(const Theme &theme, const QString &name) noexcept
Definition defaultgraphicslayerprovider.cpp:133
The GraphicsLayer class represents a graphical layer used in schematics and boards.
Definition graphicslayer.h:53
The IF_GraphicsLayerProvider class defines an interface for classes which provide layers.
Definition graphicslayer.h:111
Definition occmodel.cpp:76