QskGesture

Inherited by QskPanGesture, QskSwipeGesture, QskTapAndHoldGesture, QskTapGesture

Public Types

  Name
enum Type { NoType = -1, Tap, TapAndHold, Pan, Swipe, CustomType = 16}
enum State { NoGesture, Started, Updated, Finished, Canceled}

Public Functions

  Name
virtual ~QskGesture()
Type type() const
void setState(State state)
State state() const

Protected Functions

  Name
  QskGesture(Type type)

Protected Attributes

  Name
const Type m_type
State m_state

Public Types Documentation

enum Type

Enumerator Value Description
NoType -1  
Tap    
TapAndHold    
Pan    
Swipe    
CustomType 16  

enum State

Enumerator Value Description
NoGesture    
Started    
Updated    
Finished    
Canceled    

Public Functions Documentation

function ~QskGesture

virtual ~QskGesture()

function type

inline Type type() const

function setState

void setState(
    State state
)

function state

inline State state() const

Protected Functions Documentation

function QskGesture

QskGesture(
    Type type
)

Protected Attributes Documentation

variable m_type

const Type m_type;

variable m_state

State m_state;

Updated on 28 July 2023 at 14:02:29 CEST