9#pragma qt_no_master_include
12#include <QtTest/qttestglobal.h>
13#include <QtTest/qtestassert.h>
14#include <QtTest/qtestsystem.h>
15#include <QtTest/qtestspontaneevent.h>
16#include <QtCore/qpoint.h>
17#include <QtCore/qstring.h>
18#include <QtCore/qpointer.h>
19#include <QtGui/qevent.h>
20#include <QtGui/qwindow.h>
22#include <QtCore/QDebug>
52 qWarning(
"Mouse event at %d, %d occurs outside target window (%dx%d).",
53 static_cast<int>(
pos.x()),
static_cast<int>(
pos.y()), windowSize.
width(), windowSize.
height());
62 if (angleDelta.
isNull() && pixelDelta.isNull())
63 qWarning(
"No angle or pixel delta specified.");
66 qApp->processEvents();
\inmodule QtCore\reentrant
\inmodule QtCore\reentrant
constexpr bool isNull() const noexcept
Returns true if both the x and y coordinates are set to 0, otherwise returns false.
constexpr int height() const noexcept
Returns the height.
constexpr int width() const noexcept
Returns the width.
Combined button and popup list for selecting options.
static void wheelEvent(QWindow *window, QPointF pos, QPoint angleDelta, QPoint pixelDelta=QPoint(0, 0), Qt::KeyboardModifiers stateKey=Qt::NoModifier, Qt::ScrollPhase phase=Qt::NoScrollPhase)
GLfloat GLfloat GLfloat w
[0]
#define QTEST_ASSERT(cond)
QT_BEGIN_NAMESPACE Q_GUI_EXPORT void qt_handleWheelEvent(QWindow *window, const QPointF &local, const QPointF &global, QPoint pixelDelta, QPoint angleDelta, Qt::KeyboardModifiers mods, Qt::ScrollPhase phase)
Q_GUI_EXPORT void qt_handleWheelEvent(QWindow *window, const QPointF &local, const QPointF &global, QPoint pixelDelta, QPoint angleDelta, Qt::KeyboardModifiers mods, Qt::ScrollPhase phase)