20 #ifndef LIBREPCB_LIBRARY_EDITOR_SYMBOLEDITORWIDGET_H
21 #define LIBREPCB_LIBRARY_EDITOR_SYMBOLEDITORWIDGET_H
26 #include "../common/categorylisteditorwidget.h"
27 #include "../common/editorwidgetbase.h"
45 class SymbolGraphicsItem;
49 class SymbolEditorFsm;
52 class SymbolEditorWidget;
71 QWidget* parent =
nullptr);
84 bool save() noexcept override;
85 bool cut() noexcept override;
86 bool copy() noexcept override;
87 bool paste() noexcept override;
90 bool mirror() noexcept override;
91 bool remove() noexcept override;
92 bool zoomIn() noexcept override;
93 bool zoomOut() noexcept override;
94 bool zoomAll() noexcept override;
106 template <typename MessageType>
107 void fixMsg(const MessageType& msg);
108 template <typename MessageType>
113 bool applyFix) override;
135 #endif // LIBREPCB_LIBRARY_EDITOR_SYMBOLEDITORWIDGET_H
QVector< std::shared_ptr< const LibraryElementCheckMessage > > LibraryElementCheckMessageList
Definition: libraryelementcheckmessage.h:96
The LibraryElementCheckMessage class.
Definition: libraryelementcheckmessage.h:44
The SymbolEditorFsm class is the finit state machine (FSM) of the symbol editor.
Definition: symboleditorfsm.h:61
The Symbol class represents the part of a component which is added to schematics. ...
Definition: symbol.h:57
The ExclusiveActionGroup class groups multiple QAction's together.
Definition: exclusiveactiongroup.h:50
This class represents absolute, well-formatted paths to files or directories.
Definition: filepath.h:127
Definition: editorwidgetbase.h:69
The SymbolGraphicsItem class.
Definition: symbolgraphicsitem.h:58
The IF_GraphicsViewEventHandler class.
Definition: if_graphicsvieweventhandler.h:40
The Uuid class is a replacement for QUuid to get UUID strings without {} braces.
Definition: uuid.h:58
The GraphicsScene class.
Definition: graphicsscene.h:43