Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qtwindowsglobal.h File Reference

(ee942d7ab40e1d29008695ad1406d25d25780d28)

#include <QtCore/qt_windows.h>
#include <QtCore/qnamespace.h>
Include dependency graph for qtwindowsglobal.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  QtWindows
 Namespace for enumerations, etc.

Macros

#define WM_DWMCOMPOSITIONCHANGED   0x31E
#define WM_DWMCOLORIZATIONCOLORCHANGED   0x0320
#define WM_SYSCOLORCHANGE   0x0015
#define WM_TOUCH   0x0240
#define WM_GESTURE   0x0119
#define WM_DPICHANGED   0x02E0
#define WM_GETDPISCALEDSIZE   0x02E4
#define WM_NCPOINTERUPDATE   0x0241
#define WM_NCPOINTERDOWN   0x0242
#define WM_NCPOINTERUP   0x0243
#define WM_POINTERUPDATE   0x0245
#define WM_POINTERDOWN   0x0246
#define WM_POINTERUP   0x0247
#define WM_POINTERENTER   0x0249
#define WM_POINTERLEAVE   0x024A
#define WM_POINTERACTIVATE   0x024B
#define WM_POINTERCAPTURECHANGED   0x024C
#define WM_POINTERWHEEL   0x024E
#define WM_POINTERHWHEEL   0x024F
#define DPI_AWARENESS_CONTEXT_UNAWARE   ((HANDLE)-1)
#define DPI_AWARENESS_CONTEXT_SYSTEM_AWARE   ((HANDLE)-2)
#define DPI_AWARENESS_CONTEXT_PER_MONITOR_AWARE   ((HANDLE)-3)
#define DPI_AWARENESS_CONTEXT_PER_MONITOR_AWARE_V2   ((HANDLE)-4)
#define DPI_AWARENESS_CONTEXT_UNAWARE_GDISCALED   ((HANDLE)-5)

Enumerations

