7#include <QtGui/qtguiglobal.h>
8#include <QtGui/qkeysequence.h>
9#include <QtCore/qobject.h>
24 Q_PROPERTY(
bool autoRepeat READ autoRepeat WRITE setAutoRepeat)
29 const char *member =
nullptr,
const char *ambiguousMember =
nullptr,
32 const char *member =
nullptr,
const char *ambiguousMember =
nullptr,
36 template<
typename Functor>
40 template<
typename Functor>
44 template<
typename Functor,
typename FunctorAmbiguous>
47 FunctorAmbiguous functorAmbiguous,
49 template<
typename Functor,
typename FunctorAmbiguous>
52 const QObject *context2, FunctorAmbiguous functorAmbiguous,
55 template<
typename Functor>
59 template<
typename Functor>
63 template<
typename Functor,
typename FunctorAmbiguous>
66 FunctorAmbiguous functorAmbiguous,
68 template<
typename Functor,
typename FunctorAmbiguous>
71 const QObject *context2, FunctorAmbiguous functorAmbiguous,
74 template<
typename Func1>
82 template<
class Obj1,
typename Func1>
84 const Obj1 *object1, Func1 slot1,
91 template<
class Obj1,
typename Func1,
typename Func2>
93 const Obj1 *object1, Func1 slot1, Func2 slot2,
101 template<
class Obj1,
typename Func1,
class Obj2,
typename Func2>
103 const Obj1 *object1, Func1 slot1,
104 const Obj2 *object2, Func2 slot2,
114 template<
typename Func1>
122 template<
class Obj1,
typename Func1>
124 const Obj1 *object1, Func1 slot1,
131 template<
class Obj1,
typename Func1,
typename Func2>
133 const Obj1 *object1, Func1 slot1, Func2 slot2,
141 template<
class Obj1,
typename Func1,
class Obj2,
typename Func2>
143 const Obj1 *object1, Func1 slot1,
144 const Obj2 *object2, Func2 slot2,
163 void setEnabled(
bool enable);
164 bool isEnabled()
const;
169 void setAutoRepeat(
bool on);
170 bool autoRepeat()
const;
172#if QT_DEPRECATED_SINCE(6,0)
179#if QT_DEPRECATED_SINCE(6,0)
183 template<
typename T = QW
idget*>
185 inline T parentWidget()
const
The QKeySequence class encapsulates a key sequence as used by shortcuts.
QObject * parent() const
Returns a pointer to the parent object.
static QMetaObject::Connection connect(const QObject *sender, const char *signal, const QObject *receiver, const char *member, Qt::ConnectionType=Qt::AutoConnection)
\threadsafe
The QShortcut class is used to create keyboard shortcuts.
QShortcut(const QKeySequence &key, QObject *parent, const Obj1 *object1, Func1 slot1, Qt::ShortcutContext context=Qt::WindowShortcut, typename std::enable_if< QtPrivate::IsPointerToTypeDerivedFromQObject< Obj1 * >::Value >::type *=0)
QShortcut(const QKeySequence &key, QObject *parent, const Obj1 *object1, Func1 slot1, Func2 slot2, Qt::ShortcutContext context=Qt::WindowShortcut, typename std::enable_if< QtPrivate::IsPointerToTypeDerivedFromQObject< Obj1 * >::Value >::type *=0)
void activatedAmbiguously()
When a key sequence is being typed at the keyboard, it is said to be ambiguous as long as it matches ...
QShortcut(QKeySequence::StandardKey key, QObject *parent, Func1 slot1, Qt::ShortcutContext context=Qt::WindowShortcut)
QShortcut(QKeySequence::StandardKey key, QObject *parent, const Obj1 *object1, Func1 slot1, Func2 slot2, Qt::ShortcutContext context=Qt::WindowShortcut, typename std::enable_if< QtPrivate::IsPointerToTypeDerivedFromQObject< Obj1 * >::Value >::type *=0)
QShortcut(const QKeySequence &key, QObject *parent, Func1 slot1, Qt::ShortcutContext context=Qt::WindowShortcut)
QShortcut(QKeySequence::StandardKey key, QObject *parent, const Obj1 *object1, Func1 slot1, Qt::ShortcutContext context=Qt::WindowShortcut, typename std::enable_if< QtPrivate::IsPointerToTypeDerivedFromQObject< Obj1 * >::Value >::type *=0)
QShortcut(const QKeySequence &key, QObject *parent, const Obj1 *object1, Func1 slot1, const Obj2 *object2, Func2 slot2, Qt::ShortcutContext context=Qt::WindowShortcut, typename std::enable_if< QtPrivate::IsPointerToTypeDerivedFromQObject< Obj1 * >::Value >::type *=0, typename std::enable_if< QtPrivate::IsPointerToTypeDerivedFromQObject< Obj2 * >::Value >::type *=0)
void activated()
This signal is emitted when the user types the shortcut's key sequence.
QShortcut(QKeySequence::StandardKey key, QObject *parent, const Obj1 *object1, Func1 slot1, const Obj2 *object2, Func2 slot2, Qt::ShortcutContext context=Qt::WindowShortcut, typename std::enable_if< QtPrivate::IsPointerToTypeDerivedFromQObject< Obj1 * >::Value >::type *=0, typename std::enable_if< QtPrivate::IsPointerToTypeDerivedFromQObject< Obj2 * >::Value >::type *=0)
\macro QT_RESTRICTED_CAST_FROM_ASCII
Combined button and popup list for selecting options.
GLenum GLenum GLsizei const GLuint GLboolean enabled
decorationRoleName toolTipRoleName setWhatsThis
#define QT_REQUIRE_CONFIG(feature)
#define QT_DEPRECATED_VERSION_X_6_0(text)
#define QT_DEPRECATED_VERSION_6_0
IUIAutomationTreeWalker __RPC__deref_out_opt IUIAutomationElement ** parent