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)
187 Q_DECLARE_MIXED_ENUM_OPERATORS_SYMMETRIC(
int,
AlignmentFlag, TextFlag)
195 Q_DECLARE_MIXED_ENUM_OPERATORS_SYMMETRIC(
int,
TextElideMode, TextFlag)
238#if QT_DEPRECATED_SINCE(6
, 13
)
240 "Use Qt::ExpandedClientAreaHint instead") = 0x00400000,
248#if QT_DEPRECATED_SINCE(6
, 9
)
250 "This flag has been a no-op since Qt 5") = 0x10000000,
278 Q_DECLARE_FLAGS(ApplicationStates, ApplicationState)
447#if QT_DEPRECATED_SINCE(6
, 0
)
449 "High-DPI pixmaps are always enabled. "
450 "This attribute no longer has any effect.") = 13,
458#if QT_DEPRECATED_SINCE(6
, 0
)
460 "High-DPI scaling is always enabled. "
461 "This attribute no longer has any effect.") = 20,
463 "High-DPI scaling is always enabled. "
464 "This attribute no longer has any effect.") = 21,
616#if QT_DEPRECATED_SINCE(6
, 11
)
1190#if QT_VERSION < QT_VERSION_CHECK(7
, 0
, 0
)
1632#ifndef QT_NO_GESTURES
1749 Q_ENUM_NS(ScrollBarPolicy)
1827#ifndef QT_NO_GESTURES
1850 enum PaintDeviceFlags {
1851 UnknownDevice = 0x00,
1858 FramebufferObject = 0x07,
1859 CustomRaster = 0x08,
1878 EventNotifyCallback,
1881 static bool registerCallback(Callback, qInternalCallback);
1882 static bool unregisterCallback(Callback, qInternalCallback);
1883 static bool activateCallbacks(Callback,
void **);
1896 : combination(modifiers.toInt() |
int(key))
1900 : combination(modifiers.toInt() |
int(key))
1905 return Qt::KeyboardModifiers(combination & Qt::KeyboardModifierMask);
1916 result.combination = combined;
1925#if QT_DEPRECATED_SINCE(6
, 0
)
1937 return lhs.combination == rhs.combination;
1957 return QKeyCombination(modifier, key);
1977 return QKeyCombination(modifier, key);
1985#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)
Combined button and popup list for selecting options.
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)
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)