![]() |
LibrePCB Developers Documentation
|
The SchematicEditorState_DrawPolygon class. More...
#include <schematiceditorstate_drawpolygon.h>
Inheritance diagram for SchematicEditorState_DrawPolygon:
Collaboration diagram for SchematicEditorState_DrawPolygon:Signals | |
| void | layerChanged (const Layer &layer) |
| void | lineWidthChanged (const UnsignedLength &width) |
| void | filledChanged (bool filled) |
Signals inherited from SchematicEditorState | |
| void | requestLeavingState () |
| Signal to indicate that the current tool should be exited. | |
Public Member Functions | |
| SchematicEditorState_DrawPolygon ()=delete | |
| SchematicEditorState_DrawPolygon (const SchematicEditorState_DrawPolygon &other)=delete | |
| SchematicEditorState_DrawPolygon (const Context &context) noexcept | |
| virtual | ~SchematicEditorState_DrawPolygon () noexcept |
| virtual bool | entry () noexcept override |
| virtual bool | exit () noexcept override |
| virtual bool | processAbortCommand () noexcept override |
| virtual bool | processGraphicsSceneMouseMoved (const GraphicsSceneMouseEvent &e) noexcept override |
| virtual bool | processGraphicsSceneLeftMouseButtonPressed (const GraphicsSceneMouseEvent &e) noexcept override |
| virtual bool | processGraphicsSceneLeftMouseButtonDoubleClicked (const GraphicsSceneMouseEvent &e) noexcept override |
| QSet< const Layer * > | getAvailableLayers () const noexcept |
| const Layer & | getLayer () const noexcept |
| void | setLayer (const Layer &layer) noexcept |
| const UnsignedLength & | getLineWidth () const noexcept |
| void | setLineWidth (const UnsignedLength &width) noexcept |
| bool | getFilled () const noexcept |
| void | setFilled (bool filled) noexcept |
| SchematicEditorState_DrawPolygon & | operator= (const SchematicEditorState_DrawPolygon &rhs)=delete |
Public Member Functions inherited from SchematicEditorState | |
| SchematicEditorState ()=delete | |
| SchematicEditorState (const SchematicEditorState &other)=delete | |
| SchematicEditorState (const Context &context, QObject *parent=nullptr) noexcept | |
| virtual | ~SchematicEditorState () noexcept |
| virtual bool | processAddComponent (const QString &searchTerm=QString()) noexcept |
| virtual bool | processAddComponent (const Uuid &cmp, const Uuid &symbVar) noexcept |
| virtual bool | processSelectAll () noexcept |
| virtual bool | processCut () noexcept |
| virtual bool | processCopy () noexcept |
| virtual bool | processPaste () noexcept |
| virtual bool | processMove (const Point &delta) noexcept |
| virtual bool | processRotate (const Angle &rotation) noexcept |
| virtual bool | processMirror (Qt::Orientation orientation) noexcept |
| virtual bool | processSnapToGrid () noexcept |
| virtual bool | processResetAllTexts () noexcept |
| virtual bool | processRemove () noexcept |
| virtual bool | processEditProperties () noexcept |
| virtual bool | processKeyPressed (const GraphicsSceneKeyEvent &e) noexcept |
| virtual bool | processKeyReleased (const GraphicsSceneKeyEvent &e) noexcept |
| virtual bool | processGraphicsSceneLeftMouseButtonReleased (const GraphicsSceneMouseEvent &e) noexcept |
| virtual bool | processGraphicsSceneRightMouseButtonReleased (const GraphicsSceneMouseEvent &e) noexcept |
| SchematicEditorState & | operator= (const SchematicEditorState &rhs)=delete |
Private Member Functions | |
| bool | startAddPolygon (const Point &pos) noexcept |
| bool | addSegment (const Point &pos) noexcept |
| bool | updateLastVertexPosition (const Point &pos) noexcept |
| bool | abortCommand (bool showErrMsgBox) noexcept |
Private Attributes | |
| bool | mIsUndoCmdActive |
| Point | mLastSegmentPos |
| Polygon | mCurrentProperties |
| SI_Polygon * | mCurrentPolygon |
| std::unique_ptr< CmdPolygonEdit > | mCurrentPolygonEditCmd |
Additional Inherited Members | |
Public Types inherited from SchematicEditorState | |
| enum class | FindFlag |
| using | Context = SchematicEditorFsm::Context |
Protected Member Functions inherited from SchematicEditorState | |
| SchematicGraphicsScene * | getActiveSchematicScene () noexcept |
| PositiveLength | getGridInterval () const noexcept |
| const LengthUnit & | getLengthUnit () const noexcept |
| void | abortBlockingToolsInOtherEditors () noexcept |
| bool | execCmd (UndoCommand *cmd) |
| QWidget * | parentWidget () noexcept |
| QList< std::shared_ptr< QGraphicsItem > > | findItemsAtPos (const Point &pos, FindFlags flags, const QVector< std::shared_ptr< QGraphicsItem > > &except={}) noexcept |
| template<typename T = QGraphicsItem> | |
| std::shared_ptr< T > | findItemAtPos (const Point &pos, FindFlags flags, const QVector< std::shared_ptr< QGraphicsItem > > &except={}) noexcept |
Static Protected Member Functions inherited from SchematicEditorState | |
| static const QSet< const Layer * > & | getAllowedGeometryLayers () noexcept |
Protected Attributes inherited from SchematicEditorState | |
| Context | mContext |
| SchematicEditorFsmAdapter & | mAdapter |
The SchematicEditorState_DrawPolygon class.
|
delete |
|
delete |
|
explicitnoexcept |
|
virtualnoexcept |
|
overridevirtualnoexcept |
|
overridevirtualnoexcept |
|
overridevirtualnoexcept |
|
overridevirtualnoexcept |
|
overridevirtualnoexcept |
|
overridevirtualnoexcept |
Reimplemented from SchematicEditorState.
|
noexcept |
Here is the call graph for this function:
|
inlinenoexcept |
Here is the call graph for this function:
|
noexcept |
|
inlinenoexcept |
Here is the call graph for this function:
|
noexcept |
|
inlinenoexcept |
Here is the call graph for this function:
|
noexcept |
|
delete |
|
signal |
|
signal |
|
signal |
|
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:
Here is the caller graph for this function:
|
private |
|
private |
|
private |
|
private |
|
private |