40 struct ::wl_surface *surface,
53 qCDebug(lcQpaWaylandInput) <<
"zwp_pointer_gesture_swipe_v1_begin @ "
54 <<
pointer->mSurfacePos <<
"fingers" << fingers;
65 wl_fixed_t dx, wl_fixed_t dy)
73 const QPointF delta =
QPointF(wl_fixed_to_double(dx), wl_fixed_to_double(dy));
74 qCDebug(lcQpaWaylandInput) <<
"zwp_pointer_gesture_swipe_v1_update @ "
75 <<
pointer->mSurfacePos <<
"delta" << delta;
94 qCDebug(lcQpaWaylandInput) <<
"zwp_pointer_gesture_swipe_v1_end @ "
121 struct ::wl_surface *surface,
124#ifndef QT_NO_GESTURES
134 qCDebug(lcQpaWaylandInput) <<
"zwp_pointer_gesture_pinch_v1_begin @ "
135 <<
pointer->mSurfacePos <<
"fingers" << fingers;
146 wl_fixed_t dx, wl_fixed_t dy,
150#ifndef QT_NO_GESTURES
156 const qreal rscale = wl_fixed_to_double(
scale);
157 const qreal rot = wl_fixed_to_double(rotation);
158 const QPointF delta =
QPointF(wl_fixed_to_double(dx), wl_fixed_to_double(dy));
159 qCDebug(lcQpaWaylandInput) <<
"zwp_pointer_gesture_pinch_v1_update @ "
160 <<
pointer->mSurfacePos <<
"delta" << delta
162 <<
"delta" << rscale -
mLastScale <<
"rot" << rot;
177#ifndef QT_NO_GESTURES
184 qCDebug(lcQpaWaylandInput) <<
"zwp_pointer_gesture_swipe_v1_end @ "
IOBluetoothDevice * device
\inmodule QtCore\reentrant
void zwp_pointer_gesture_pinch_v1_update(uint32_t time, wl_fixed_t dx, wl_fixed_t dy, wl_fixed_t scale, wl_fixed_t rotation) override
void zwp_pointer_gesture_pinch_v1_begin(uint32_t serial, uint32_t time, struct ::wl_surface *surface, uint32_t fingers) override
QWaylandPointerGesturePinch(QWaylandInputDevice *p)
QPointer< QWaylandWindow > mFocus
QWaylandInputDevice * mParent
~QWaylandPointerGesturePinch() override
void zwp_pointer_gesture_pinch_v1_end(uint32_t serial, uint32_t time, int32_t cancelled) override
QPointer< QWaylandWindow > mFocus
QWaylandInputDevice * mParent
void zwp_pointer_gesture_swipe_v1_begin(uint32_t serial, uint32_t time, struct ::wl_surface *surface, uint32_t fingers) override
~QWaylandPointerGestureSwipe() override
QWaylandPointerGestureSwipe(QWaylandInputDevice *p)
void zwp_pointer_gesture_swipe_v1_end(uint32_t serial, uint32_t time, int32_t cancelled) override
void zwp_pointer_gesture_swipe_v1_update(uint32_t time, wl_fixed_t dx, wl_fixed_t dy) override
QWaylandPointerGesturePinch * createPointerGesturePinch(QWaylandInputDevice *device)
QWaylandPointerGestureSwipe * createPointerGestureSwipe(QWaylandInputDevice *device)
QWaylandPointerGestures(QWaylandDisplay *display, uint id, uint version)
static QWaylandWindow * fromWlSurface(::wl_surface *surface)
struct wl_display * display
Combined button and popup list for selecting options.
#define qCDebug(category,...)
constexpr const T & qMin(const T &a, const T &b)
GLsizei const void * pointer
GLenum GLenum GLenum GLenum GLenum scale