digiKam
ShowFoto::ShowfotoKineticScroller Class Reference
+ Inheritance diagram for ShowFoto::ShowfotoKineticScroller:

Public Member Functions

void enableKineticScrollFor (QAbstractScrollArea *const scrollArea)
 
void setScrollFlow (QListView::Flow flow)
 
 ShowfotoKineticScroller (QObject *const parent=nullptr)
 
 ~ShowfotoKineticScroller () override
 

Protected Member Functions

bool eventFilter (QObject *object, QEvent *event) override
 intercepts mouse events to make the scrolling work More...
 

Detailed Description

Vertical kinetic scroller implementation without overshoot and bouncing. A temporary solution to get kinetic-like scrolling on Symbian.

Constructor & Destructor Documentation

◆ ShowfotoKineticScroller()

ShowFoto::ShowfotoKineticScroller::ShowfotoKineticScroller ( QObject *const  parent = nullptr)
explicit

◆ ~ShowfotoKineticScroller()

ShowFoto::ShowfotoKineticScroller::~ShowfotoKineticScroller ( )
override

Member Function Documentation

◆ enableKineticScrollFor()

void ShowFoto::ShowfotoKineticScroller::enableKineticScrollFor ( QAbstractScrollArea *const  scrollArea)

NOTE: enabled for one widget only, new calls remove previous association

◆ eventFilter()

bool ShowFoto::ShowfotoKineticScroller::eventFilter ( QObject *  object,
QEvent *  event 
)
overrideprotected

intercepts mouse events to make the scrolling work

◆ setScrollFlow()

void ShowFoto::ShowfotoKineticScroller::setScrollFlow ( QListView::Flow  flow)

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