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
qstandardgestures.cpp File Reference

(05fc3aef53348fb58be6308076e000825b704e58)

#include "qstandardgestures_p.h"
#include "qgesture.h"
#include "qgesture_p.h"
#include "qevent.h"
#include "qwidget.h"
#include "qabstractscrollarea.h"
#include "qdebug.h"
+ Include dependency graph for qstandardgestures.cpp:

Go to the source code of this file.

Functions

static QPointF panOffset (const QList< QEventPoint > &touchPoints, int maxCount)
 

Variables

static QT_BEGIN_NAMESPACE const qreal kSingleStepScaleMax = 2.0
 
static const qreal kSingleStepScaleMin = 0.1
 

Function Documentation

◆ panOffset()

static QPointF panOffset ( const QList< QEventPoint > & touchPoints,
int maxCount )
static

Definition at line 38 of file qstandardgestures.cpp.

References qMin().

Referenced by QPanGestureRecognizer::recognize().

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

Variable Documentation

◆ kSingleStepScaleMax

QT_BEGIN_NAMESPACE const qreal kSingleStepScaleMax = 2.0
static

Definition at line 21 of file qstandardgestures.cpp.

Referenced by QPinchGestureRecognizer::recognize().

◆ kSingleStepScaleMin

const qreal kSingleStepScaleMin = 0.1
static

Definition at line 22 of file qstandardgestures.cpp.

Referenced by QPinchGestureRecognizer::recognize().