![]() |
Qt 6.x
The Qt SDK
|
#include "qwindowscontext.h"
#include "qwindowsintegration.h"
#include "qwindowswindow.h"
#include "qwindowskeymapper.h"
#include "qwindowsnativeinterface.h"
#include "qwindowsmousehandler.h"
#include "qwindowspointerhandler.h"
#include "qtwindowsglobal.h"
#include "qwindowsmenu.h"
#include "qwindowsmimeregistry.h"
#include "qwindowsinputcontext.h"
#include "qwindowstheme.h"
#include <private/qguiapplication_p.h>
#include "qwindowsscreen.h"
#include <QtGui/qwindow.h>
#include <qpa/qwindowsysteminterface.h>
#include <qpa/qwindowsysteminterface_p.h>
#include <qpa/qplatformnativeinterface.h>
#include <QtGui/qguiapplication.h>
#include <QtGui/qopenglcontext.h>
#include <QtGui/qpointingdevice.h>
#include <QtCore/qset.h>
#include <QtCore/qhash.h>
#include <QtCore/qlibraryinfo.h>
#include <QtCore/qstringlist.h>
#include <QtCore/qdebug.h>
#include <QtCore/qsysinfo.h>
#include <QtCore/qscopedpointer.h>
#include <QtCore/quuid.h>
#include <QtCore/private/qwinregistry_p.h>
#include <QtCore/private/qfactorycacheregistration_p.h>
#include <QtCore/private/qsystemerror_p.h>
#include <QtGui/private/qwindowsguieventdispatcher_p.h>
#include <stdlib.h>
#include <stdio.h>
#include <windowsx.h>
#include <dbt.h>
#include <wtsapi32.h>
#include <shellscalingapi.h>
Go to the source code of this file.
Classes | |
struct | QWindowsContextPrivate |
Macros | |
#define | LANG_SYRIAC 0x5a |
Functions | |
static bool | useRTL_Extensions () |
static bool | sessionManagerInteractionBlocked () |
LRESULT QT_WIN_CALLBACK | qWindowsPowerWindowProc (HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam) |
static QtWindows::DpiAwareness | dpiAwarenessContextToQtDpiAwareness (DPI_AWARENESS_CONTEXT context) |
static DPI_AWARENESS_CONTEXT | qtDpiAwarenessToDpiAwarenessContext (QtWindows::DpiAwareness dpiAwareness) |
QDebug | operator<< (QDebug d, QtWindows::DpiAwareness dpiAwareness) |
static bool | findPlatformWindowHelper (const POINT &screenPoint, unsigned cwexFlags, const QWindowsContext *context, HWND *hwnd, QWindowsWindow **result) |
Find a child window at a screen point. | |
static QWindowsInputContext * | windowsInputContext () |
static bool | isInputMessage (UINT m) |
static bool | enableNonClientDpiScaling (HWND hwnd) |
#define LANG_SYRIAC 0x5a |
Definition at line 80 of file qwindowscontext.cpp.
|
inlinestatic |
Definition at line 350 of file qwindowscontext.cpp.
References context, DPI_AWARENESS_CONTEXT_PER_MONITOR_AWARE, DPI_AWARENESS_CONTEXT_PER_MONITOR_AWARE_V2, DPI_AWARENESS_CONTEXT_SYSTEM_AWARE, DPI_AWARENESS_CONTEXT_UNAWARE, DPI_AWARENESS_CONTEXT_UNAWARE_GDISCALED, QtWindows::Invalid, QtWindows::PerMonitor, QtWindows::PerMonitorVersion2, QtWindows::System, QtWindows::Unaware, and QtWindows::Unaware_GdiScaled.
Referenced by QWindowsContext::processDpiAwareness(), and QWindowsContext::windowDpiAwareness().
|
static |
Definition at line 974 of file qwindowscontext.cpp.
References QtWindows::PerMonitor, qErrnoWarning(), and QWindowsContext::windowDpiAwareness().
Referenced by QWindowsContext::windowsProc().
|
inlinestatic |
Find a child window at a screen point.
Deep search for a QWindow at global point, skipping non-owned windows (accessibility?). Implemented using ChildWindowFromPointEx() instead of (historically used) WindowFromPoint() to get a well-defined behaviour for hidden/transparent windows.
cwex_flags are flags of ChildWindowFromPointEx(). parent is the parent window, pass GetDesktopWindow() for top levels.
Definition at line 758 of file qwindowscontext.cpp.
References child, context, screenToClient(), and window().
Referenced by QWindowsContext::findPlatformWindowAt().
|
inlinestatic |
Definition at line 946 of file qwindowscontext.cpp.
References WM_TOUCH.
Referenced by QWindowsContext::windowsProc().
QDebug operator<< | ( | QDebug | d, |
QtWindows::DpiAwareness | dpiAwareness | ||
) |
Definition at line 410 of file qwindowscontext.cpp.
References d, QtWindows::Invalid, QtWindows::PerMonitor, QtWindows::PerMonitorVersion2, QtWindows::System, QtWindows::Unaware, and QtWindows::Unaware_GdiScaled.
|
inlinestatic |
Definition at line 390 of file qwindowscontext.cpp.
References DPI_AWARENESS_CONTEXT_PER_MONITOR_AWARE, DPI_AWARENESS_CONTEXT_PER_MONITOR_AWARE_V2, DPI_AWARENESS_CONTEXT_SYSTEM_AWARE, DPI_AWARENESS_CONTEXT_UNAWARE, DPI_AWARENESS_CONTEXT_UNAWARE_GDISCALED, QtWindows::Invalid, QtWindows::PerMonitor, QtWindows::PerMonitorVersion2, QtWindows::System, QtWindows::Unaware, and QtWindows::Unaware_GdiScaled.
Referenced by QWindowsContext::setProcessDpiAwareness().
LRESULT QT_WIN_CALLBACK qWindowsPowerWindowProc | ( | HWND | hwnd, |
UINT | message, | ||
WPARAM | wParam, | ||
LPARAM | lParam | ||
) |
Definition at line 286 of file qwindowscontext.cpp.
References QGuiApplication::topLevelWindows(), Qt::WindowMinimized, and QWindowsWindow::windowsWindowOf().
Referenced by QWindowsContext::initPowerNotificationHandler().
|
inlinestatic |
Definition at line 118 of file qwindowscontext.cpp.
Referenced by QWindowsContext::windowsProc().
|
inlinestatic |
Definition at line 83 of file qwindowscontext.cpp.
References QScopedPointer< T, Cleanup >::data(), i, and LANG_SYRIAC.
Referenced by QWindowsContextPrivate::QWindowsContextPrivate().
|
inlinestatic |
Definition at line 926 of file qwindowscontext.cpp.
References QWindowsIntegration::instance().
Referenced by QWindowsContext::windowsProc().