Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qwindowsintegration.cpp File Reference

(6f995b5e246bd9cc56710fa9cebc6dbb7cb2b72f)

#include "qwindowsintegration.h"
#include "qwindowswindow.h"
#include "qwindowscontext.h"
#include "qwin10helpers.h"
#include "qwindowsmenu.h"
#include "qwindowsopenglcontext.h"
#include "qwindowsscreen.h"
#include "qwindowstheme.h"
#include "qwindowsservices.h"
#include <QtGui/private/qtgui-config_p.h>
#include <QtGui/private/qwindowsfontdatabase_ft_p.h>
#include <QtGui/private/qwindowsfontdatabase_p.h>
#include "qwindowsinputcontext.h"
#include "qwindowskeymapper.h"
#include <qpa/qplatformnativeinterface.h>
#include <qpa/qwindowsysteminterface.h>
#include <QtGui/qpointingdevice.h>
#include <QtGui/private/qguiapplication_p.h>
#include <QtGui/private/qhighdpiscaling_p.h>
#include <QtGui/qpa/qplatforminputcontextfactory_p.h>
#include <QtGui/qpa/qplatformcursor.h>
#include <QtGui/private/qwindowsguieventdispatcher_p.h>
#include <QtCore/qdebug.h>
#include <QtCore/qvariant.h>
#include <QtCore/qoperatingsystemversion.h>
#include <QtCore/private/qfunctions_win_p.h>
#include <wrl.h>
#include <limits.h>
#include "qwindowsglcontext.h"
#include "qwindowsopengltester.h"
#include <memory>
+ Include dependency graph for qwindowsintegration.cpp:

Go to the source code of this file.

Classes

struct  QWindowsIntegrationPrivate
 

Typedefs

using DarkModeHandlingFlag = QNativeInterface::Private::QWindowsApplication::DarkModeHandlingFlag
 
using DarkModeHandling = QNativeInterface::Private::QWindowsApplication::DarkModeHandling
 

Functions

static void initOpenGlBlacklistResources ()
 
template<typename IntType >
bool parseIntOption (const QString &parameter, const QLatin1StringView &option, IntType minimumValue, IntType maximumValue, IntType *target)
 
static unsigned parseOptions (const QStringList &paramList, int *tabletAbsoluteRange, QtWindows::DpiAwareness *dpiAwareness, DarkModeHandling *darkModeHandling)
 

Typedef Documentation

◆ DarkModeHandling

using DarkModeHandling = QNativeInterface::Private::QWindowsApplication::DarkModeHandling

Definition at line 135 of file qwindowsintegration.cpp.

◆ DarkModeHandlingFlag

using DarkModeHandlingFlag = QNativeInterface::Private::QWindowsApplication::DarkModeHandlingFlag

Definition at line 134 of file qwindowsintegration.cpp.

Function Documentation

◆ initOpenGlBlacklistResources()

static void initOpenGlBlacklistResources ( )
inlinestatic

Definition at line 74 of file qwindowsintegration.cpp.

References Q_INIT_RESOURCE.

Referenced by QWindowsIntegrationPrivate::parseOptions().

+ Here is the caller graph for this function:

◆ parseIntOption()

template<typename IntType >
bool parseIntOption ( const QString & parameter,
const QLatin1StringView & option,
IntType minimumValue,
IntType maximumValue,
IntType * target )

Definition at line 112 of file qwindowsintegration.cpp.

References QString::at(), ok, qWarning, QString::right(), QString::size(), QString::startsWith(), and QString::toInt().

Referenced by parseOptions().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ parseOptions()