LibrePCB Developers Documentation
|
The SymbolEditorState_DrawCircle class. More...
#include <symboleditorstate_drawcircle.h>
Public Member Functions | |
SymbolEditorState_DrawCircle ()=delete | |
SymbolEditorState_DrawCircle (const SymbolEditorState_DrawCircle &other)=delete | |
SymbolEditorState_DrawCircle (const Context &context) noexcept | |
~SymbolEditorState_DrawCircle () noexcept | |
bool | entry () noexcept override |
bool | exit () noexcept override |
QSet< EditorWidgetBase::Feature > | getAvailableFeatures () const noexcept override |
bool | processGraphicsSceneMouseMoved (QGraphicsSceneMouseEvent &e) noexcept override |
bool | processGraphicsSceneLeftMouseButtonPressed (QGraphicsSceneMouseEvent &e) noexcept override |
bool | processAbortCommand () noexcept override |
SymbolEditorState_DrawCircle & | operator= (const SymbolEditorState_DrawCircle &rhs)=delete |
Public Member Functions inherited from SymbolEditorState | |
SymbolEditorState ()=delete | |
SymbolEditorState (const SymbolEditorState &other)=delete | |
SymbolEditorState (const Context &context) noexcept | |
virtual | ~SymbolEditorState () noexcept |
std::unique_ptr< SymbolClipboardData > | takeDataToPaste () noexcept |
virtual bool | processKeyPressed (const QKeyEvent &e) noexcept |
virtual bool | processKeyReleased (const QKeyEvent &e) noexcept |
virtual bool | processGraphicsSceneLeftMouseButtonReleased (QGraphicsSceneMouseEvent &e) noexcept |
virtual bool | processGraphicsSceneLeftMouseButtonDoubleClicked (QGraphicsSceneMouseEvent &e) noexcept |
virtual bool | processGraphicsSceneRightMouseButtonReleased (QGraphicsSceneMouseEvent &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 | processImportDxf () noexcept |
SymbolEditorState & | operator= (const SymbolEditorState &rhs)=delete |
Private Member Functions | |
bool | startAddCircle (const Point &pos) noexcept |
bool | updateCircleDiameter (const Point &pos) noexcept |
bool | finishAddCircle (const Point &pos) noexcept |
bool | abortAddCircle () noexcept |
void | layerComboBoxValueChanged (const Layer &layer) noexcept |
void | lineWidthEditValueChanged (const UnsignedLength &value) noexcept |
void | fillCheckBoxCheckedChanged (bool checked) noexcept |
void | grabAreaCheckBoxCheckedChanged (bool checked) noexcept |
Private Attributes | |
std::unique_ptr< CmdCircleEdit > | mEditCmd |
std::shared_ptr< Circle > | mCurrentCircle |
std::shared_ptr< CircleGraphicsItem > | mCurrentGraphicsItem |
const Layer * | mLastLayer |
UnsignedLength | mLastLineWidth |
bool | mLastFill |
bool | mLastGrabArea |
Additional Inherited Members | |
Public Types inherited from SymbolEditorState | |
using | Context = SymbolEditorFsm::Context |
Signals inherited from SymbolEditorState | |
void | availableFeaturesChanged () |
void | statusBarMessageChanged (const QString &message, int timeoutMs=-1) |
void | pasteRequested () |
Protected Member Functions inherited from SymbolEditorState | |
void | requestPaste (std::unique_ptr< SymbolClipboardData > data) noexcept |
const PositiveLength & | getGridInterval () const noexcept |
const LengthUnit & | getLengthUnit () const noexcept |
Static Protected Member Functions inherited from SymbolEditorState | |
static const QSet< const Layer * > & | getAllowedTextLayers () noexcept |
static const QSet< const Layer * > & | getAllowedCircleAndPolygonLayers () noexcept |
Protected Attributes inherited from SymbolEditorState | |
Context | mContext |
The SymbolEditorState_DrawCircle class.
|
delete |
|
delete |
|
explicitnoexcept |
|
noexcept |
|
overridevirtualnoexcept |
|
overridevirtualnoexcept |
|
overridevirtualnoexcept |
Implements SymbolEditorState.
|
overridevirtualnoexcept |
|
overridevirtualnoexcept |
|
overridevirtualnoexcept |
|
delete |
|
privatenoexcept |
|
privatenoexcept |
|
privatenoexcept |
|
privatenoexcept |
|
privatenoexcept |
|
privatenoexcept |
|
privatenoexcept |
|
privatenoexcept |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |