20#ifndef LIBREPCB_EDITOR_DEVICEINSTANCEPROPERTIESDIALOG_H
21#define LIBREPCB_EDITOR_DEVICEINSTANCEPROPERTIESDIALOG_H
48class DeviceInstancePropertiesDialog;
69 const QString& settingsPrefix,
70 QWidget* parent)
noexcept;
81 void accept() noexcept override;
The BI_Device class.
Definition bi_device.h:57
The LengthUnit class represents a length unit (millimeters, inches,...) and provides some useful meth...
Definition lengthunit.h:60
The Part class.
Definition part.h:46
The Project class represents a whole (opened) project with all its content.
Definition project.h:71
The Workspace class represents a workspace with all its data (library, projects, settings,...
Definition workspace.h:54
The DeviceInstancePropertiesDialog class.
Definition deviceinstancepropertiesdialog.h:58
void keyPressEvent(QKeyEvent *e) noexcept override
Definition deviceinstancepropertiesdialog.cpp:173
BI_Device & mDevice
Definition deviceinstancepropertiesdialog.h:87
DeviceInstancePropertiesDialog()=delete
const Workspace & mWorkspace
Definition deviceinstancepropertiesdialog.h:85
UndoStack & mUndoStack
Definition deviceinstancepropertiesdialog.h:88
Project & mProject
Definition deviceinstancepropertiesdialog.h:86
std::shared_ptr< Part > mSelectedPart
Definition deviceinstancepropertiesdialog.h:90
AttributeList mAttributes
Definition deviceinstancepropertiesdialog.h:89
void setSelectedPart(std::shared_ptr< Part > part) noexcept
Definition deviceinstancepropertiesdialog.cpp:142
~DeviceInstancePropertiesDialog() noexcept
Definition deviceinstancepropertiesdialog.cpp:133
DeviceInstancePropertiesDialog(const DeviceInstancePropertiesDialog &other)=delete
bool applyChanges() noexcept
Definition deviceinstancepropertiesdialog.cpp:193
QScopedPointer< Ui::DeviceInstancePropertiesDialog > mUi
Definition deviceinstancepropertiesdialog.h:91
void buttonBoxClicked(QAbstractButton *button) noexcept
Definition deviceinstancepropertiesdialog.cpp:155
void accept() noexcept override
Definition deviceinstancepropertiesdialog.cpp:187
The UndoStack class holds UndoCommand objects and provides undo/redo commands.
Definition undostack.h:106
Definition occmodel.cpp:76