LibrePCB Developers Documentation
DeviceInstancePropertiesDialog Class Referencefinal

The DeviceInstancePropertiesDialog class. More...

#include <deviceinstancepropertiesdialog.h>

Inherits QDialog.

+ Collaboration diagram for DeviceInstancePropertiesDialog:

Public Member Functions

 DeviceInstancePropertiesDialog ()=delete
 
 DeviceInstancePropertiesDialog (const DeviceInstancePropertiesDialog &other)=delete
 
 DeviceInstancePropertiesDialog (const Workspace &ws, Project &project, BI_Device &device, UndoStack &undoStack, const LengthUnit &lengthUnit, const QString &settingsPrefix, QWidget *parent) noexcept
 
 ~DeviceInstancePropertiesDialog () noexcept
 
DeviceInstancePropertiesDialogoperator= (const DeviceInstancePropertiesDialog &rhs)=delete
 

Private Member Functions

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

Private Attributes

const WorkspacemWorkspace
 
ProjectmProject
 
BI_DevicemDevice
 
UndoStackmUndoStack
 
AttributeList mAttributes
 
std::shared_ptr< PartmSelectedPart
 
QScopedPointer< Ui::DeviceInstancePropertiesDialog > mUi
 

Detailed Description

Constructor & Destructor Documentation

◆ DeviceInstancePropertiesDialog() [1/3]

◆ DeviceInstancePropertiesDialog() [2/3]

◆ DeviceInstancePropertiesDialog() [3/3]

DeviceInstancePropertiesDialog ( const Workspace ws,
Project project,
BI_Device device,
UndoStack undoStack,
const LengthUnit lengthUnit,
const QString &  settingsPrefix,
QWidget *  parent 
)
noexcept
+ Here is the call graph for this function:

◆ ~DeviceInstancePropertiesDialog()

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:

◆ keyPressEvent()

void keyPressEvent ( QKeyEvent *  e)
overrideprivatenoexcept

◆ accept()

void accept ( )
overrideprivatenoexcept
+ 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

const Workspace& mWorkspace
private

◆ mProject

Project& mProject
private

◆ mDevice

BI_Device& mDevice
private

◆ mUndoStack

UndoStack& mUndoStack
private

◆ mAttributes

AttributeList mAttributes
private

◆ mSelectedPart

std::shared_ptr<Part> mSelectedPart
private

◆ mUi

QScopedPointer<Ui::DeviceInstancePropertiesDialog> mUi
private

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