12#include <QtCore/qglobal.h>
13#include <QtCore/qcompare.h>
14#include <QtCore/qtclasshelpermacros.h>
15#include <QtCore/qtmetamacros.h>
17#if defined(__OBJC__) && !defined(__cplusplus
)
18# warning "File built in Objective-C mode (.m), but using Qt requires Objective-C++ (.mm)"
26 Q_NAMESPACE_EXPORT(Q_CORE_EXPORT)
192 Q_DECLARE_MIXED_ENUM_OPERATORS_SYMMETRIC(
int,
AlignmentFlag, TextFlag)
200 Q_DECLARE_MIXED_ENUM_OPERATORS_SYMMETRIC(
int,
TextElideMode, TextFlag)
221#if QT_DEPRECATED_SINCE(6
, 11
)
246#if QT_DEPRECATED_SINCE(6
, 13
)
248 "Use Qt::ExpandedClientAreaHint instead") = 0x00400000,
256#if QT_DEPRECATED_SINCE(6
, 9
)
258 "This flag has been a no-op since Qt 5") = 0x10000000,
286 Q_DECLARE_FLAGS(ApplicationStates, ApplicationState)
455#if QT_DEPRECATED_SINCE(6
, 0
)
457 "High-DPI pixmaps are always enabled. "
458 "This attribute no longer has any effect.") = 13,
466#if QT_DEPRECATED_SINCE(6
, 0
)
468 "High-DPI scaling is always enabled. "
469 "This attribute no longer has any effect.") = 20,
471 "High-DPI scaling is always enabled. "
472 "This attribute no longer has any effect.") = 21,
624#if QT_DEPRECATED_SINCE(6
, 11
)
1198#if QT_VERSION < QT_VERSION_CHECK(7
, 0
, 0
)
1648#ifndef QT_NO_GESTURES
1765 Q_ENUM_NS(ScrollBarPolicy)
1844#ifndef QT_NO_GESTURES
1867 enum PaintDeviceFlags {
1868 UnknownDevice = 0x00,
1875 FramebufferObject = 0x07,
1876 CustomRaster = 0x08,
1895 EventNotifyCallback,
1898 static bool registerCallback(Callback, qInternalCallback);
1899 static bool unregisterCallback(Callback, qInternalCallback);
1900 static bool activateCallbacks(Callback,
void **);
1913 : combination(modifiers.toInt() |
int(key))
1917 : combination(modifiers.toInt() |
int(key))
1922 return Qt::KeyboardModifiers(combination & Qt::KeyboardModifierMask);
1933 result.combination = combined;
1942#if QT_DEPRECATED_SINCE(6
, 0
)
1954 return lhs.combination == rhs.combination;
1974 return QKeyCombination(modifier, key);
1994 return QKeyCombination(modifier, key);
2002#if QT_DEPRECATED_SINCE(6
, 0
)
friend constexpr bool comparesEqual(const QKeyCombination &lhs, const QKeyCombination &rhs) noexcept
constexpr Qt::Key key() const noexcept
constexpr QKeyCombination(Qt::Modifiers modifiers, Qt::Key key=Qt::Key_unknown) noexcept
static constexpr QKeyCombination fromCombined(int combined)
bool operator<(QKeyCombination) const =delete
constexpr int toCombined() const noexcept
constexpr Qt::KeyboardModifiers keyboardModifiers() const noexcept
\inmodule QtCore \inheaderfile QPermissions
void requestPermission(const QPermission &permission, const PermissionCallback &callback)
Qt::PermissionStatus checkPermission(const QPermission &permission)
constexpr QKeyCombination operator|(Qt::Key key, Qt::Modifier modifier) noexcept
@ ImInputItemClipRectangle
@ NavigationModeCursorForceVisible
@ NavigationModeCursorAuto
@ NavigationModeKeypadDirectional
@ NavigationModeKeypadTabOrder
@ LinksAccessibleByKeyboard
@ TextSelectableByKeyboard
constexpr QKeyCombination operator|(Qt::KeyboardModifier modifier, Qt::Key key) noexcept
@ KeepAspectRatioByExpanding
@ MouseEventSynthesizedByQt
@ MouseEventSynthesizedBySystem
@ MouseEventNotSynthesized
@ MouseEventSynthesizedByApplication
@ InvertedLandscapeOrientation
@ InvertedPortraitOrientation
@ AccessibleDescriptionRole
@ Key_KeyboardBrightnessUp
@ Key_MediaTogglePlayPause
@ Key_Dead_Longsolidusoverlay
@ Key_Dead_Semivoiced_Sound
@ Key_Dead_Belowcircumflex
@ Key_Dead_Aboveverticalline
@ Key_Dead_Belowdiaeresis
@ Key_KeyboardBrightnessDown
@ Key_Dead_Belowverticalline
@ Key_Dead_Abovereversedcomma
@ FindChildrenRecursively
@ WhiteSpaceModeUndefined
@ AA_DisableShaderDiskCache
@ AA_DontCreateNativeWidgetSiblings
@ AA_SynthesizeMouseForUnhandledTabletEvents
@ AA_DontShowShortcutsInContextMenus
@ AA_DontShowIconsInMenus
@ AA_UseStyleSheetPropagationInWidgetStyles
@ AA_QtQuickUseDefaultSizePolicy
@ AA_DisableSessionManager
@ AA_DontUseNativeMenuWindows
@ AA_DontCheckOpenGLContextThreadAffinity
@ AA_MacDontSwapCtrlAndMeta
@ AA_DontUseNativeMenuBar
@ AA_DisableNativeVirtualKeyboard
@ AA_CompressTabletEvents
@ AA_DontUseNativeDialogs
@ AA_SynthesizeMouseForUnhandledTouchEvents
@ AA_SynthesizeTouchForUnhandledMouseEvents
@ AA_CompressHighFrequencyEvents
@ IntersectsItemBoundingRect
@ ContainsItemBoundingRect
HighDpiScaleFactorRoundingPolicy
@ DontStartGestureOnChildren
@ IgnoredGesturesPropagateToParent
QT_DEFINE_TAG(Disambiguated)
constexpr Initialization Uninitialized
@ BypassWindowManagerHint
@ WindowDoesNotAcceptFocus
@ WindowContextHelpButtonHint
@ WindowStaysOnBottomHint
@ MSWindowsFixedSizeDialogHint
@ BypassGraphicsProxyWidget
@ WindowFullscreenButtonHint
@ NoTitleBarBackgroundHint
@ WindowMaximizeButtonHint
@ WindowMinimizeButtonHint
@ WindowMinMaxButtonsHint
@ WindowTransparentForInput
@ WindowOverridesSystemGestures
@ X11BypassWindowManagerHint
@ MouseEventCreatedDoubleClick
constexpr QKeyCombination operator|(Qt::Modifier modifier, Qt::Key key) noexcept
@ ActiveWindowFocusReason
@ ToolButtonTextUnderIcon
@ ToolButtonTextBesideIcon
@ WidgetWithChildrenShortcut
constexpr QKeyCombination operator|(Qt::Key key, Qt::KeyboardModifier modifier) noexcept
#define Q_GLOBAL_STATIC_WITH_ARGS(TYPE, NAME, ARGS)
#define Q_GLOBAL_STATIC(TYPE, NAME,...)
bool(* qInternalCallback)(void **)
Q_DECLARE_TYPEINFO(QKeyCombination, Q_RELOCATABLE_TYPE)
#define QStringLiteral(str)
typename Holder::Type Type
static Type * instance() noexcept(Holder::ConstructionIsNoexcept)
static QtGlobalStatic::GuardValues guardValue() noexcept
bool exists() const noexcept
bool isDestroyed() const noexcept
PlainType * pointer() noexcept
static constexpr bool ConstructionIsNoexcept
Holder() noexcept(ConstructionIsNoexcept)
typename QGS::QGS_Type Type