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