30 #include <QMouseEvent> 38 is_mouse_down_(false),
39 max_ms_(Q_INT64_C(500)),
55 if (event->type() == QEvent::MouseButtonPress)
58 QMouseEvent* me =
static_cast<QMouseEvent*
>(event);
59 #if QT_VERSION >= 0x050000 66 else if (event->type() == QEvent::MouseButtonRelease)
70 QMouseEvent* me =
static_cast<QMouseEvent*
>(event);
72 #if QT_VERSION >= 0x050000 85 #if QT_VERSION >= 0x050000 void pointClicked(const QPointF &)
TFSIMD_FORCE_INLINE tfScalar distance(const Vector3 &v) const
void setMaxClickMovement(qreal max_distance)
void setMaxClickTime(qint64 max_ms)
bool eventFilter(QObject *object, QEvent *event)