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);
45 QPoint GetDelta()
const;
46 QPoint GetLastPos()
const;
47 QPoint GetPos()
const;
49 bool IsShiftPressed()
const;
50 bool IsMetaPressed()
const;
51 bool IsControlPressed()
const;
56 Qt::KeyboardModifiers modifiers_;
#define DLLEXPORT_OST_GUI