LibrePCB Developers Documentation
FootprintPadPropertiesDialog Class Referencefinal

The FootprintPadPropertiesDialog class. More...

#include <footprintpadpropertiesdialog.h>

Inherits QDialog.

+ Collaboration diagram for FootprintPadPropertiesDialog:

Public Member Functions

 FootprintPadPropertiesDialog ()=delete
 
 FootprintPadPropertiesDialog (const FootprintPadPropertiesDialog &other)=delete
 
 FootprintPadPropertiesDialog (const Package &pkg, FootprintPad &pad, UndoStack &undoStack, const LengthUnit &lengthUnit, const QString &settingsPrefix, QWidget *parent=nullptr) noexcept
 
 ~FootprintPadPropertiesDialog () noexcept
 
void setReadOnly (bool readOnly) noexcept
 
FootprintPadPropertiesDialogoperator= (const FootprintPadPropertiesDialog &rhs)=delete
 

Private Member Functions

void updateShapeDependentWidgets (bool checked) noexcept
 
void updateAbsoluteRadius () noexcept
 
void updateRelativeRadius () noexcept
 
void applyRecommendedRadius () noexcept
 
void addHole () noexcept
 
void removeSelectedHole () noexcept
 
void removeAllHoles () noexcept
 
void updateGeneralTabHoleWidgets () noexcept
 
void setSelectedHole (int index) noexcept
 
void applyTypicalThtProperties () noexcept
 
void applyTypicalSmtProperties () noexcept
 
void on_buttonBox_clicked (QAbstractButton *button)
 
bool applyChanges () noexcept
 

Private Attributes

FootprintPadmPad
 
UndoStackmUndoStack
 
PadHoleList mHoles
 
int mSelectedHoleIndex
 
QScopedPointer< Ui::FootprintPadPropertiesDialog > mUi
 
Path mAutoCustomOutline
 

Detailed Description

Constructor & Destructor Documentation

◆ FootprintPadPropertiesDialog() [1/3]

◆ FootprintPadPropertiesDialog() [2/3]

◆ FootprintPadPropertiesDialog() [3/3]

FootprintPadPropertiesDialog ( const Package pkg,
FootprintPad pad,
UndoStack undoStack,
const LengthUnit lengthUnit,
const QString &  settingsPrefix,
QWidget *  parent = nullptr 
)
noexcept
+ Here is the call graph for this function:

◆ ~FootprintPadPropertiesDialog()

Member Function Documentation

◆ setReadOnly()

void setReadOnly ( bool  readOnly)
noexcept
+ Here is the caller graph for this function:

◆ operator=()

FootprintPadPropertiesDialog & operator= ( const FootprintPadPropertiesDialog rhs)
delete

◆ updateShapeDependentWidgets()

void updateShapeDependentWidgets ( bool  checked)
privatenoexcept

◆ updateAbsoluteRadius()

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

◆ updateRelativeRadius()

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

◆ applyRecommendedRadius()

void applyRecommendedRadius ( )
privatenoexcept

◆ addHole()

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

◆ removeSelectedHole()

void removeSelectedHole ( )
privatenoexcept

◆ removeAllHoles()

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

◆ updateGeneralTabHoleWidgets()

void updateGeneralTabHoleWidgets ( )
privatenoexcept

◆ setSelectedHole()

void setSelectedHole ( int  index)
privatenoexcept

◆ applyTypicalThtProperties()

void applyTypicalThtProperties ( )
privatenoexcept

◆ applyTypicalSmtProperties()

void applyTypicalSmtProperties ( )
privatenoexcept

◆ on_buttonBox_clicked()

void on_buttonBox_clicked ( QAbstractButton *  button)
private

◆ applyChanges()

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

Member Data Documentation

◆ mPad

FootprintPad& mPad
private

◆ mUndoStack

UndoStack& mUndoStack
private

◆ mHoles

PadHoleList mHoles
private

◆ mSelectedHoleIndex

int mSelectedHoleIndex
private

◆ mUi

QScopedPointer<Ui::FootprintPadPropertiesDialog> mUi
private

◆ mAutoCustomOutline

Path mAutoCustomOutline
private

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