LibrePCB Developers Documentation
BoardLayersDock Class Referencefinal

The BoardLayersDock class. More...

#include <boardlayersdock.h>

Inherits QDockWidget.

+ Collaboration diagram for BoardLayersDock:

Public Member Functions

 BoardLayersDock (BoardEditor &editor) noexcept
 
 ~BoardLayersDock () noexcept
 
void setActiveBoard (Board *board)
 

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

 BoardLayersDock ()
 
 BoardLayersDock (const BoardLayersDock &other)
 
BoardLayersDockoperator= (const BoardLayersDock &rhs)
 
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

QScopedPointer< Ui::BoardLayersDock > mUi
 
BoardEditormBoardEditor
 
BoardmActiveBoard
 
QMetaObject::Connection mActiveBoardConnection
 

Detailed Description

The BoardLayersDock class.

Constructor & Destructor Documentation

◆ BoardLayersDock() [1/3]

BoardLayersDock ( BoardEditor editor)
explicitnoexcept

◆ ~BoardLayersDock()

~BoardLayersDock ( )
noexcept

◆ BoardLayersDock() [2/3]

BoardLayersDock ( )
private

◆ BoardLayersDock() [3/3]

BoardLayersDock ( const BoardLayersDock other)
private

Member Function Documentation

◆ setActiveBoard()

void setActiveBoard ( Board board)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ 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:

◆ operator=()

BoardLayersDock& operator= ( const BoardLayersDock rhs)
private

◆ 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 call graph for this function:
+ 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

◆ mUi

QScopedPointer<Ui::BoardLayersDock> mUi
private

◆ mBoardEditor

BoardEditor& mBoardEditor
private

◆ mActiveBoard

Board* mActiveBoard
private

◆ mActiveBoardConnection

QMetaObject::Connection mActiveBoardConnection
private

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