Handle for rotating an editor item.
More...
#include <RotateHandle.hh>
Inherits QGraphicsItem.
Handle for rotating an editor item.
◆ RotateHandle()
Constructor param[in] _parent Parent graphics item.
◆ ~RotateHandle()
◆ boundingRect()
virtual QRectF boundingRect |
( |
| ) |
const |
|
virtual |
Get the bounding box of the rotate handle.
- Returns
- The grabber handle bounding box.
◆ hoverEnterEvent()
void hoverEnterEvent |
( |
QGraphicsSceneHoverEvent * |
_event | ) |
|
|
protected |
Qt mouse hover enter event.
- Parameters
-
[in] | _event | Qt mouse hover event |
◆ hoverLeaveEvent()
void hoverLeaveEvent |
( |
QGraphicsSceneHoverEvent * |
_event | ) |
|
|
protected |
Qt mouse hover leave event.
- Parameters
-
[in] | _event | Qt mouse hover event |
◆ MouseDownX()
double MouseDownX |
( |
| ) |
const |
◆ MouseDownY()
double MouseDownY |
( |
| ) |
const |
◆ mouseMoveEvent()
void mouseMoveEvent |
( |
QGraphicsSceneMouseEvent * |
_event | ) |
|
|
protected |
Qt mouse move event.
- Parameters
-
◆ mousePressEvent()
void mousePressEvent |
( |
QGraphicsSceneMouseEvent * |
_event | ) |
|
|
protected |
Qt mouse press event.
- Parameters
-
◆ mouseReleaseEvent()
void mouseReleaseEvent |
( |
QGraphicsSceneMouseEvent * |
_event | ) |
|
|
protected |
Qt mouse release event.
- Parameters
-
◆ MouseState()
◆ SetMouseDownX()
void SetMouseDownX |
( |
const double |
_x | ) |
|
Set the X position of the mouse press.
- Parameters
-
[in] | _x | Mouse press X position in pixel coordinates. |
- See also
- double MouseDownX() const
◆ SetMouseDownY()
void SetMouseDownY |
( |
const double |
_y | ) |
|
Set the Y position of the mouse press.
- Parameters
-
[in] | _y | Mouse press Y position in pixel coordinates. |
- See also
- double MouseDownY() const
◆ SetMouseState()
void SetMouseState |
( |
const int |
_state | ) |
|
The documentation for this class was generated from the following file: