The PackageEditorState_Select class.
More...
#include <packageeditorstate_select.h>
◆ SubState
Enumerator |
---|
IDLE | |
SELECTING | |
MOVING | |
PASTING | |
MOVING_POLYGON_VERTEX | |
MOVING_ZONE_VERTEX | |
◆ PackageEditorState_Select() [1/3]
◆ PackageEditorState_Select() [2/3]
◆ PackageEditorState_Select() [3/3]
◆ ~PackageEditorState_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 |
◆ processFlip()
bool processFlip |
( |
Qt::Orientation |
orientation | ) |
|
|
overridevirtualnoexcept |
◆ processMoveAlign()
bool processMoveAlign |
( |
| ) |
|
|
overridevirtualnoexcept |
◆ processSnapToGrid()
bool processSnapToGrid |
( |
| ) |
|
|
overridevirtualnoexcept |
◆ processRemove()
◆ processEditProperties()
bool processEditProperties |
( |
| ) |
|
|
overridevirtualnoexcept |
◆ processGenerateOutline()
bool processGenerateOutline |
( |
| ) |
|
|
overridevirtualnoexcept |
◆ processGenerateCourtyard()
bool processGenerateCourtyard |
( |
| ) |
|
|
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 |
◆ canPasteGeometry()
◆ pasteGeometryFromClipboard()
◆ startPaste()
◆ rotateSelectedItems()
bool rotateSelectedItems |
( |
const Angle & |
angle | ) |
|
|
privatenoexcept |
◆ mirrorSelectedItems()
bool mirrorSelectedItems |
( |
Qt::Orientation |
orientation, |
|
|
bool |
flipLayers |
|
) |
| |
|
privatenoexcept |
◆ moveAlignSelectedItems()
bool moveAlignSelectedItems |
( |
| ) |
|
|
privatenoexcept |
◆ snapSelectedItemsToGrid()
bool snapSelectedItemsToGrid |
( |
| ) |
|
|
privatenoexcept |
◆ removeSelectedItems()
bool removeSelectedItems |
( |
| ) |
|
|
privatenoexcept |
◆ generateOutline()
◆ generateCourtyard()
bool generateCourtyard |
( |
| ) |
|
|
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 |
◆ removeZoneVertices()
void removeZoneVertices |
( |
std::shared_ptr< Zone > |
zone, |
|
|
const QVector< int > |
vertices |
|
) |
| |
|
privatenoexcept |
◆ startAddingZoneVertex()
void startAddingZoneVertex |
( |
std::shared_ptr< Zone > |
zone, |
|
|
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 |
◆ findZoneVerticesAtPosition()
bool findZoneVerticesAtPosition |
( |
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)
◆ mSelectedZone
std::shared_ptr<Zone> mSelectedZone |
|
private |
The current zone selected for editing (nullptr if none)
◆ mSelectedZoneVertices
QVector<int> mSelectedZoneVertices |
|
private |
The zone vertex indices selected for editing (empty if none)
◆ mCmdZoneEdit
The zone edit command (nullptr if not editing)
The documentation for this class was generated from the following files: