Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qflickgesture.cpp File Reference

(fb09c82a2c7c44d41a0a36d8fe6d6d22e792668a)

#include "qgesture.h"
#include "qapplication.h"
#include "qevent.h"
#include "qwidget.h"
#include "qscroller.h"
#include <QtGui/qpointingdevice.h>
#include "private/qapplication_p.h"
#include "private/qevent_p.h"
#include "private/qflickgesture_p.h"
#include "qdebug.h"
#include "moc_qflickgesture_p.cpp"
+ Include dependency graph for qflickgesture.cpp:

Go to the source code of this file.

Classes

class  PressDelayHandler
 

Macros

#define qFGDebug   while (false) qDebug
 

Functions

bool qt_sendSpontaneousEvent (QObject *receiver, QEvent *event)
 
static QMouseEventcopyMouseEvent (QEvent *e)
 

Macro Definition Documentation

◆ qFGDebug

Function Documentation

◆ copyMouseEvent()

static QMouseEvent * copyMouseEvent ( QEvent * e)
static

Definition at line 35 of file qflickgesture.cpp.

References QGraphicsSceneMouseEvent::button(), QGraphicsSceneMouseEvent::buttons(), QEvent::clone(), QEvent::GraphicsSceneMouseMove, QEvent::GraphicsSceneMousePress, QEvent::GraphicsSceneMouseRelease, QGraphicsSceneMouseEvent::modifiers(), QEvent::MouseButtonPress, QEvent::MouseButtonRelease, QEvent::MouseMove, QGraphicsSceneMouseEvent::screenPos(), QGraphicsSceneMouseEvent::source(), QGraphicsSceneEvent::timestamp(), and QEvent::type().

Referenced by PressDelayHandler::pressed(), and PressDelayHandler::released().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ qt_sendSpontaneousEvent()

bool qt_sendSpontaneousEvent ( QObject * receiver,
QEvent * event )
related

Referenced by PressDelayHandler::sendMouseEvent().

+ Here is the caller graph for this function: