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

#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

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

Protected Attributes

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

Constructor & Destructor Documentation

◆ TouchScrollManager()

TouchScrollManager ( QWidget * widget)
protected

Member Function Documentation

◆ onQScrollerStateChangedSlot

void onQScrollerStateChangedSlot ( QScroller::State newState)
protectedslot

◆ Run()

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 files: