![]() |
LibrePCB Developers Documentation
|
The DeviceEditorWidget class. More...
#include <deviceeditorwidget.h>
Public Slots | |
bool | save () noexceptoverride |
bool | zoomIn () noexceptoverride |
bool | zoomOut () noexceptoverride |
bool | zoomAll () noexceptoverride |
![]() | |
virtual bool | save () noexcept |
virtual bool | cut () noexcept |
virtual bool | copy () noexcept |
virtual bool | paste () noexcept |
virtual bool | rotateCw () noexcept |
virtual bool | rotateCcw () noexcept |
virtual bool | mirror () noexcept |
virtual bool | flip () noexcept |
virtual bool | remove () noexcept |
virtual bool | zoomIn () noexcept |
virtual bool | zoomOut () noexcept |
virtual bool | zoomAll () noexcept |
virtual bool | abortCommand () noexcept |
virtual bool | editGridProperties () noexcept |
Public Member Functions | |
DeviceEditorWidget ()=delete | |
DeviceEditorWidget (const DeviceEditorWidget &other)=delete | |
DeviceEditorWidget (const Context &context, const FilePath &fp, QWidget *parent=nullptr) | |
~DeviceEditorWidget () noexcept | |
DeviceEditorWidget & | operator= (const DeviceEditorWidget &rhs)=delete |
template<> | |
void | fixMsg (const MsgNameNotTitleCase &msg) |
template<> | |
void | fixMsg (const MsgMissingAuthor &msg) |
template<> | |
void | fixMsg (const MsgMissingCategories &msg) |
![]() | |
EditorWidgetBase ()=delete | |
EditorWidgetBase (const EditorWidgetBase &other)=delete | |
EditorWidgetBase (const Context &context, const FilePath &fp, QWidget *parent=nullptr) | |
virtual | ~EditorWidgetBase () noexcept |
const FilePath & | getFilePath () const noexcept |
bool | isDirty () const noexcept |
virtual bool | hasGraphicalEditor () const noexcept |
virtual bool | supportsFlip () const noexcept |
virtual void | setUndoStackActionGroup (UndoStackActionGroup *group) noexcept |
virtual void | setToolsActionGroup (ExclusiveActionGroup *group) noexcept |
virtual void | setCommandToolBar (QToolBar *toolbar) noexcept |
EditorWidgetBase & | operator= (const EditorWidgetBase &rhs)=delete |
Private Member Functions | |
void | updateMetadata () noexcept |
QString | commitMetadata () noexcept |
void | btnChooseComponentClicked () noexcept |
void | btnChoosePackageClicked () noexcept |
void | updateDeviceComponentUuid (const Uuid &uuid) noexcept |
void | updateComponentPreview () noexcept |
void | updateDevicePackageUuid (const Uuid &uuid) noexcept |
void | updatePackagePreview () noexcept |
void | memorizeDeviceInterface () noexcept |
bool | isInterfaceBroken () const noexceptoverride |
bool | runChecks (LibraryElementCheckMessageList &msgs) const override |
template<typename MessageType > | |
void | fixMsg (const MessageType &msg) |
template<typename MessageType > | |
bool | fixMsgHelper (std::shared_ptr< const LibraryElementCheckMessage > msg, bool applyFix) |
bool | processCheckMessage (std::shared_ptr< const LibraryElementCheckMessage > msg, bool applyFix) override |
Private Attributes | |
QScopedPointer < Ui::DeviceEditorWidget > | mUi |
QScopedPointer < ComponentCategoryListEditorWidget > | mCategoriesEditorWidget |
QScopedPointer< Device > | mDevice |
QScopedPointer < DefaultGraphicsLayerProvider > | mGraphicsLayerProvider |
QScopedPointer< Component > | mComponent |
QScopedPointer< GraphicsScene > | mComponentGraphicsScene |
QList< std::shared_ptr< Symbol > > | mSymbols |
QList< std::shared_ptr < SymbolPreviewGraphicsItem > > | mSymbolGraphicsItems |
QScopedPointer< Package > | mPackage |
QScopedPointer< GraphicsScene > | mPackageGraphicsScene |
QScopedPointer < FootprintPreviewGraphicsItem > | mFootprintGraphicsItem |
tl::optional< Uuid > | mOriginalComponentUuid |
tl::optional< Uuid > | mOriginalPackageUuid |
DevicePadSignalMap | mOriginalPadSignalMap |
The DeviceEditorWidget class.
|
delete |
|
delete |
DeviceEditorWidget | ( | const Context & | context, |
const FilePath & | fp, | ||
QWidget * | parent = nullptr |
||
) |
|
noexcept |
|
delete |
|
overrideslotnoexcept |
|
overrideslotnoexcept |
|
overrideslotnoexcept |
|
overrideslotnoexcept |
|
privatenoexcept |
|
privatenoexcept |
|
privatenoexcept |
|
privatenoexcept |
|
privatenoexcept |
|
privatenoexcept |
|
privatenoexcept |
|
privatenoexcept |
|
privatenoexcept |
|
overrideprivatevirtualnoexcept |
Implements EditorWidgetBase.
|
overrideprivatevirtual |
Implements EditorWidgetBase.
|
private |
|
private |
|
overrideprivatevirtual |
Implements EditorWidgetBase.
void fixMsg | ( | const MsgNameNotTitleCase & | msg | ) |
void fixMsg | ( | const MsgMissingAuthor & | msg | ) |
void fixMsg | ( | const MsgMissingCategories & | msg | ) |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |