LibrePCB Developers Documentation
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, QList< GraphicsLayer *> layers, const LengthUnit &lengthUnit, const QString &settingsPrefix, QWidget *parent=nullptr) noexcept
 
 ~PolygonPropertiesDialog () noexcept
 
PolygonPropertiesDialogoperator= (const PolygonPropertiesDialog &rhs)=delete
 

Private Member Functions

void buttonBoxClicked (QAbstractButton *button) noexcept
 
bool applyChanges () noexcept
 
void selectLayerNameInCombobox (const QString &name) noexcept
 

Private Attributes

PolygonmPolygon
 
UndoStackmUndoStack
 
QScopedPointer< Ui::PolygonPropertiesDialog > mUi
 

Detailed Description

Constructor & Destructor Documentation

◆ PolygonPropertiesDialog() [1/3]

◆ PolygonPropertiesDialog() [2/3]

◆ PolygonPropertiesDialog() [3/3]

PolygonPropertiesDialog ( Polygon polygon,
UndoStack undoStack,
QList< GraphicsLayer *>  layers,
const LengthUnit lengthUnit,
const QString &  settingsPrefix,
QWidget *  parent = nullptr 
)
noexcept
+ Here is the call graph for this function:

◆ ~PolygonPropertiesDialog()

~PolygonPropertiesDialog ( )
noexcept

Member Function Documentation

◆ operator=()

PolygonPropertiesDialog& operator= ( const PolygonPropertiesDialog rhs)
delete

◆ buttonBoxClicked()

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

◆ applyChanges()

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

◆ selectLayerNameInCombobox()

void selectLayerNameInCombobox ( const QString &  name)
privatenoexcept

Member Data Documentation

◆ mPolygon

Polygon& mPolygon
private

◆ mUndoStack

UndoStack& mUndoStack
private

◆ mUi

QScopedPointer<Ui::PolygonPropertiesDialog> mUi
private

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