LibrePCB Developers Documentation
ZonePropertiesDialog Class Referencefinal

The ZonePropertiesDialog class. More...

#include <zonepropertiesdialog.h>

Inherits QDialog.

+ Collaboration diagram for ZonePropertiesDialog:

Public Member Functions

 ZonePropertiesDialog ()=delete
 
 ZonePropertiesDialog (const ZonePropertiesDialog &other)=delete
 
 ZonePropertiesDialog (Zone &zone, UndoStack &undoStack, const LengthUnit &lengthUnit, const IF_GraphicsLayerProvider &lp, const QString &settingsPrefix, QWidget *parent=nullptr) noexcept
 
 ZonePropertiesDialog (BI_Zone &zone, UndoStack &undoStack, const LengthUnit &lengthUnit, const IF_GraphicsLayerProvider &lp, const QString &settingsPrefix, QWidget *parent=nullptr) noexcept
 
 ~ZonePropertiesDialog () noexcept
 
void setReadOnly (bool readOnly) noexcept
 
ZonePropertiesDialogoperator= (const ZonePropertiesDialog &rhs)=delete
 

Private Member Functions

 ZonePropertiesDialog (Zone *libZone, BI_Zone *boardZone, const QList< const Layer * > allLayers, UndoStack &undoStack, const LengthUnit &lengthUnit, const IF_GraphicsLayerProvider &lp, const QString &settingsPrefix, QWidget *parent=nullptr) noexcept
 
template<typename T >
void load (const T &obj, const QSet< const Layer * > checkedLayers) noexcept
 
void buttonBoxClicked (QAbstractButton *button) noexcept
 
bool applyChanges () noexcept
 
template<typename T >
void applyChanges (T &cmd)
 

Private Attributes

ZonemLibraryObj
 
BI_ZonemBoardObj
 
UndoStackmUndoStack
 
QScopedPointer< Ui::ZonePropertiesDialog > mUi
 

Detailed Description

Constructor & Destructor Documentation

◆ ZonePropertiesDialog() [1/5]

◆ ZonePropertiesDialog() [2/5]

ZonePropertiesDialog ( const ZonePropertiesDialog other)
delete

◆ ZonePropertiesDialog() [3/5]

ZonePropertiesDialog ( Zone zone,
UndoStack undoStack,
const LengthUnit lengthUnit,
const IF_GraphicsLayerProvider lp,
const QString &  settingsPrefix,
QWidget *  parent = nullptr 
)
noexcept
+ Here is the call graph for this function:

◆ ZonePropertiesDialog() [4/5]

ZonePropertiesDialog ( BI_Zone zone,
UndoStack undoStack,
const LengthUnit lengthUnit,
const IF_GraphicsLayerProvider lp,
const QString &  settingsPrefix,
QWidget *  parent = nullptr 
)
noexcept

◆ ~ZonePropertiesDialog()

~ZonePropertiesDialog ( )
noexcept

◆ ZonePropertiesDialog() [5/5]

ZonePropertiesDialog ( Zone libZone,
BI_Zone boardZone,
const QList< const Layer * >  allLayers,
UndoStack undoStack,
const LengthUnit lengthUnit,
const IF_GraphicsLayerProvider lp,
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=()

ZonePropertiesDialog & operator= ( const ZonePropertiesDialog rhs)
delete

◆ load()

void load ( const T &  obj,
const QSet< const Layer * >  checkedLayers 
)
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]

void applyChanges ( T &  cmd)
private

Member Data Documentation

◆ mLibraryObj

Zone* mLibraryObj
private

◆ mBoardObj

BI_Zone* mBoardObj
private

◆ mUndoStack

UndoStack& mUndoStack
private

◆ mUi

QScopedPointer<Ui::ZonePropertiesDialog> mUi
private

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