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

Provides behavior for flicking and other scroll behavior common to the NDEVR API. More...

#include <TouchScrollManager.h>

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

Static Public Member Functions

static void Run (QWidget *widget)
 

Protected Slots

void onQScrollerStateChangedSlot (QScroller::State newState)
 

Protected Member Functions

void setTouchScroll (bool setup_for_touch)
 
void setup ()
 
 TouchScrollManager (QWidget *widget)
 

Protected Attributes

bool m_actual_auto_scroll = false
 
Qt::FocusPolicy m_actual_focus_policy = Qt::NoFocus
 
QAbstractItemView::SelectionMode m_actual_selection_mode = QAbstractItemView::NoSelection
 
QTimer * m_scroll_timer
 
QWidget * m_target
 
QWidget * m_widget
 

Detailed Description

Provides behavior for flicking and other scroll behavior common to the NDEVR API.


Constructor & Destructor Documentation

◆ TouchScrollManager()

TouchScrollManager ( QWidget * widget)
protected

Member Function Documentation

◆ onQScrollerStateChangedSlot

void onQScrollerStateChangedSlot ( QScroller::State newState)
protectedslot

◆ Run()

static void Run ( QWidget * widget)
static

◆ setTouchScroll()

void setTouchScroll ( bool setup_for_touch)
protected

◆ setup()

void setup ( )
protected

Member Data Documentation

◆ m_actual_auto_scroll

bool m_actual_auto_scroll = false
protected

◆ m_actual_focus_policy

Qt::FocusPolicy m_actual_focus_policy = Qt::NoFocus
protected

◆ m_actual_selection_mode

QAbstractItemView::SelectionMode m_actual_selection_mode = QAbstractItemView::NoSelection
protected

◆ m_scroll_timer

QTimer* m_scroll_timer
protected

◆ m_target

QWidget* m_target
protected

◆ m_widget

QWidget* m_widget
protected

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