QtBase  v6.3.1
Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
Gesture Class Referenceabstract
Inheritance diagram for Gesture:
Inheritance graph
[legend]

Public Member Functions

virtual ~Gesture ()
 
virtual void draw (const QRectF &rect, QPainter &painter) const =0
 

Static Public Member Functions

static GesturefromQGesture (const QWidget *w, const QGesture *source)
 

Protected Member Functions

 Gesture (const QWidget *w, const QGesture *source)
 
QPointF drawHotSpot (const QRectF &rect, QPainter &painter) const
 

Detailed Description

Definition at line 103 of file main.cpp.

Constructor & Destructor Documentation

◆ ~Gesture()

virtual Gesture::~Gesture ( )
inlinevirtual

Definition at line 107 of file main.cpp.

◆ Gesture()

Gesture::Gesture ( const QWidget w,
const QGesture source 
)
inlineexplicitprotected

Definition at line 112 of file main.cpp.

Member Function Documentation

◆ draw()

virtual void Gesture::draw ( const QRectF rect,
QPainter painter 
) const
pure virtual

Implemented in SwipeGesture, and PanGesture.

◆ drawHotSpot()

QPointF Gesture::drawHotSpot ( const QRectF rect,
QPainter painter 
) const
inlineprotected

Definition at line 116 of file main.cpp.

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

◆ fromQGesture()

Gesture * Gesture::fromQGesture ( const QWidget w,
const QGesture source 
)
static

Definition at line 183 of file main.cpp.


The documentation for this class was generated from the following file: