![]() |
LibrePCB Developers Documentation
|
The PackageEditorState_Select class. More...
#include <packageeditorstate_select.h>
Inheritance diagram for PackageEditorState_Select:
Collaboration diagram for PackageEditorState_Select:Public Member Functions | |
| PackageEditorState_Select ()=delete | |
| PackageEditorState_Select (const PackageEditorState_Select &other)=delete | |
| PackageEditorState_Select (Context &context) noexcept | |
| ~PackageEditorState_Select () noexcept | |
| bool | exit () noexcept override |
| QSet< EditorWidgetBase::Feature > | getAvailableFeatures () const noexcept override |
| bool | processGraphicsSceneMouseMoved (const GraphicsSceneMouseEvent &e) noexcept override |
| bool | processGraphicsSceneLeftMouseButtonPressed (const GraphicsSceneMouseEvent &e) noexcept override |
| bool | processGraphicsSceneLeftMouseButtonReleased (const GraphicsSceneMouseEvent &e) noexcept override |
| bool | processGraphicsSceneLeftMouseButtonDoubleClicked (const GraphicsSceneMouseEvent &e) noexcept override |
| bool | processGraphicsSceneRightMouseButtonReleased (const GraphicsSceneMouseEvent &e) noexcept override |
| bool | processSelectAll () noexcept override |
| bool | processCut () noexcept override |
| bool | processCopy () noexcept override |
| bool | processPaste () noexcept override |
| bool | processMove (const Point &delta) noexcept override |
| bool | processRotate (const Angle &rotation) noexcept override |
| bool | processMirror (Qt::Orientation orientation) noexcept override |
| bool | processFlip (Qt::Orientation orientation) noexcept override |
| bool | processMoveAlign () noexcept override |
| bool | processSnapToGrid () noexcept override |
| bool | processRemove () noexcept override |
| bool | processEditProperties () noexcept override |
| bool | processGenerateOutline () noexcept override |
| bool | processGenerateCourtyard () noexcept override |
| bool | processImportDxf () noexcept override |
| bool | processAbortCommand () noexcept override |
| PackageEditorState_Select & | operator= (const PackageEditorState_Select &rhs)=delete |
Public Member Functions inherited from PackageEditorState | |
| PackageEditorState ()=delete | |
| PackageEditorState (const PackageEditorState &other)=delete | |
| PackageEditorState (Context &context) noexcept | |
| virtual | ~PackageEditorState () noexcept |
| virtual bool | entry () noexcept |
| virtual bool | processKeyPressed (const GraphicsSceneKeyEvent &e) noexcept |
| virtual bool | processKeyReleased (const GraphicsSceneKeyEvent &e) noexcept |
| PackageEditorState & | operator= (const PackageEditorState &rhs)=delete |
Private Types | |
| enum class | SubState |
Private Member Functions | |
| bool | openContextMenuAtPos (const Point &pos) noexcept |
| bool | openPropertiesDialogOfItem (std::shared_ptr< QGraphicsItem > item) noexcept |
| bool | openPropertiesDialogOfItemAtPos (const Point &pos) noexcept |
| bool | copySelectedItemsToClipboard () noexcept |
| bool | canPasteGeometry (const std::unique_ptr< FootprintClipboardData > &data) const noexcept |
| bool | pasteGeometryFromClipboard (std::unique_ptr< FootprintClipboardData > data) noexcept |
| bool | startPaste (std::unique_ptr< FootprintClipboardData > data, const std::optional< Point > &fixedPosition) |
| bool | rotateSelectedItems (const Angle &angle) noexcept |
| bool | mirrorSelectedItems (Qt::Orientation orientation, bool flipLayers) noexcept |
| bool | moveAlignSelectedItems () noexcept |
| bool | snapSelectedItemsToGrid () noexcept |
| bool | removeSelectedItems () noexcept |
| bool | generateOutline () noexcept |
| bool | generateCourtyard () noexcept |
| void | removePolygonVertices (std::shared_ptr< Polygon > polygon, const QVector< int > vertices) noexcept |
| void | startAddingPolygonVertex (std::shared_ptr< Polygon > polygon, int vertex, const Point &pos) noexcept |
| void | removeZoneVertices (std::shared_ptr< Zone > zone, const QVector< int > vertices) noexcept |
| void | startAddingZoneVertex (std::shared_ptr< Zone > zone, int vertex, const Point &pos) noexcept |
| void | setSelectionRect (const Point &p1, const Point &p2) noexcept |
| void | clearSelectionRect (bool updateItemsSelectionState) noexcept |
| QList< std::shared_ptr< QGraphicsItem > > | findItemsAtPosition (const Point &pos) noexcept |
| bool | findPolygonVerticesAtPosition (const Point &pos) noexcept |
| bool | findZoneVerticesAtPosition (const Point &pos) noexcept |
| void | setState (SubState state) noexcept |
Private Attributes | |
| SubState | mState |
| Point | mStartPos |
| std::unique_ptr< CmdDragSelectedFootprintItems > | mCmdDragSelectedItems |
| std::shared_ptr< Polygon > | mSelectedPolygon |
| The current polygon selected for editing (nullptr if none) | |
| QVector< int > | mSelectedPolygonVertices |
| The polygon vertex indices selected for editing (empty if none) | |
| std::unique_ptr< CmdPolygonEdit > | mCmdPolygonEdit |
| The polygon edit command (nullptr if not editing) | |
| std::shared_ptr< Zone > | mSelectedZone |
| The current zone selected for editing (nullptr if none) | |
| QVector< int > | mSelectedZoneVertices |
| The zone vertex indices selected for editing (empty if none) | |
| std::unique_ptr< CmdZoneEdit > | mCmdZoneEdit |
| The zone edit command (nullptr if not editing) | |
Additional Inherited Members | |
Public Types inherited from PackageEditorState | |
| using | Context = PackageEditorFsm::Context |
Signals inherited from PackageEditorState | |
| void | abortRequested () |
| void | availableFeaturesChanged () |
| void | statusBarMessageChanged (const QString &message, int timeoutMs=-1) |
Protected Member Functions inherited from PackageEditorState | |
| const PositiveLength & | getGridInterval () const noexcept |
| const LengthUnit & | getLengthUnit () const noexcept |
Static Protected Member Functions inherited from PackageEditorState | |
| static const QSet< const Layer * > & | getAllowedTextLayers () noexcept |
| static const QSet< const Layer * > & | getAllowedCircleAndPolygonLayers () noexcept |
Protected Attributes inherited from PackageEditorState | |
| Context & | mContext |
The PackageEditorState_Select class.
|
strongprivate |
|
delete |
|
delete |
|
explicitnoexcept |
|
noexcept |
|
overridevirtualnoexcept |
|
overridevirtualnoexcept |
|
overridevirtualnoexcept |
|
overridevirtualnoexcept |
|
overridevirtualnoexcept |
|
overridevirtualnoexcept |
Reimplemented from PackageEditorState.
|
overridevirtualnoexcept |
|
overridevirtualnoexcept |
|
overridevirtualnoexcept |
|
overridevirtualnoexcept |
|
overridevirtualnoexcept |
|
overridevirtualnoexcept |
|
overridevirtualnoexcept |
Reimplemented from PackageEditorState.
|
overridevirtualnoexcept |
Reimplemented from PackageEditorState.
|
overridevirtualnoexcept |
Reimplemented from PackageEditorState.
|
overridevirtualnoexcept |
|
overridevirtualnoexcept |
|
overridevirtualnoexcept |
|
overridevirtualnoexcept |
|
overridevirtualnoexcept |
|
overridevirtualnoexcept |
|
overridevirtualnoexcept |
|
overridevirtualnoexcept |
Reimplemented from PackageEditorState.
Here is the call graph for this function:
Here is the caller graph for this function:
|
delete |
|
privatenoexcept |
Here is the call graph for this function:
|
privatenoexcept |
Here is the call graph for this function:
Here is the caller graph for this function:
|
privatenoexcept |
|
privatenoexcept |
Here is the call graph for this function:
Here is the caller graph for this function:
|
privatenoexcept |
Here is the call graph for this function:
Here is the caller graph for this function:
|
privatenoexcept |
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Here is the call graph for this function:
Here is the caller graph for this function:
|
privatenoexcept |
Here is the call graph for this function:
|
privatenoexcept |
Here is the call graph for this function:
|
privatenoexcept |
Here is the call graph for this function:
Here is the caller graph for this function:
|
privatenoexcept |
Here is the call graph for this function:
Here is the caller graph for this function:
|
privatenoexcept |
Here is the call graph for this function:
Here is the caller graph for this function:
|
privatenoexcept |
Here is the call graph for this function:
Here is the caller graph for this function:
|
privatenoexcept |
Here is the call graph for this function:
Here is the caller graph for this function:
|
privatenoexcept |
Here is the call graph for this function:
|
privatenoexcept |
Here is the call graph for this function:
|
privatenoexcept |
Here is the call graph for this function:
|
privatenoexcept |
Here is the call graph for this function:
|
privatenoexcept |
Here is the caller graph for this function:
|
privatenoexcept |
|
privatenoexcept |
|
privatenoexcept |
|
privatenoexcept |
Here is the caller graph for this function:
|
private |
|
private |
|
private |
|
private |
The current polygon selected for editing (nullptr if none)
|
private |
The polygon vertex indices selected for editing (empty if none)
|
private |
The polygon edit command (nullptr if not editing)
|
private |
The current zone selected for editing (nullptr if none)
|
private |
The zone vertex indices selected for editing (empty if none)
|
private |
The zone edit command (nullptr if not editing)