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

The PolygonPropertiesDialog class. More...

#include <polygonpropertiesdialog.h>

Inherits QDialog.

+ Collaboration diagram for PolygonPropertiesDialog:

Public Member Functions

 PolygonPropertiesDialog ()=delete
 
 PolygonPropertiesDialog (const PolygonPropertiesDialog &other)=delete
 
 PolygonPropertiesDialog (Polygon &polygon, UndoStack &undoStack, const QSet< const Layer * > &layers, const LengthUnit &lengthUnit, const QString &settingsPrefix, QWidget *parent=nullptr) noexcept
 
 PolygonPropertiesDialog (BI_Polygon &polygon, UndoStack &undoStack, const QSet< const Layer * > &layers, const LengthUnit &lengthUnit, const QString &settingsPrefix, QWidget *parent=nullptr) noexcept
 
 ~PolygonPropertiesDialog () noexcept
 
void setReadOnly (bool readOnly) noexcept
 
PolygonPropertiesDialogoperator= (const PolygonPropertiesDialog &rhs)=delete
 

Private Member Functions

 PolygonPropertiesDialog (Polygon *libPolygon, BI_Polygon *boardPolygon, UndoStack &undoStack, const QSet< const Layer * > &layers, const LengthUnit &lengthUnit, const QString &settingsPrefix, QWidget *parent=nullptr) noexcept
 
template<typename T >
void load (const T &obj) noexcept
 
void buttonBoxClicked (QAbstractButton *button) noexcept
 
bool applyChanges () noexcept
 
template<typename T >
void applyChanges (T &cmd)
 

Private Attributes

PolygonmLibraryObj
 
BI_PolygonmBoardObj
 
UndoStackmUndoStack
 
QScopedPointer< Ui::PolygonPropertiesDialog > mUi
 

Detailed Description

Constructor & Destructor Documentation

◆ PolygonPropertiesDialog() [1/5]

◆ PolygonPropertiesDialog() [2/5]

◆ PolygonPropertiesDialog() [3/5]

PolygonPropertiesDialog ( Polygon polygon,
UndoStack undoStack,
const QSet< const Layer * > &  layers,
const LengthUnit lengthUnit,
const QString &  settingsPrefix,
QWidget *  parent = nullptr 
)
noexcept

◆ PolygonPropertiesDialog() [4/5]

PolygonPropertiesDialog ( BI_Polygon polygon,
UndoStack undoStack,
const QSet< const Layer * > &  layers,
const LengthUnit lengthUnit,
const QString &  settingsPrefix,
QWidget *  parent = nullptr 
)
noexcept

◆ ~PolygonPropertiesDialog()

~PolygonPropertiesDialog ( )
noexcept

◆ PolygonPropertiesDialog() [5/5]

PolygonPropertiesDialog ( Polygon libPolygon,
BI_Polygon boardPolygon,
UndoStack undoStack,
const QSet< const Layer * > &  layers,
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=()

PolygonPropertiesDialog & operator= ( const PolygonPropertiesDialog rhs)
delete

◆ load()

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

◆ buttonBoxClicked()

void buttonBoxClicked ( QAbstractButton *  button)
privatenoexcept
+ 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

Member Data Documentation

◆ mLibraryObj

Polygon* mLibraryObj
private

◆ mBoardObj

BI_Polygon* mBoardObj
private

◆ mUndoStack

UndoStack& mUndoStack
private

◆ mUi

QScopedPointer<Ui::PolygonPropertiesDialog> mUi
private

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