19 #ifndef OST_GUI_MOUSE_EVENT_HH
20 #define OST_GUI_MOUSE_EVENT_HH
25 #include <QMouseEvent>
27 namespace ost {
namespace gui {
35 LeftButton=Qt::LeftButton,
36 RightButton=Qt::RightButton,
37 MiddleButton=Qt::MiddleButton
42 const QPoint& to, Qt::KeyboardModifiers modifiers);
56 Qt::KeyboardModifiers modifiers_;
bool IsControlPressed() const
QPoint GetDelta() const
direction of mouse movement
bool IsMetaPressed() const
QPoint GetLastPos() const
bool IsShiftPressed() const
MouseEvent(Buttons buttons, const QPoint &from, const QPoint &to, Qt::KeyboardModifiers modifiers)
Buttons GetButtons() const
#define DLLEXPORT_OST_GUI