LibrePCB Developers Documentation
SymbolInstancePropertiesDialog Class Referencefinal

The SymbolInstancePropertiesDialog class. More...

#include <symbolinstancepropertiesdialog.h>

Inherits QDialog.

+ Collaboration diagram for SymbolInstancePropertiesDialog:

Public Member Functions

 SymbolInstancePropertiesDialog ()=delete
 
 SymbolInstancePropertiesDialog (const SymbolInstancePropertiesDialog &other)=delete
 
 SymbolInstancePropertiesDialog (Workspace &ws, Project &project, ComponentInstance &cmp, SI_Symbol &symbol, UndoStack &undoStack, const LengthUnit &lengthUnit, const QString &settingsPrefix, QWidget *parent) noexcept
 
 ~SymbolInstancePropertiesDialog () noexcept
 
SymbolInstancePropertiesDialogoperator= (const SymbolInstancePropertiesDialog &rhs)=delete
 

Private Member Functions

void setSelectedPart (std::shared_ptr< Part > part) noexcept
 
void buttonBoxClicked (QAbstractButton *button) noexcept
 
void accept ()
 
bool applyChanges () noexcept
 

Private Attributes

WorkspacemWorkspace
 
ProjectmProject
 
ComponentInstancemComponentInstance
 
SI_SymbolmSymbol
 
UndoStackmUndoStack
 
AttributeList mAttributes
 
std::shared_ptr< PartmSelectedPart
 
QScopedPointer< Ui::SymbolInstancePropertiesDialog > mUi
 

Detailed Description

Constructor & Destructor Documentation

◆ SymbolInstancePropertiesDialog() [1/3]

◆ SymbolInstancePropertiesDialog() [2/3]

◆ SymbolInstancePropertiesDialog() [3/3]

SymbolInstancePropertiesDialog ( Workspace ws,
Project project,
ComponentInstance cmp,
SI_Symbol symbol,
UndoStack undoStack,
const LengthUnit lengthUnit,
const QString &  settingsPrefix,
QWidget *  parent 
)
noexcept
+ Here is the call graph for this function:

◆ ~SymbolInstancePropertiesDialog()

Member Function Documentation

◆ operator=()

◆ setSelectedPart()

void setSelectedPart ( std::shared_ptr< Part part)
privatenoexcept
+ Here is the caller graph for this function:

◆ buttonBoxClicked()

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

◆ accept()

void accept ( )
private
+ Here is the call graph for this function:

◆ applyChanges()

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

Member Data Documentation

◆ mWorkspace

Workspace& mWorkspace
private

◆ mProject

Project& mProject
private

◆ mComponentInstance

ComponentInstance& mComponentInstance
private

◆ mSymbol

SI_Symbol& mSymbol
private

◆ mUndoStack

UndoStack& mUndoStack
private

◆ mAttributes

AttributeList mAttributes
private

◆ mSelectedPart

std::shared_ptr<Part> mSelectedPart
private

◆ mUi

QScopedPointer<Ui::SymbolInstancePropertiesDialog> mUi
private

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