API Documentation
Loading...
Searching...
No Matches
ScrollGesture Class Reference

Handles scrolling or flicking within the application. More...

#include <ScrollGesture.h>

Inheritance diagram for ScrollGesture:
[legend]
Collaboration diagram for ScrollGesture:
[legend]

Public Member Functions

bool eventFilter (QObject *, QEvent *) override
 
bool handleMouseMove (QEvent *event, QPoint location)
 
bool handleMousePress (QEvent *event, QPoint location)
 
bool handleMouseRelease (QEvent *event, QPoint location)
 
 ScrollGesture (QAbstractScrollArea *target)
 
void setAcceptMouseClick (QWidget *target)
 
void setScrollOffset (QPoint point)
 
void setThreshold (int threshold)
 
int threshold () const
 
virtual ~ScrollGesture ()
 

Friends

class FlickableTicker
 

Detailed Description

Handles scrolling or flicking within the application.


Constructor & Destructor Documentation

◆ ScrollGesture()

ScrollGesture ( QAbstractScrollArea * target)

◆ ~ScrollGesture()

virtual ~ScrollGesture ( )
virtual

Member Function Documentation

◆ eventFilter()

bool eventFilter ( QObject * ,
QEvent *  )
override

◆ handleMouseMove()

bool handleMouseMove ( QEvent * event,
QPoint location )

◆ handleMousePress()

bool handleMousePress ( QEvent * event,
QPoint location )

◆ handleMouseRelease()

bool handleMouseRelease ( QEvent * event,
QPoint location )

◆ setAcceptMouseClick()

void setAcceptMouseClick ( QWidget * target)

◆ setScrollOffset()

void setScrollOffset ( QPoint point)

◆ setThreshold()

void setThreshold ( int threshold)

◆ threshold()

int threshold ( ) const

Friends And Related Symbol Documentation

◆ FlickableTicker

friend class FlickableTicker
friend

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