The SymbolEditorState_Select class.
More...
#include <symboleditorstate_select.h>
◆ SubState
Enumerator |
---|
IDLE | |
SELECTING | |
MOVING | |
PASTING | |
MOVING_POLYGON_VERTEX | |
◆ SymbolEditorState_Select() [1/3]
◆ SymbolEditorState_Select() [2/3]
◆ SymbolEditorState_Select() [3/3]
◆ ~SymbolEditorState_Select()
◆ exit()
◆ getAvailableFeatures()
◆ processGraphicsSceneMouseMoved()
bool processGraphicsSceneMouseMoved |
( |
QGraphicsSceneMouseEvent & |
e | ) |
|
|
overridevirtualnoexcept |
◆ processGraphicsSceneLeftMouseButtonPressed()
bool processGraphicsSceneLeftMouseButtonPressed |
( |
QGraphicsSceneMouseEvent & |
e | ) |
|
|
overridevirtualnoexcept |
◆ processGraphicsSceneLeftMouseButtonReleased()
bool processGraphicsSceneLeftMouseButtonReleased |
( |
QGraphicsSceneMouseEvent & |
e | ) |
|
|
overridevirtualnoexcept |
◆ processGraphicsSceneLeftMouseButtonDoubleClicked()
bool processGraphicsSceneLeftMouseButtonDoubleClicked |
( |
QGraphicsSceneMouseEvent & |
e | ) |
|
|
overridevirtualnoexcept |
◆ processGraphicsSceneRightMouseButtonReleased()
bool processGraphicsSceneRightMouseButtonReleased |
( |
QGraphicsSceneMouseEvent & |
e | ) |
|
|
overridevirtualnoexcept |
◆ processSelectAll()
bool processSelectAll |
( |
| ) |
|
|
overridevirtualnoexcept |
◆ processCut()
◆ processCopy()
◆ processPaste()
◆ processMove()
bool processMove |
( |
const Point & |
delta | ) |
|
|
overridevirtualnoexcept |
◆ processRotate()
bool processRotate |
( |
const Angle & |
rotation | ) |
|
|
overridevirtualnoexcept |
◆ processMirror()
bool processMirror |
( |
Qt::Orientation |
orientation | ) |
|
|
overridevirtualnoexcept |
◆ processSnapToGrid()
bool processSnapToGrid |
( |
| ) |
|
|
overridevirtualnoexcept |
◆ processRemove()
◆ processEditProperties()
bool processEditProperties |
( |
| ) |
|
|
overridevirtualnoexcept |
◆ processImportDxf()
bool processImportDxf |
( |
| ) |
|
|
overridevirtualnoexcept |
◆ processAbortCommand()
bool processAbortCommand |
( |
| ) |
|
|
overridevirtualnoexcept |
◆ operator=()
◆ openContextMenuAtPos()
bool openContextMenuAtPos |
( |
const Point & |
pos | ) |
|
|
privatenoexcept |
◆ openPropertiesDialogOfItem()
bool openPropertiesDialogOfItem |
( |
std::shared_ptr< QGraphicsItem > |
item | ) |
|
|
privatenoexcept |
◆ openPropertiesDialogOfItemAtPos()
bool openPropertiesDialogOfItemAtPos |
( |
const Point & |
pos | ) |
|
|
privatenoexcept |
◆ copySelectedItemsToClipboard()
bool copySelectedItemsToClipboard |
( |
| ) |
|
|
privatenoexcept |
◆ startPaste()
◆ rotateSelectedItems()
bool rotateSelectedItems |
( |
const Angle & |
angle | ) |
|
|
privatenoexcept |
◆ mirrorSelectedItems()
bool mirrorSelectedItems |
( |
Qt::Orientation |
orientation | ) |
|
|
privatenoexcept |
◆ snapSelectedItemsToGrid()
bool snapSelectedItemsToGrid |
( |
| ) |
|
|
privatenoexcept |
◆ removeSelectedItems()
bool removeSelectedItems |
( |
| ) |
|
|
privatenoexcept |
◆ removePolygonVertices()
void removePolygonVertices |
( |
std::shared_ptr< Polygon > |
polygon, |
|
|
const QVector< int > |
vertices |
|
) |
| |
|
privatenoexcept |
◆ startAddingPolygonVertex()
void startAddingPolygonVertex |
( |
std::shared_ptr< Polygon > |
polygon, |
|
|
int |
vertex, |
|
|
const Point & |
pos |
|
) |
| |
|
privatenoexcept |
◆ setSelectionRect()
void setSelectionRect |
( |
const Point & |
p1, |
|
|
const Point & |
p2 |
|
) |
| |
|
privatenoexcept |
◆ clearSelectionRect()
void clearSelectionRect |
( |
bool |
updateItemsSelectionState | ) |
|
|
privatenoexcept |
◆ findItemsAtPosition()
QList< std::shared_ptr< QGraphicsItem > > findItemsAtPosition |
( |
const Point & |
pos | ) |
|
|
privatenoexcept |
◆ findPolygonVerticesAtPosition()
bool findPolygonVerticesAtPosition |
( |
const Point & |
pos | ) |
|
|
privatenoexcept |
◆ setState()
◆ mState
◆ mStartPos
◆ mCmdDragSelectedItems
◆ mSelectedPolygon
std::shared_ptr<Polygon> mSelectedPolygon |
|
private |
The current polygon selected for editing (nullptr if none)
◆ mSelectedPolygonVertices
QVector<int> mSelectedPolygonVertices |
|
private |
The polygon vertex indices selected for editing (empty if none)
◆ mCmdPolygonEdit
The polygon edit command (nullptr if not editing)
The documentation for this class was generated from the following files: