Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qstandardgestures.cpp File Reference
#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 QList< T >::at(), qMin(), and QList< T >::size().

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().