LibrePCB Developers Documentation
SymbolPinPropertiesDialog Class Referencefinal

The SymbolPinPropertiesDialog class. More...

#include <symbolpinpropertiesdialog.h>

Inherits QDialog.

+ Collaboration diagram for SymbolPinPropertiesDialog:

Public Member Functions

 SymbolPinPropertiesDialog ()=delete
 
 SymbolPinPropertiesDialog (const SymbolPinPropertiesDialog &other)=delete
 
 SymbolPinPropertiesDialog (std::shared_ptr< SymbolPin > pin, UndoStack &undoStack, const LengthUnit &lengthUnit, const QString &settingsPrefix, QWidget *parent=nullptr) noexcept
 
 ~SymbolPinPropertiesDialog () noexcept
 
void setReadOnly (bool readOnly) noexcept
 
SymbolPinPropertiesDialogoperator= (const SymbolPinPropertiesDialog &rhs)=delete
 

Private Member Functions

void updateNamePositionTooltip (const UnsignedLength &length) noexcept
 
void on_buttonBox_clicked (QAbstractButton *button)
 
bool applyChanges () noexcept
 

Private Attributes

std::shared_ptr< SymbolPinmSymbolPin
 
UndoStackmUndoStack
 
QScopedPointer< Ui::SymbolPinPropertiesDialog > mUi
 

Detailed Description

Constructor & Destructor Documentation

◆ SymbolPinPropertiesDialog() [1/3]

◆ SymbolPinPropertiesDialog() [2/3]

◆ SymbolPinPropertiesDialog() [3/3]

SymbolPinPropertiesDialog ( std::shared_ptr< SymbolPin pin,
UndoStack undoStack,
const LengthUnit lengthUnit,
const QString &  settingsPrefix,
QWidget *  parent = nullptr 
)
noexcept
+ Here is the call graph for this function:

◆ ~SymbolPinPropertiesDialog()

Member Function Documentation

◆ setReadOnly()

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

◆ operator=()

SymbolPinPropertiesDialog & operator= ( const SymbolPinPropertiesDialog rhs)
delete

◆ updateNamePositionTooltip()

void updateNamePositionTooltip ( const UnsignedLength length)
privatenoexcept
+ Here is the call graph for this function:

◆ on_buttonBox_clicked()

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

◆ applyChanges()

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

Member Data Documentation

◆ mSymbolPin

std::shared_ptr<SymbolPin> mSymbolPin
private

◆ mUndoStack

UndoStack& mUndoStack
private

◆ mUi

QScopedPointer<Ui::SymbolPinPropertiesDialog> mUi
private

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