Handle for rotating an editor item.
More...
#include <RotateHandle.hh>
Handle for rotating an editor item.
gazebo::gui::RotateHandle::RotateHandle |
( |
QGraphicsItem * |
_parent = 0 | ) |
|
Constructor param[in] _parent Parent graphics item.
gazebo::gui::RotateHandle::~RotateHandle |
( |
| ) |
|
virtual QRectF gazebo::gui::RotateHandle::boundingRect |
( |
| ) |
const |
|
virtual |
Get the bounding box of the rotate handle.
- Returns
- The grabber handle bounding box.
void gazebo::gui::RotateHandle::hoverEnterEvent |
( |
QGraphicsSceneHoverEvent * |
_event | ) |
|
|
protected |
Qt mouse hover enter event.
- Parameters
-
[in] | _event | Qt mouse hover event |
void gazebo::gui::RotateHandle::hoverLeaveEvent |
( |
QGraphicsSceneHoverEvent * |
_event | ) |
|
|
protected |
Qt mouse hover leave event.
- Parameters
-
[in] | _event | Qt mouse hover event |
double gazebo::gui::RotateHandle::MouseDownX |
( |
| ) |
const |
double gazebo::gui::RotateHandle::MouseDownY |
( |
| ) |
const |
void gazebo::gui::RotateHandle::mouseMoveEvent |
( |
QGraphicsSceneMouseEvent * |
_event | ) |
|
|
protected |
Qt mouse move event.
- Parameters
-
void gazebo::gui::RotateHandle::mousePressEvent |
( |
QGraphicsSceneMouseEvent * |
_event | ) |
|
|
protected |
Qt mouse press event.
- Parameters
-
void gazebo::gui::RotateHandle::mouseReleaseEvent |
( |
QGraphicsSceneMouseEvent * |
_event | ) |
|
|
protected |
Qt mouse release event.
- Parameters
-
int gazebo::gui::RotateHandle::MouseState |
( |
| ) |
const |
void gazebo::gui::RotateHandle::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
void gazebo::gui::RotateHandle::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
void gazebo::gui::RotateHandle::SetMouseState |
( |
const int |
_state | ) |
|
The documentation for this class was generated from the following file: