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

The HolePropertiesDialog class. More...

#include <holepropertiesdialog.h>

Inherits QDialog.

+ Collaboration diagram for HolePropertiesDialog:

Public Member Functions

 HolePropertiesDialog ()=delete
 
 HolePropertiesDialog (const HolePropertiesDialog &other)=delete
 
 HolePropertiesDialog (Hole &hole, UndoStack &undoStack, const LengthUnit &lengthUnit, const QString &settingsPrefix, QWidget *parent=nullptr) noexcept
 
 HolePropertiesDialog (BI_Hole &hole, UndoStack &undoStack, const LengthUnit &lengthUnit, const QString &settingsPrefix, QWidget *parent=nullptr) noexcept
 
 ~HolePropertiesDialog () noexcept
 
void setReadOnly (bool readOnly) noexcept
 
HolePropertiesDialogoperator= (const HolePropertiesDialog &rhs)=delete
 

Private Member Functions

 HolePropertiesDialog (Hole *libObj, BI_Hole *boardObj, UndoStack &undoStack, const LengthUnit &lengthUnit, const QString &settingsPrefix, QWidget *parent=nullptr) noexcept
 
template<typename T >
void load (const T &obj) noexcept
 
void on_buttonBox_clicked (QAbstractButton *button)
 
bool applyChanges () noexcept
 
template<typename T >
void applyChanges (T &cmd)
 

Private Attributes

HolemLibraryObj
 
BI_HolemBoardObj
 
UndoStackmUndoStack
 
QScopedPointer< Ui::HolePropertiesDialog > mUi
 

Detailed Description

Constructor & Destructor Documentation

◆ HolePropertiesDialog() [1/5]

◆ HolePropertiesDialog() [2/5]

HolePropertiesDialog ( const HolePropertiesDialog other)
delete

◆ HolePropertiesDialog() [3/5]

HolePropertiesDialog ( Hole hole,
UndoStack undoStack,
const LengthUnit lengthUnit,
const QString &  settingsPrefix,
QWidget *  parent = nullptr 
)
noexcept

◆ HolePropertiesDialog() [4/5]

HolePropertiesDialog ( BI_Hole hole,
UndoStack undoStack,
const LengthUnit lengthUnit,
const QString &  settingsPrefix,
QWidget *  parent = nullptr 
)
noexcept

◆ ~HolePropertiesDialog()

~HolePropertiesDialog ( )
noexcept

◆ HolePropertiesDialog() [5/5]

HolePropertiesDialog ( Hole libObj,
BI_Hole boardObj,
UndoStack undoStack,
const LengthUnit lengthUnit,
const QString &  settingsPrefix,
QWidget *  parent = nullptr 
)
privatenoexcept
+ Here is the call graph for this function:

Member Function Documentation

◆ setReadOnly()

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

◆ operator=()

HolePropertiesDialog & operator= ( const HolePropertiesDialog rhs)
delete

◆ load()

template<typename T >
void load ( const T &  obj)
privatenoexcept

◆ on_buttonBox_clicked()

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

◆ applyChanges() [1/2]

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

◆ applyChanges() [2/2]

template<typename T >
void applyChanges ( T &  cmd)
private
+ Here is the call graph for this function:

Member Data Documentation

◆ mLibraryObj

Hole* mLibraryObj
private

◆ mBoardObj

BI_Hole* mBoardObj
private

◆ mUndoStack

UndoStack& mUndoStack
private

◆ mUi

QScopedPointer<Ui::HolePropertiesDialog> mUi
private

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