enum  QtWindows::WindowsEventTypeFlags {
  QtWindows::WindowEventFlag = 0x10000 , QtWindows::MouseEventFlag = 0x20000 , QtWindows::NonClientEventFlag = 0x40000 , QtWindows::InputMethodEventFlag = 0x80000 ,
  QtWindows::KeyEventFlag = 0x100000 , QtWindows::KeyDownEventFlag = 0x200000 , QtWindows::TouchEventFlag = 0x400000 , QtWindows::ClipboardEventFlag = 0x800000 ,
  QtWindows::ApplicationEventFlag = 0x1000000 , QtWindows::ThemingEventFlag = 0x2000000 , QtWindows::GenericEventFlag = 0x4000000 , QtWindows::PointerEventFlag = 0x8000000
}
enum  QtWindows::WindowsEventType {
  QtWindows::ExposeEvent = WindowEventFlag + 1 , QtWindows::ActivateWindowEvent = WindowEventFlag + 2 , QtWindows::DeactivateWindowEvent = WindowEventFlag + 3 , QtWindows::MouseActivateWindowEvent = WindowEventFlag + 4 ,
  QtWindows::LeaveEvent = WindowEventFlag + 5 , QtWindows::CloseEvent = WindowEventFlag + 6 , QtWindows::ShowEvent = WindowEventFlag + 7 , QtWindows::ShowEventOnParentRestoring = WindowEventFlag + 20 ,
  QtWindows::HideEvent = WindowEventFlag + 8 , QtWindows::DestroyEvent = WindowEventFlag + 9 , QtWindows::GeometryChangingEvent = WindowEventFlag + 10 , QtWindows::MoveEvent = WindowEventFlag + 11 ,
  QtWindows::ResizeEvent = WindowEventFlag + 12 , QtWindows::QuerySizeHints = WindowEventFlag + 15 , QtWindows::CalculateSize = WindowEventFlag + 16 , QtWindows::FocusInEvent = WindowEventFlag + 17 ,
  QtWindows::FocusOutEvent = WindowEventFlag + 18 , QtWindows::WhatsThisEvent = WindowEventFlag + 19 , QtWindows::DpiChangedEvent = WindowEventFlag + 21 , QtWindows::EnterSizeMoveEvent = WindowEventFlag + 22 ,
  QtWindows::ExitSizeMoveEvent = WindowEventFlag + 23 , QtWindows::PointerActivateWindowEvent = WindowEventFlag + 24 , QtWindows::DpiScaledSizeEvent = WindowEventFlag + 25 , QtWindows::DpiChangedAfterParentEvent = WindowEventFlag + 27 ,
  QtWindows::TaskbarButtonCreated = WindowEventFlag + 28 , QtWindows::MouseEvent = MouseEventFlag + 1 , QtWindows::MouseWheelEvent = MouseEventFlag + 2 , QtWindows::CursorEvent = MouseEventFlag + 3 ,
  QtWindows::TouchEvent = TouchEventFlag + 1 , QtWindows::PointerEvent = PointerEventFlag + 1 , QtWindows::NonClientMouseEvent = NonClientEventFlag + MouseEventFlag + 1 , QtWindows::NonClientHitTest = NonClientEventFlag + 2 ,
  QtWindows::NonClientCreate = NonClientEventFlag + 3 , QtWindows::NonClientActivate = NonClientEventFlag + 4 , QtWindows::NonClientPointerEvent = NonClientEventFlag + PointerEventFlag + 4 , QtWindows::KeyEvent = KeyEventFlag + 1 ,
  QtWindows::KeyDownEvent = KeyEventFlag + KeyDownEventFlag + 1 , QtWindows::InputLanguageChangeEvent = KeyEventFlag + 2 , QtWindows::InputMethodKeyEvent = InputMethodEventFlag + KeyEventFlag + 1 , QtWindows::InputMethodKeyDownEvent = InputMethodEventFlag + KeyEventFlag + KeyDownEventFlag + 1 ,
  QtWindows::ClipboardEvent = ClipboardEventFlag + 1 , QtWindows::ActivateApplicationEvent = ApplicationEventFlag + 1 , QtWindows::DeactivateApplicationEvent = ApplicationEventFlag + 2 , QtWindows::AccessibleObjectFromWindowRequest = ApplicationEventFlag + 3 ,
  QtWindows::QueryEndSessionApplicationEvent = ApplicationEventFlag + 4 , QtWindows::EndSessionApplicationEvent = ApplicationEventFlag + 5 , QtWindows::AppCommandEvent = ApplicationEventFlag + 6 , QtWindows::DeviceChangeEvent = ApplicationEventFlag + 7 ,
  QtWindows::MenuAboutToShowEvent = ApplicationEventFlag + 8 , QtWindows::AcceleratorCommandEvent = ApplicationEventFlag + 9 , QtWindows::MenuCommandEvent = ApplicationEventFlag + 10 , QtWindows::InputMethodStartCompositionEvent = InputMethodEventFlag + 1 ,
  QtWindows::InputMethodCompositionEvent = InputMethodEventFlag + 2 , QtWindows::InputMethodEndCompositionEvent = InputMethodEventFlag + 3 , QtWindows::InputMethodOpenCandidateWindowEvent = InputMethodEventFlag + 4 , QtWindows::InputMethodCloseCandidateWindowEvent = InputMethodEventFlag + 5 ,
  QtWindows::InputMethodRequest = InputMethodEventFlag + 6 , QtWindows::ThemeChanged = ThemingEventFlag + 1 , QtWindows::CompositionSettingsChanged = ThemingEventFlag + 2 , QtWindows::SettingChangedEvent = 438 ,
  QtWindows::ScrollEvent = GenericEventFlag + 1 , QtWindows::ContextMenu = 123 , QtWindows::GestureEvent = 124 , QtWindows::UnknownEvent = 542
}
 Enumerations for WM_XX events. More...
enum class  QtWindows::DpiAwareness {
  QtWindows::Invalid = -1 , QtWindows::Unaware , QtWindows::System , QtWindows::PerMonitor ,
  QtWindows::PerMonitorVersion2 , QtWindows::Unaware_GdiScaled
}

Functions

 QtWindows::Q_DECLARE_MIXED_ENUM_OPERATORS (bool, WindowsEventTypeFlags, WindowsEventType)
 QtWindows::Q_DECLARE_MIXED_ENUM_OPERATORS (bool, WindowsEventType, WindowsEventTypeFlags)
QtWindows::WindowsEventType windowsEventType (UINT message, WPARAM wParamIn, LPARAM lParamIn)
QDebug operator<< (QDebug, QtWindows::DpiAwareness)

Macro Definition Documentation

◆ DPI_AWARENESS_CONTEXT_PER_MONITOR_AWARE

#define DPI_AWARENESS_CONTEXT_PER_MONITOR_AWARE   ((HANDLE)-3)

