QSkinny 0.8.0
C++/Qt UI toolkit
Loading...
Searching...
No Matches
QskGesture Class Reference

Detailed Description

Definition at line 14 of file QskGesture.h.

Inheritance diagram for QskGesture:

Public Types

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

Public Member Functions

Type type () const
 
void setState (State)
 
State state () const
 

Protected Member Functions

 QskGesture (Type type)
 

Protected Attributes

const Type m_type
 
State m_state
 

Member Enumeration Documentation

◆ State

enum QskGesture::State

Definition at line 36 of file QskGesture.h.

◆ Type

enum QskGesture::Type

Definition at line 19 of file QskGesture.h.

Constructor & Destructor Documentation

◆ ~QskGesture()

QskGesture::~QskGesture ( )
virtual

Definition at line 14 of file QskGesture.cpp.

◆ QskGesture()

QskGesture::QskGesture ( Type  type)
protected

Definition at line 8 of file QskGesture.cpp.

Member Function Documentation

◆ setState()

void QskGesture::setState ( State  state)

Definition at line 18 of file QskGesture.cpp.

◆ state()

State QskGesture::state ( ) const
inline

Definition at line 52 of file QskGesture.h.

◆ type()

Type QskGesture::type ( ) const
inline

Definition at line 49 of file QskGesture.h.

Member Data Documentation

◆ m_state

State QskGesture::m_state
protected

Definition at line 60 of file QskGesture.h.

◆ m_type

const Type QskGesture::m_type
protected

Definition at line 59 of file QskGesture.h.