(6793a519667eaef07d6bc04d2799b1746d258c41)
#include "qwindowscontext.h"
#include "qwindowsintegration.h"
#include "qwindowswindow.h"
#include "qwindowskeymapper.h"
#include "qwindowsnativeinterface.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/qscopeguard.h>
#include <QtCore/private/qwinregistry_p.h>
#include <QtCore/private/qsystemerror_p.h>
#include <QtGui/private/qwindowsguieventdispatcher_p.h>
#include <QtGui/private/qwindowsthemecache_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.
|
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) |
static bool | isEmptyRect (const RECT &rect) |
static QMargins | marginsFromRects (const RECT &frame, const RECT &client) |
static RECT | rectFromNcCalcSize (UINT message, WPARAM wParam, LPARAM lParam, int n) |
static bool | isMinimized (HWND hwnd) |
static bool | isTopLevel (HWND hwnd) |
LRESULT QT_WIN_CALLBACK | qWindowsWndProc (HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam) |
| Windows functions for actual windows.
|
static QByteArray | nativeEventType () |
◆ LANG_SYRIAC
◆ dpiAwarenessContextToQtDpiAwareness()
◆ enableNonClientDpiScaling()
bool enableNonClientDpiScaling |
( |
HWND | hwnd | ) |
|
|
static |
◆ findPlatformWindowHelper()
bool findPlatformWindowHelper |
( |
const POINT & | screenPoint, |
|
|
unsigned | cwexFlags, |
|
|
const QWindowsContext * | context, |
|
|
HWND * | hwnd, |
|
|
QWindowsWindow ** | result ) |
|
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 743 of file qwindowscontext.cpp.
References QWindowsContext::findPlatformWindow().
◆ isEmptyRect()
bool isEmptyRect |
( |
const RECT & | rect | ) |
|
|
inlinestatic |
◆ isInputMessage()
bool isInputMessage |
( |
UINT | m | ) |
|
|
inlinestatic |
◆ isMinimized()
bool isMinimized |
( |
HWND | hwnd | ) |
|
|
inlinestatic |
◆ isTopLevel()
bool isTopLevel |
( |
HWND | hwnd | ) |
|
|
inlinestatic |
◆ marginsFromRects()
QMargins marginsFromRects |
( |
const RECT & | frame, |
|
|
const RECT & | client ) |
|
inlinestatic |
◆ nativeEventType()
◆ operator<<()
◆ qtDpiAwarenessToDpiAwarenessContext()
◆ qWindowsPowerWindowProc()
LRESULT QT_WIN_CALLBACK qWindowsPowerWindowProc |
( |
HWND | hwnd, |
|
|
UINT | message, |
|
|
WPARAM | wParam, |
|
|
LPARAM | lParam ) |
◆ qWindowsWndProc()
LRESULT QT_WIN_CALLBACK qWindowsWndProc |
( |
HWND | hwnd, |
|
|
UINT | message, |
|
|
WPARAM | wParam, |
|
|
LPARAM | lParam ) |
◆ rectFromNcCalcSize()
RECT rectFromNcCalcSize |
( |
UINT | message, |
|
|
WPARAM | wParam, |
|
|
LPARAM | lParam, |
|
|
int | n ) |
|
static |
◆ sessionManagerInteractionBlocked()
bool sessionManagerInteractionBlocked |
( |
| ) |
|
|
inlinestatic |
◆ useRTL_Extensions()
bool useRTL_Extensions |
( |
| ) |
|
|
inlinestatic |
◆ windowsInputContext()