6#include <QtCore/private/qobject_p.h>
7#include <QtGui/qguiapplication.h>
8#include <QtGui/qstylehints.h>
9#include <QtQuick/qquickitem.h>
10#include <QtQuick/private/qquickevents_p_p.h>
11#include <QtQuickTemplates2/private/qquicktextarea_p.h>
12#include <QtQuickTemplates2/private/qquicktextfield_p.h>
31 event->modifiers(),
false,
false);
34 void *
args[] = {
nullptr, &mevPtr };
54 event->modifiers(),
false,
false);
57 void *
args[] = {
nullptr, &mevPtr };
80 void *
args[] = {
nullptr, &mevPtr };
104 return textArea->isSignalConnected(signalMetaMethod);
106 return textField->isSignalConnected(signalMetaMethod);
108 qFatal(
"Unhandled control type for signal name: %s", signalName);
void start(int msec, QObject *obj)
\obsolete Use chrono overload instead.
void stop()
Stops the timer.
bool isActive() const noexcept
Returns true if the timer is running and has not been stopped; otherwise returns false.
static QStyleHints * styleHints()
Returns the application's style hints.
static Qt::KeyboardModifiers keyboardModifiers()
Returns the current state of the modifier keys on the keyboard.
constexpr qreal x() const noexcept
Returns the x coordinate of this point.
constexpr qreal y() const noexcept
Returns the y coordinate of this point.
The QQuickItem class provides the most basic of all visual items in \l {Qt Quick}.
\qmlproperty int QtQuick::KeyEvent::key
void setAccepted(bool accepted)
void reset(qreal x, qreal y, Qt::MouseButton button, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, bool isClick=false, bool wasHeld=false, Qt::MouseEventFlags flags={ })
int startDragDistance
the distance, in pixels, that the mouse must be moved with a button held down before a drag and drop ...
Combined button and popup list for selecting options.
#define QT_WARNING_DISABLE_DEPRECATED
constexpr T qAbs(const T &t)
void mousePressEvent(QMouseEvent *event)
int pressAndHoldSignalIndex
void timerEvent(QTimerEvent *event)
void clearDelayedMouseEvent()
void mouseMoveEvent(QMouseEvent *event)
void mouseReleaseEvent(QMouseEvent *event)
std::unique_ptr< QMouseEvent > delayedMousePressEvent
static bool isSignalConnected(QQuickItem *item, const char *signalName, int &signalIndex)