鼠标按下事件 更多...
#include <MousePressEvent.h>
Public 成员函数 | |
| MousePressEvent (const Point &pos, MouseButton button) | |
Public 成员函数 继承自 MouseKeyEvent | |
| MouseKeyEvent (const Point &pos, MouseButton button, ButtonState state) | |
| MouseButton | button () const |
| ButtonState | state () const |
Public 成员函数 继承自 MouseEvent | |
| MouseEvent (Point position) | |
| const Point & | position () const |
| 获取鼠标位置 | |
Public 成员函数 继承自 Event | |
| void | accept () const |
| 接受事件 | |
| void | reset () const |
| 重置事件状态 | |
| bool | isAccepted () const |
| 事件是否已被接受 | |
Public 成员函数 继承自 Object | |
| Object () noexcept | |
| 构造函数 | |
| virtual | ~Object () noexcept |
| 析构函数 | |
额外继承的成员函数 | |
Protected 属性 继承自 MouseEvent | |
| Point | position_ |
鼠标按下事件