6#include <QtCore/QEvent> 
    7#include <QtGui/QGuiApplication> 
    8#include <QtGui/QScreen> 
    9#include <QtGui/private/qguiapplication_p.h> 
   10#include <QtGui/private/qinputdevicemanager_p.h> 
   11#include <qpa/qwindowsysteminterface.h> 
   12#include <private/qhighdpiscaling_p.h> 
   23    const uint32_t 
b = libinput_event_pointer_get_button(
e);
 
   24    const bool pressed = libinput_event_pointer_get_button_state(
e) == LIBINPUT_BUTTON_STATE_PRESSED;
 
   46    m_buttons.setFlag(
button, pressed);
 
   56    const double dx = libinput_event_pointer_get_dx(
e);
 
   57    const double dy = libinput_event_pointer_get_dy(
e);
 
   75    const double x = libinput_event_pointer_get_absolute_x_transformed(
e, 
g.width());
 
   76    const double y = libinput_event_pointer_get_absolute_y_transformed(
e, 
g.height());
 
   92#if !QT_CONFIG(libinput_axis_api) 
   93    value = libinput_event_pointer_get_axis_value(
e);
 
   94    if (libinput_event_pointer_get_axis(
e) == LIBINPUT_POINTER_AXIS_SCROLL_VERTICAL)
 
   99    if (libinput_event_pointer_has_axis(
e, LIBINPUT_POINTER_AXIS_SCROLL_VERTICAL)) {
 
  100#if QT_CONFIG(libinput_hires_wheel_support) 
  101        value = libinput_event_pointer_get_scroll_value_v120(
e, LIBINPUT_POINTER_AXIS_SCROLL_VERTICAL);
 
  103        value = libinput_event_pointer_get_axis_value(
e, LIBINPUT_POINTER_AXIS_SCROLL_VERTICAL);
 
  107    if (libinput_event_pointer_has_axis(
e, LIBINPUT_POINTER_AXIS_SCROLL_HORIZONTAL)) {
 
  108#if QT_CONFIG(libinput_hires_wheel_support) 
  109        value = libinput_event_pointer_get_scroll_value_v120(
e, LIBINPUT_POINTER_AXIS_SCROLL_HORIZONTAL);
 
  111        value = libinput_event_pointer_get_axis_value(
e, LIBINPUT_POINTER_AXIS_SCROLL_HORIZONTAL);
 
  116#if QT_CONFIG(libinput_hires_wheel_support) 
  117    const int factor = -1;
 
  119    const int factor = -8;
 
  121    angleDelta *= factor;
 
Type
This enum type defines the valid event types in Qt.
 
static QInputDeviceManager * inputDeviceManager()
 
QScreen * primaryScreen
the primary (or default) screen of the application.
 
\inmodule QtCore\reentrant
 
constexpr int x() const noexcept
Returns the x coordinate of this point.
 
constexpr void setY(int y) noexcept
Sets the y coordinate of this point to the given y coordinate.
 
constexpr int y() const noexcept
Returns the y coordinate of this point.
 
constexpr void setX(int x) noexcept
Sets the x coordinate of this point to the given x coordinate.
 
\inmodule QtCore\reentrant
 
The QScreen class is used to query screen properties. \inmodule QtGui.
 
QRect virtualGeometry
the pixel geometry of the virtual desktop to which this screen belongs
 
static bool handleMouseEvent(QWindow *window, const QPointF &local, const QPointF &global, Qt::MouseButtons state, Qt::MouseButton button, QEvent::Type type, Qt::KeyboardModifiers mods=Qt::NoModifier, Qt::MouseEventSource source=Qt::MouseEventNotSynthesized)
 
static bool handleWheelEvent(QWindow *window, const QPointF &local, const QPointF &global, QPoint pixelDelta, QPoint angleDelta, Qt::KeyboardModifiers mods=Qt::NoModifier, Qt::ScrollPhase phase=Qt::NoScrollPhase, Qt::MouseEventSource source=Qt::MouseEventNotSynthesized)
 
T toNativePixels(const T &value, const C *context)
 
Combined button and popup list for selecting options.
 
EGLOutputLayerEXT EGLint EGLAttrib value
[5]
 
int qRound(qfloat16 d) noexcept
 
constexpr const T & qBound(const T &min, const T &val, const T &max)
 
Qt::MouseButtons m_buttons
 
GLboolean GLboolean GLboolean b
 
GLint GLint GLint GLint GLint x
[0]