(a98026df8b2dea6db9ab8ff74d5c039c01ea3230)
#include "qwindowsscreen.h"
#include "qwindowscontext.h"
#include "qwindowswindow.h"
#include "qwindowsintegration.h"
#include "qwindowscursor.h"
#include "qwindowstheme.h"
#include <QtCore/qt_windows.h>
#include <QtCore/qsettings.h>
#include <QtGui/qpixmap.h>
#include <QtGui/qguiapplication.h>
#include <qpa/qwindowsysteminterface.h>
#include <QtCore/private/qsystemerror_p.h>
#include <QtGui/private/qedidparser_p.h>
#include <private/qhighdpiscaling_p.h>
#include <private/qwindowsfontdatabasebase_p.h>
#include <private/qpixmap_win_p.h>
#include <private/quniquehandle_p.h>
#include <QtGui/qscreen.h>
#include <QtCore/qdebug.h>
#include <memory>
#include <type_traits>
#include <cfgmgr32.h>
#include <setupapi.h>
#include <shellscalingapi.h>
Go to the source code of this file.
|
static QDpi | deviceDPI (HDC hdc) |
static QDpi | monitorDPI (HMONITOR hMonitor) |
static std::vector< DISPLAYCONFIG_PATH_INFO > | getPathInfo (const MONITORINFOEX &viewInfo) |
static void | setMonitorDataFromSetupApi (QWindowsScreenData &data, const std::vector< DISPLAYCONFIG_PATH_INFO > &pathGroup) |
static bool | monitorData (HMONITOR hMonitor, QWindowsScreenData *data) |
BOOL QT_WIN_CALLBACK | monitorEnumCallback (HMONITOR hMonitor, HDC, LPRECT, LPARAM p) |
static WindowsScreenDataList | monitorData () |
static QDebug | operator<< (QDebug dbg, const QWindowsScreenData &d) |
LRESULT QT_WIN_CALLBACK | qDisplayChangeObserverWndProc (HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam) |
static int | indexOfMonitor (const QWindowsScreenManager::WindowsScreenList &screens, const QString &deviceName) |
static int | indexOfMonitor (const WindowsScreenDataList &screenData, const QString &deviceName) |
static void | moveToVirtualScreen (QWindow *w, const QScreen *newScreen) |
◆ WindowsScreenDataList
◆ deviceDPI()
QDpi deviceDPI |
( |
HDC | hdc | ) |
|
|
inlinestatic |
◆ getPathInfo()
std::vector< DISPLAYCONFIG_PATH_INFO > getPathInfo |
( |
const MONITORINFOEX & | viewInfo | ) |
|
|
static |
◆ indexOfMonitor() [1/2]
◆ indexOfMonitor() [2/2]
◆ monitorData() [1/2]
◆ monitorData() [2/2]
◆ monitorDPI()
QDpi monitorDPI |
( |
HMONITOR | hMonitor | ) |
|
|
inlinestatic |
◆ monitorEnumCallback()
BOOL QT_WIN_CALLBACK monitorEnumCallback |
( |
HMONITOR | hMonitor, |
|
|
HDC | , |
|
|
LPRECT | , |
|
|
LPARAM | p ) |
◆ moveToVirtualScreen()
◆ operator<<()
◆ qDisplayChangeObserverWndProc()
LRESULT QT_WIN_CALLBACK qDisplayChangeObserverWndProc |
( |
HWND | hwnd, |
|
|
UINT | message, |
|
|
WPARAM | wParam, |
|
|
LPARAM | lParam ) |
◆ setMonitorDataFromSetupApi()