LibrePCB Developers Documentation
Loading...
Searching...
No Matches
BoardLayersDock Class Referencefinal

The BoardLayersDock class. More...

#include <boardlayersdock.h>

Inherits QDockWidget.

+ Collaboration diagram for BoardLayersDock:

Signals

void layersVisibilityChanged ()
 

Public Member Functions

 BoardLayersDock ()=delete
 
 BoardLayersDock (const BoardLayersDock &other)=delete
 
 BoardLayersDock (const IF_GraphicsLayerProvider &lp) noexcept
 
 ~BoardLayersDock () noexcept
 
BoardLayersDockoperator= (const BoardLayersDock &rhs)=delete
 

Private Slots

void on_listWidget_itemChanged (QListWidgetItem *item)
 
void on_btnTop_clicked ()
 
void on_btnBottom_clicked ()
 
void on_btnTopBottom_clicked ()
 
void on_btnAll_clicked ()
 
void on_btnNone_clicked ()
 

Private Member Functions

void layerEdited (const GraphicsLayer &layer, GraphicsLayer::Event event) noexcept
 
void updateListWidget () noexcept
 
void setVisibleLayers (const QList< QString > &layers) noexcept
 
QList< QString > getCommonLayers () const noexcept
 
QList< QString > getTopLayers () const noexcept
 
QList< QString > getBottomLayers () const noexcept
 
QList< QString > getAllLayers () const noexcept
 

Private Attributes

const IF_GraphicsLayerProvidermLayerProvider
 
QScopedPointer< Ui::BoardLayersDock > mUi
 
bool mUpdateScheduled
 
GraphicsLayer::OnEditedSlot mOnLayerEditedSlot
 

Detailed Description

The BoardLayersDock class.

Constructor & Destructor Documentation

◆ BoardLayersDock() [1/3]

BoardLayersDock ( )
delete

◆ BoardLayersDock() [2/3]

BoardLayersDock ( const BoardLayersDock other)
delete

◆ BoardLayersDock() [3/3]

BoardLayersDock ( const IF_GraphicsLayerProvider lp)
explicitnoexcept

◆ ~BoardLayersDock()

~BoardLayersDock ( )
noexcept

Member Function Documentation

◆ operator=()

BoardLayersDock & operator= ( const BoardLayersDock rhs)
delete

◆ layersVisibilityChanged

void layersVisibilityChanged ( )
signal

◆ on_listWidget_itemChanged

void on_listWidget_itemChanged ( QListWidgetItem *  item)
privateslot
+ Here is the call graph for this function:

◆ on_btnTop_clicked

void on_btnTop_clicked ( )
privateslot
+ Here is the call graph for this function:

◆ on_btnBottom_clicked

void on_btnBottom_clicked ( )
privateslot
+ Here is the call graph for this function:

◆ on_btnTopBottom_clicked

void on_btnTopBottom_clicked ( )
privateslot
+ Here is the call graph for this function:

◆ on_btnAll_clicked

void on_btnAll_clicked ( )
privateslot
+ Here is the call graph for this function:

◆ on_btnNone_clicked

void on_btnNone_clicked ( )
privateslot
+ Here is the call graph for this function:

◆ layerEdited()

void layerEdited ( const GraphicsLayer layer,
GraphicsLayer::Event  event 
)
privatenoexcept
+ Here is the call graph for this function:

◆ updateListWidget()

void updateListWidget ( )
privatenoexcept
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setVisibleLayers()

void setVisibleLayers ( const QList< QString > &  layers)
privatenoexcept
+ Here is the caller graph for this function:

◆ getCommonLayers()

QList< QString > getCommonLayers ( ) const
privatenoexcept
+ Here is the caller graph for this function:

◆ getTopLayers()

QList< QString > getTopLayers ( ) const
privatenoexcept
+ Here is the caller graph for this function:

◆ getBottomLayers()

QList< QString > getBottomLayers ( ) const
privatenoexcept
+ Here is the caller graph for this function:

◆ getAllLayers()

QList< QString > getAllLayers ( ) const
privatenoexcept
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ mLayerProvider

const IF_GraphicsLayerProvider& mLayerProvider
private

◆ mUi

QScopedPointer<Ui::BoardLayersDock> mUi
private

◆ mUpdateScheduled

bool mUpdateScheduled
private

◆ mOnLayerEditedSlot

GraphicsLayer::OnEditedSlot mOnLayerEditedSlot
private

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