![]() |
LibrePCB Developers Documentation
|
The SymbolEditorState_DrawPolygon class. More...
#include <symboleditorstate_drawpolygon.h>
Public Member Functions | |
SymbolEditorState_DrawPolygon ()=delete | |
SymbolEditorState_DrawPolygon (const SymbolEditorState_DrawPolygon &other)=delete | |
SymbolEditorState_DrawPolygon (const Context &context) noexcept | |
~SymbolEditorState_DrawPolygon () noexcept | |
SymbolEditorState_DrawPolygon & | operator= (const SymbolEditorState_DrawPolygon &rhs)=delete |
![]() | |
SymbolEditorState_DrawPolygonBase ()=delete | |
SymbolEditorState_DrawPolygonBase (const SymbolEditorState_DrawPolygonBase &other)=delete | |
SymbolEditorState_DrawPolygonBase (const Context &context, Mode mode) noexcept | |
virtual | ~SymbolEditorState_DrawPolygonBase () noexcept |
bool | processKeyPressed (const GraphicsSceneKeyEvent &e) noexcept override |
bool | processKeyReleased (const GraphicsSceneKeyEvent &e) noexcept override |
bool | entry () noexcept override |
bool | exit () noexcept override |
bool | processGraphicsSceneMouseMoved (const GraphicsSceneMouseEvent &e) noexcept override |
bool | processGraphicsSceneLeftMouseButtonPressed (const GraphicsSceneMouseEvent &e) noexcept override |
bool | processGraphicsSceneLeftMouseButtonDoubleClicked (const GraphicsSceneMouseEvent &e) noexcept override |
bool | processAbortCommand () 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 |
bool | getGrabArea () const noexcept |
void | setGrabArea (bool grabArea) noexcept |
const Angle & | getAngle () const noexcept |
void | setAngle (const Angle &angle) noexcept |
SymbolEditorState_DrawPolygonBase & | operator= (const SymbolEditorState_DrawPolygonBase &rhs)=delete |
![]() | |
SymbolEditorState ()=delete | |
SymbolEditorState (const SymbolEditorState &other)=delete | |
SymbolEditorState (const Context &context) noexcept | |
virtual | ~SymbolEditorState () noexcept |
std::unique_ptr< SymbolClipboardData > | takeDataToPaste () noexcept |
virtual bool | processGraphicsSceneLeftMouseButtonReleased (const GraphicsSceneMouseEvent &e) noexcept |
virtual bool | processGraphicsSceneRightMouseButtonReleased (const GraphicsSceneMouseEvent &e) noexcept |
virtual bool | processSelectAll () noexcept |
virtual bool | processCut () noexcept |
virtual bool | processCopy () noexcept |
virtual bool | processPaste (std::unique_ptr< SymbolClipboardData > data=nullptr) noexcept |
virtual bool | processMove (const Point &delta) |
virtual bool | processRotate (const Angle &rotation) noexcept |
virtual bool | processMirror (Qt::Orientation orientation) noexcept |
virtual bool | processSnapToGrid () noexcept |
virtual bool | processRemove () noexcept |
virtual bool | processEditProperties () noexcept |
virtual bool | processImportPins () noexcept |
virtual bool | processImportDxf () noexcept |
virtual bool | processGridIntervalChanged (const PositiveLength &inverval) noexcept |
SymbolEditorState & | operator= (const SymbolEditorState &rhs)=delete |
Protected Member Functions | |
void | notifyToolEnter () noexcept override |
![]() | |
void | requestPaste (std::unique_ptr< SymbolClipboardData > data) noexcept |
GraphicsScene * | getGraphicsScene () noexcept |
SymbolGraphicsItem * | getGraphicsItem () noexcept |
PositiveLength | getGridInterval () const noexcept |
const LengthUnit & | getLengthUnit () const noexcept |
QWidget * | parentWidget () noexcept |
Additional Inherited Members | |
![]() | |
enum class | Mode |
![]() | |
using | Context = SymbolEditorFsm::Context |
![]() | |
void | layerChanged (const Layer &layer) |
void | lineWidthChanged (const UnsignedLength &width) |
void | filledChanged (bool filled) |
void | grabAreaChanged (bool grabArea) |
void | angleChanged (const Angle &angle) |
![]() | |
void | pasteRequested () |
![]() | |
static const QSet< const Layer * > & | getAllowedTextLayers () noexcept |
static const QSet< const Layer * > & | getAllowedCircleAndPolygonLayers () noexcept |
![]() | |
Context | mContext |
SymbolEditorFsmAdapter & | mAdapter |
The SymbolEditorState_DrawPolygon class.
|
delete |
|
delete |
|
explicitnoexcept |
|
noexcept |
|
delete |
|
overrideprotectedvirtualnoexcept |