LibrePCB Developers Documentation
BoardDesignRulesDialog Class Referencefinal

The BoardDesignRulesDialog class. More...

#include <boarddesignrulesdialog.h>

Inherits QDialog.

+ Collaboration diagram for BoardDesignRulesDialog:

Signals

void rulesChanged (const BoardDesignRules &newRules)
 

Public Member Functions

 BoardDesignRulesDialog ()=delete
 
 BoardDesignRulesDialog (const BoardDesignRulesDialog &other)=delete
 
 BoardDesignRulesDialog (const BoardDesignRules &rules, QWidget *parent=0)
 
 ~BoardDesignRulesDialog ()
 
const BoardDesignRulesgetDesignRules () const noexcept
 
BoardDesignRulesDialogoperator= (const BoardDesignRulesDialog &rhs)=delete
 

Private Slots

void on_buttonBox_clicked (QAbstractButton *button)
 

Private Member Functions

void updateWidgets () noexcept
 
void applyRules () noexcept
 

Private Attributes

Ui::BoardDesignRulesDialog * mUi
 
BoardDesignRules mDesignRules
 

Detailed Description

Constructor & Destructor Documentation

◆ BoardDesignRulesDialog() [1/3]

◆ BoardDesignRulesDialog() [2/3]

◆ BoardDesignRulesDialog() [3/3]

BoardDesignRulesDialog ( const BoardDesignRules rules,
QWidget *  parent = 0 
)
explicit
+ Here is the call graph for this function:

◆ ~BoardDesignRulesDialog()

Member Function Documentation

◆ getDesignRules()

const BoardDesignRules& getDesignRules ( ) const
inlinenoexcept

◆ operator=()

BoardDesignRulesDialog& operator= ( const BoardDesignRulesDialog rhs)
delete

◆ rulesChanged

void rulesChanged ( const BoardDesignRules newRules)
signal
+ Here is the caller graph for this function:

◆ on_buttonBox_clicked

void on_buttonBox_clicked ( QAbstractButton *  button)
privateslot
+ Here is the call graph for this function:

◆ updateWidgets()

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

◆ applyRules()

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

Member Data Documentation

◆ mUi

Ui::BoardDesignRulesDialog* mUi
private

◆ mDesignRules

BoardDesignRules mDesignRules
private

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