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

The BoardSetupDialog class. More...

#include <boardsetupdialog.h>

Inherits QDialog.

+ Collaboration diagram for BoardSetupDialog:

Public Member Functions

 BoardSetupDialog ()=delete
 
 BoardSetupDialog (const BoardSetupDialog &other)=delete
 
 BoardSetupDialog (GuiApplication &app, Board &board, UndoStack &undoStack, QWidget *parent=0) noexcept
 
 ~BoardSetupDialog ()
 
void openDrcSettingsTab () noexcept
 
void hideOtherTabs () noexcept
 
BoardSetupDialogoperator= (const BoardSetupDialog &rhs)=delete
 

Private Member Functions

void buttonBoxClicked (QAbstractButton *button)
 
void load () noexcept
 
void loadDrcSources (const BoardDesignRuleCheckSettings::SourceSet &set) noexcept
 
void loadDrcSettings (const BoardDesignRuleCheckSettings &s) noexcept
 
void loadDrcSettingsPreset () noexcept
 
void loadDrcSettingsPreset (const Uuid &orgUuid, const Uuid &druUuid) noexcept
 
bool apply () noexcept
 
QVector< const Layer * > getTopSilkscreenLayers () const noexcept
 
QVector< const Layer * > getBotSilkscreenLayers () const noexcept
 

Private Attributes

GuiApplicationmApp
 
BoardmBoard
 
UndoStackmUndoStack
 
QScopedPointer< Ui::BoardSetupDialog > mUi
 
BoardDesignRuleCheckSettings::SourceSet mDrcSources
 

Static Private Attributes

static const QString sSettingsPrefix = "board_setup_dialog"
 

Detailed Description

The BoardSetupDialog class.

Constructor & Destructor Documentation

◆ BoardSetupDialog() [1/3]

BoardSetupDialog ( )
delete

◆ BoardSetupDialog() [2/3]

BoardSetupDialog ( const BoardSetupDialog other)
delete

◆ BoardSetupDialog() [3/3]

BoardSetupDialog ( GuiApplication app,
Board board,
UndoStack undoStack,
QWidget *  parent = 0 
)
noexcept
+ Here is the call graph for this function:

◆ ~BoardSetupDialog()

Member Function Documentation

◆ openDrcSettingsTab()

void openDrcSettingsTab ( )
noexcept
+ Here is the caller graph for this function:

◆ hideOtherTabs()

void hideOtherTabs ( )
noexcept

◆ operator=()

BoardSetupDialog & operator= ( const BoardSetupDialog rhs)
delete

◆ buttonBoxClicked()

void buttonBoxClicked ( QAbstractButton *  button)
private
+ Here is the caller graph for this function:

◆ load()

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

◆ loadDrcSources()

void loadDrcSources ( const BoardDesignRuleCheckSettings::SourceSet set)
privatenoexcept
+ Here is the call graph for this function:

◆ loadDrcSettings()

void loadDrcSettings ( const BoardDesignRuleCheckSettings s)
privatenoexcept

◆ loadDrcSettingsPreset() [1/2]

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

◆ loadDrcSettingsPreset() [2/2]

void loadDrcSettingsPreset ( const Uuid orgUuid,
const Uuid druUuid 
)
privatenoexcept
+ Here is the call graph for this function:

◆ apply()

bool apply ( )
privatenoexcept
+ Here is the call graph for this function:

◆ getTopSilkscreenLayers()

QVector< const Layer * > getTopSilkscreenLayers ( ) const
privatenoexcept
+ Here is the call graph for this function:

◆ getBotSilkscreenLayers()

QVector< const Layer * > getBotSilkscreenLayers ( ) const
privatenoexcept
+ Here is the call graph for this function:

Member Data Documentation

◆ mApp

GuiApplication& mApp
private

◆ mBoard

Board& mBoard
private

◆ mUndoStack

UndoStack& mUndoStack
private

◆ mUi

QScopedPointer<Ui::BoardSetupDialog> mUi
private

◆ mDrcSources

◆ sSettingsPrefix

const QString sSettingsPrefix = "board_setup_dialog"
staticprivate

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