20#ifndef LIBREPCB_EDITOR_PACKAGEEDITORWIDGET_H
21#define LIBREPCB_EDITOR_PACKAGEEDITORWIDGET_H
26#include "../../widgets/if_graphicsvieweventhandler.h"
27#include "../cat/categorylisteditorwidget.h"
28#include "../editorwidgetbase.h"
50class OpenGlSceneBuilder;
52class PackageEditorFsm;
55class PackageEditorWidget;
74 QWidget* parent =
nullptr);
83 QToolBar& commandToolBar,
91 bool save() noexcept override;
93 bool cut() noexcept override;
94 bool copy() noexcept override;
95 bool paste() noexcept override;
96 bool move(Qt::ArrowType direction) noexcept override;
98 bool mirror(Qt::Orientation orientation) noexcept override;
99 bool flip(Qt::Orientation orientation) noexcept override;
101 bool remove() noexcept override;
103 bool zoomIn() noexcept override;
104 bool zoomOut() noexcept override;
105 bool zoomAll() noexcept override;
121 const QVariant& mode) noexcept override;
129 template <typename MessageType>
131 template <typename MessageType>
133 template <typename MessageType>
136 bool applyFix) override;
138 bool approve) noexcept override;
140 const QString& settingsKey) noexcept override;
142 Theme::GridStyle style) noexcept;
The Angle class is used to represent an angle (for example 12.75 degrees)
Definition: angle.h:78
This class represents absolute, well-formatted paths to files or directories.
Definition: filepath.h:129
The LengthUnit class represents a length unit (millimeters, inches,...) and provides some useful meth...
Definition: lengthunit.h:60
The Package class represents a package of a component (including footprint and 3D model)
Definition: package.h:59
Represents a 3D model of a librepcb::Package.
Definition: packagemodel.h:43
The RuleCheckMessage class.
Definition: rulecheckmessage.h:45
Theme class as used by librepcb::WorkspaceSettingsItem_Themes.
Definition: theme.h:44
The Uuid class is a replacement for QUuid to get UUID strings without {} braces.
Definition: uuid.h:58
The ExclusiveActionGroup class groups multiple QAction's together.
Definition: exclusiveactiongroup.h:54
This class provides a Dialog (GUI) to choose DXF import settings.
Definition: graphicsexportdialog.h:61
The GraphicsScene class.
Definition: graphicsscene.h:45
The IF_GraphicsViewEventHandler class.
Definition: if_graphicsvieweventhandler.h:41
Asynchronously generates a 3D board scene for OpenGL rendering.
Definition: openglscenebuilder.h:49
OpenGL 3D viewer widget.
Definition: openglview.h:52
The PackageEditorFsm class is the finit state machine (FSM) of the package editor.
Definition: packageeditorfsm.h:60
The StatusBar class extends QStatusBar for some commonly used fields.
Definition: statusbar.h:45
The UndoStackActionGroup class groups an undo-QAction and redo-QAction together and optionally connec...
Definition: undostackactiongroup.h:45
Definition: occmodel.cpp:77
type_safe::constrained_type< Length, PositiveLengthConstraint, PositiveLengthVerifier > PositiveLength
Definition: length.h:812
QVector< std::shared_ptr< const RuleCheckMessage > > RuleCheckMessageList
Definition: rulecheckmessage.h:104
Definition: editorwidgetbase.h:68