17#ifndef GAZEBO_GUI_BUILDING_ROTATEHANDLE_HH_
18#define GAZEBO_GUI_BUILDING_ROTATEHANDLE_HH_
30 class RotateHandlePrivate;
105 private:
void paint(QPainter *_painter,
106 const QStyleOptionGraphicsItem *_option, QWidget *_widget);
110 private: std::unique_ptr<RotateHandlePrivate> dataPtr;
gui
Definition KeyEventHandler.hh:29
Handle for rotating an editor item.
Definition RotateHandle.hh:38
RotateHandle(QGraphicsItem *_parent=0)
Constructor param[in] _parent Parent graphics item.
virtual QRectF boundingRect() const
Get the bounding box of the rotate handle.
int MouseState() const
Get the current mouse state.
void SetMouseState(const int _state)
Set the current mouse state.
void SetMouseDownY(const double _y)
Set the Y position of the mouse press.
void hoverEnterEvent(QGraphicsSceneHoverEvent *_event)
Qt mouse hover enter event.
double MouseDownY() const
Get the Y position of the mouse press.
~RotateHandle()
Destructor.
void hoverLeaveEvent(QGraphicsSceneHoverEvent *_event)
Qt mouse hover leave event.
void mouseMoveEvent(QGraphicsSceneMouseEvent *_event)
Qt mouse move event.
void mouseReleaseEvent(QGraphicsSceneMouseEvent *_event)
Qt mouse release event.
void mousePressEvent(QGraphicsSceneMouseEvent *_event)
Qt mouse press event.
void SetMouseDownX(const double _x)
Set the X position of the mouse press.
double MouseDownX() const
Get the X position of the mouse press.
Forward declarations for the common classes.
Definition Animation.hh:27