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

#include <ScrollGesture.h>

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

Public Member Functions

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

Friends

class FlickableTicker
 

Constructor & Destructor Documentation

◆ ScrollGesture()

ScrollGesture ( QAbstractScrollArea * target)

◆ ~ScrollGesture()

~ScrollGesture ( )
virtual

Member Function Documentation

◆ eventFilter()

bool eventFilter ( QObject * ,
QEvent * event )
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 files: