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

Detailed Description

Definition at line 15 of file QskShortcutMap.h.

Static Public Member Functions

static void setAutoRepeat (int, bool on)
 
static void setEnabled (int, bool on)
 
static void setEnabled (const QKeySequence &, bool on)
 
static void removeShortcut (int)
 
static int addShortcut (const QKeySequence &, bool autoRepeat, const QObject *receiver, const char *method)
 
static int addShortcut (QQuickWindow *, const QKeySequence &, bool autoRepeat, const QObject *receiver, const char *method)
 
static int addShortcut (QQuickItem *, const QKeySequence &, bool autoRepeat, const QObject *receiver, const char *method)
 
template<typename T , QskMetaFunctionTraits::IsFunctorOrStaticFunction< T > * = nullptr>
static int addShortcut (const QKeySequence &, bool autoRepeat, T function)
 
template<typename T , QskMetaFunctionTraits::IsFunctorOrStaticFunction< T > * = nullptr>
static int addShortcut (QQuickItem *, const QKeySequence &, bool autoRepeat, T function)
 
template<typename T , QskMetaFunctionTraits::IsFunctorOrStaticFunction< T > * = nullptr>
static int addShortcut (QQuickWindow *, const QKeySequence &, bool autoRepeat, T function)
 
template<typename T , QskMetaFunctionTraits::IsFunctorOrStaticFunction< T > * = nullptr>
static int addShortcut (const QKeySequence &, bool autoRepeat, const QObject *context, T function)
 
template<typename T , QskMetaFunctionTraits::IsFunctorOrStaticFunction< T > * = nullptr>
static int addShortcut (QQuickItem *, const QKeySequence &, bool autoRepeat, const QObject *context, T function)
 
template<typename T , QskMetaFunctionTraits::IsFunctorOrStaticFunction< T > * = nullptr>
static int addShortcut (QQuickWindow *, const QKeySequence &, bool autoRepeat, const QObject *context, T function)
 
template<typename T , QskMetaFunctionTraits::IsMemberFunction< T > * = nullptr>
static int addShortcut (const QKeySequence &, bool autoRepeat, const typename QtPrivate::FunctionPointer< T >::Object *receiver, T function)
 
template<typename T , QskMetaFunctionTraits::IsMemberFunction< T > * = nullptr>
static int addShortcut (QQuickItem *, const QKeySequence &, bool autoRepeat, const typename QtPrivate::FunctionPointer< T >::Object *receiver, T function)
 
template<typename T , QskMetaFunctionTraits::IsMemberFunction< T > * = nullptr>
static int addShortcut (QQuickWindow *, const QKeySequence &, bool autoRepeat, const typename QtPrivate::FunctionPointer< T >::Object *receiver, T function)
 
static bool invokeCallback (const QKeySequence &)
 
static bool invokeCallback (QQuickWindow *, const QKeySequence &)
 
static bool invokeCallback (QQuickItem *, const QKeySequence &)
 
static bool contextMatcher (const QQuickItem *, Qt::ShortcutContext)
 

Member Function Documentation

◆ addShortcut() [1/11]

template<typename T , QskMetaFunctionTraits::IsFunctorOrStaticFunction< T > * >
int QskShortcutMap::addShortcut ( const QKeySequence &  sequence,
bool  autoRepeat,
const QObject *  context,
function 
)
inlinestatic

Definition at line 133 of file QskShortcutMap.h.

◆ addShortcut() [2/11]

int QskShortcutMap::addShortcut ( const QKeySequence &  sequence,
bool  autoRepeat,
const QObject *  receiver,
const char *  method 
)
inlinestatic

Definition at line 93 of file QskShortcutMap.h.

◆ addShortcut() [3/11]

template<typename T , QskMetaFunctionTraits::IsMemberFunction< T > * >
int QskShortcutMap::addShortcut ( const QKeySequence &  sequence,
bool  autoRepeat,
const typename QtPrivate::FunctionPointer< T >::Object *  receiver,
function 
)
inlinestatic

Definition at line 158 of file QskShortcutMap.h.

◆ addShortcut() [4/11]

template<typename T , QskMetaFunctionTraits::IsFunctorOrStaticFunction< T > * >
int QskShortcutMap::addShortcut ( const QKeySequence &  sequence,
bool  autoRepeat,
function 
)
inlinestatic

