![]() |
LibrePCB Developers Documentation
|
The GraphicsLayerList class. More...
#include <graphicslayerlist.h>
Inherits QObject.
Public Member Functions | |
GraphicsLayerList ()=delete | |
~GraphicsLayerList () noexcept | |
std::shared_ptr< GraphicsLayer > | get (const QString &name) noexcept |
std::shared_ptr< const GraphicsLayer > | get (const QString &name) const noexcept |
std::shared_ptr< GraphicsLayer > | get (const Layer &layer) noexcept |
std::shared_ptr< const GraphicsLayer > | get (const Layer &layer) const noexcept |
std::shared_ptr< const GraphicsLayer > | grabArea (const Layer &outlineLayer) const noexcept |
const QList< std::shared_ptr< GraphicsLayer > > & | all () const noexcept |
void | showTop () noexcept |
void | showBottom () noexcept |
void | showTopAndBottom () noexcept |
void | showAll () noexcept |
void | showNone () noexcept |
Static Public Member Functions | |
static std::unique_ptr< GraphicsLayerList > | previewLayers (const WorkspaceSettings *ws) noexcept |
static std::unique_ptr< GraphicsLayerList > | libraryLayers (const WorkspaceSettings *ws) noexcept |
static std::unique_ptr< GraphicsLayerList > | schematicLayers (const WorkspaceSettings *ws) noexcept |
static std::unique_ptr< GraphicsLayerList > | boardLayers (const WorkspaceSettings *ws) noexcept |
Private Member Functions | |
GraphicsLayerList (const WorkspaceSettings *ws) noexcept | |
void | add (const Theme &theme, const QString &name, bool visible=true) noexcept |
void | reloadSettings () noexcept |
void | setVisibleLayers (const QSet< QString > &layers) noexcept |
Static Private Member Functions | |
static QSet< QString > | getCommonLayers () noexcept |
static QSet< QString > | getTopLayers () noexcept |
static QSet< QString > | getBottomLayers () noexcept |
static QSet< QString > | getAllLayers () noexcept |
Private Attributes | |
QPointer< const WorkspaceSettings > | mSettings |
QList< std::shared_ptr< GraphicsLayer > > | mLayers |
The GraphicsLayerList class.
|
delete |
|
noexcept |
|
privatenoexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
inlinenoexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
staticnoexcept |
|
staticnoexcept |
|
staticnoexcept |
|
staticnoexcept |
|
privatenoexcept |
|
privatenoexcept |
|
privatenoexcept |
|
staticprivatenoexcept |
|
staticprivatenoexcept |
|
staticprivatenoexcept |
|
staticprivatenoexcept |
|
private |
|
private |