LibrePCB Developers Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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 ( BoardEditor editor)
explicitnoexcept
~BoardLayersDock ( )
noexcept
BoardLayersDock ( )
private
BoardLayersDock ( const BoardLayersDock other)
private

Member Function Documentation

void setActiveBoard ( Board board)

+ Here is the call graph for this function:

void on_listWidget_itemChanged ( QListWidgetItem *  item)
privateslot

+ Here is the call graph for this function:

void on_btnTop_clicked ( )
privateslot

+ Here is the call graph for this function:

void on_btnBottom_clicked ( )
privateslot

+ Here is the call graph for this function:

void on_btnTopBottom_clicked ( )
privateslot

+ Here is the call graph for this function:

void on_btnAll_clicked ( )
privateslot

+ Here is the call graph for this function:

void on_btnNone_clicked ( )
privateslot

+ Here is the call graph for this function:

BoardLayersDock& operator= ( const BoardLayersDock rhs)
private
void updateListWidget ( )
privatenoexcept

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void setVisibleLayers ( const QList< QString > &  layers)
privatenoexcept

+ Here is the caller graph for this function:

QList< QString > getCommonLayers ( ) const
privatenoexcept

+ Here is the caller graph for this function:

QList< QString > getTopLayers ( ) const
privatenoexcept

+ Here is the caller graph for this function:

QList< QString > getBottomLayers ( ) const
privatenoexcept

+ Here is the caller graph for this function:

QList< QString > getAllLayers ( ) const
privatenoexcept

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

QScopedPointer<Ui::BoardLayersDock> mUi
private
BoardEditor& mBoardEditor
private
Board* mActiveBoard
private
QMetaObject::Connection mActiveBoardConnection
private

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