Definition at line 109 of file QskShortcutMap.h.

◆ addShortcut() [5/11]

template<typename T , QskMetaFunctionTraits::IsFunctorOrStaticFunction< T > * >
int QskShortcutMap::addShortcut ( QQuickItem *  item,
const QKeySequence &  sequence,
bool  autoRepeat,
const QObject *  context,
function 
)
inlinestatic

Definition at line 141 of file QskShortcutMap.h.

◆ addShortcut() [6/11]

template<typename T , QskMetaFunctionTraits::IsMemberFunction< T > * >
int QskShortcutMap::addShortcut ( QQuickItem *  item,
const QKeySequence &  sequence,
bool  autoRepeat,
const typename QtPrivate::FunctionPointer< T >::Object *  receiver,
function 
)
inlinestatic

Definition at line 166 of file QskShortcutMap.h.

◆ addShortcut() [7/11]

template<typename T , QskMetaFunctionTraits::IsFunctorOrStaticFunction< T > * >
int QskShortcutMap::addShortcut ( QQuickItem *  item,
const QKeySequence &  sequence,
bool  autoRepeat,
function 
)
inlinestatic

Definition at line 116 of file QskShortcutMap.h.

◆ addShortcut() [8/11]

template<typename T , QskMetaFunctionTraits::IsFunctorOrStaticFunction< T > * >
int QskShortcutMap::addShortcut ( QQuickWindow *  window,
const QKeySequence &  sequence,
bool  autoRepeat,
const QObject *  context,
function 
)
inlinestatic

Definition at line 149 of file QskShortcutMap.h.

◆ addShortcut() [9/11]

int QskShortcutMap::addShortcut ( QQuickWindow *  window,
const QKeySequence &  sequence,
bool  autoRepeat,
const QObject *  receiver,
const char *  method 
)
inlinestatic

Definition at line 100 of file QskShortcutMap.h.

◆ addShortcut() [10/11]

template<typename T , QskMetaFunctionTraits::IsMemberFunction< T > * >
int QskShortcutMap::addShortcut ( QQuickWindow *  window,
const QKeySequence &  sequence,
bool  autoRepeat,
const typename QtPrivate::FunctionPointer< T >::Object *  receiver,
function 
)
inlinestatic

Definition at line 174 of file QskShortcutMap.h.

◆ addShortcut() [11/11]

template<typename T , QskMetaFunctionTraits::IsFunctorOrStaticFunction< T > * >
int QskShortcutMap::addShortcut ( QQuickWindow *  window,
const QKeySequence &  sequence,
bool  autoRepeat,
function 
)
inlinestatic

Definition at line 124 of file QskShortcutMap.h.

◆ contextMatcher()

bool QskShortcutMap::contextMatcher ( const QQuickItem *  item,
Qt::ShortcutContext  context 
)
static

Definition at line 357 of file QskShortcutMap.cpp.

◆ invokeCallback() [1/3]

bool QskShortcutMap::invokeCallback ( const QKeySequence &  sequence)
static

Definition at line 320 of file QskShortcutMap.cpp.

◆ invokeCallback() [2/3]

bool QskShortcutMap::invokeCallback ( QQuickItem *  item,
const QKeySequence &  sequence 
)
static

Definition at line 332 of file QskShortcutMap.cpp.

◆ invokeCallback() [3/3]

bool QskShortcutMap::invokeCallback ( QQuickWindow *  window,
const QKeySequence &  sequence 
)
static

Definition at line 326 of file QskShortcutMap.cpp.

◆ removeShortcut()

void QskShortcutMap::removeShortcut ( int  id)
static

Definition at line 352 of file QskShortcutMap.cpp.

◆ setAutoRepeat()

void QskShortcutMap::setAutoRepeat ( int  id,
bool  on 
)
static

Definition at line 337 of file QskShortcutMap.cpp.

◆ setEnabled() [1/2]

void QskShortcutMap::setEnabled ( const QKeySequence &  sequence,
bool  on 
)
static

Definition at line 342 of file QskShortcutMap.cpp.

◆ setEnabled() [2/2]

void QskShortcutMap::setEnabled ( int  id,
bool  on 
)
static

Definition at line 347 of file QskShortcutMap.cpp.