Definition at line 58 of file qtwindowsglobal.h.

◆ DPI_AWARENESS_CONTEXT_PER_MONITOR_AWARE_V2

#define DPI_AWARENESS_CONTEXT_PER_MONITOR_AWARE_V2   ((HANDLE)-4)

Definition at line 59 of file qtwindowsglobal.h.

◆ DPI_AWARENESS_CONTEXT_SYSTEM_AWARE

#define DPI_AWARENESS_CONTEXT_SYSTEM_AWARE   ((HANDLE)-2)

Definition at line 57 of file qtwindowsglobal.h.

◆ DPI_AWARENESS_CONTEXT_UNAWARE

#define DPI_AWARENESS_CONTEXT_UNAWARE   ((HANDLE)-1)

Definition at line 56 of file qtwindowsglobal.h.

◆ DPI_AWARENESS_CONTEXT_UNAWARE_GDISCALED

#define DPI_AWARENESS_CONTEXT_UNAWARE_GDISCALED   ((HANDLE)-5)

Definition at line 60 of file qtwindowsglobal.h.

◆ WM_DPICHANGED

#define WM_DPICHANGED   0x02E0

Definition at line 32 of file qtwindowsglobal.h.

◆ WM_DWMCOLORIZATIONCOLORCHANGED

#define WM_DWMCOLORIZATIONCOLORCHANGED   0x0320

Definition at line 16 of file qtwindowsglobal.h.

◆ WM_DWMCOMPOSITIONCHANGED

#define WM_DWMCOMPOSITIONCHANGED   0x31E

Definition at line 12 of file qtwindowsglobal.h.

◆ WM_GESTURE

#define WM_GESTURE   0x0119

Definition at line 28 of file qtwindowsglobal.h.

◆ WM_GETDPISCALEDSIZE

#define WM_GETDPISCALEDSIZE   0x02E4

Definition at line 36 of file qtwindowsglobal.h.

◆ WM_NCPOINTERDOWN

#define WM_NCPOINTERDOWN   0x0242

Definition at line 42 of file qtwindowsglobal.h.

◆ WM_NCPOINTERUP

#define WM_NCPOINTERUP   0x0243

Definition at line 43 of file qtwindowsglobal.h.

◆ WM_NCPOINTERUPDATE

#define WM_NCPOINTERUPDATE   0x0241

Definition at line 41 of file qtwindowsglobal.h.

◆ WM_POINTERACTIVATE

#define WM_POINTERACTIVATE   0x024B

Definition at line 49 of file qtwindowsglobal.h.

◆ WM_POINTERCAPTURECHANGED

#define WM_POINTERCAPTURECHANGED   0x024C

Definition at line 50 of file qtwindowsglobal.h.

◆ WM_POINTERDOWN

#define WM_POINTERDOWN   0x0246

Definition at line 45 of file qtwindowsglobal.h.

◆ WM_POINTERENTER

#define WM_POINTERENTER   0x0249

Definition at line 47 of file qtwindowsglobal.h.

◆ WM_POINTERHWHEEL

#define WM_POINTERHWHEEL   0x024F

Definition at line 52 of file qtwindowsglobal.h.

◆ WM_POINTERLEAVE

#define WM_POINTERLEAVE   0x024A

Definition at line 48 of file qtwindowsglobal.h.

◆ WM_POINTERUP

#define WM_POINTERUP   0x0247

Definition at line 46 of file qtwindowsglobal.h.

◆ WM_POINTERUPDATE

#define WM_POINTERUPDATE   0x0245

Definition at line 44 of file qtwindowsglobal.h.

◆ WM_POINTERWHEEL

#define WM_POINTERWHEEL   0x024E

Definition at line 51 of file qtwindowsglobal.h.

◆ WM_SYSCOLORCHANGE

#define WM_SYSCOLORCHANGE   0x0015

Definition at line 20 of file qtwindowsglobal.h.

◆ WM_TOUCH

#define WM_TOUCH   0x0240

Definition at line 24 of file qtwindowsglobal.h.

Function Documentation

◆ operator<<()

QDebug operator<< ( QDebug d,
QtWindows::DpiAwareness dpiAwareness )
extern

Definition at line 400 of file qwindowscontext.cpp.

◆ windowsEventType()

QtWindows::WindowsEventType windowsEventType ( UINT message,
WPARAM wParamIn,
LPARAM lParamIn )
inline

Definition at line 166 of file qtwindowsglobal.h.