5#ifndef QWINDOWSINTEGRATION_H
6#define QWINDOWSINTEGRATION_H
10#include <qpa/qplatformintegration.h>
11#include <QtCore/qscopedpointer.h>
12#include <QtGui/private/qwindowsfontdatabase_p.h>
14#include <QtGui/private/qopenglcontext_p.h>
16#include <qpa/qplatformopenglcontext.h>
27 ,
public QNativeInterface::Private::QWindowsGLIntegration
69#if QT_CONFIG(clipboard)
71# if QT_CONFIG(draganddrop)
76#if QT_CONFIG(accessibility)
77 QPlatformAccessibility *accessibility()
const override;
92 void beep()
const override;
98#if QT_CONFIG(sessionmanager)
114 qint64 m_applicationBadgeNumber = 0;
The QKeyEvent class describes a key event.
OpenGLModuleType
This enum defines the type of the underlying OpenGL implementation.
The QPlatformInputContext class abstracts the input method dependent data and composing state.
The QPlatformOpenGLContext class provides an abstraction for native GL contexts.
\macro QT_RESTRICTED_CAST_FROM_ASCII
The QVulkanInstance class represents a native Vulkan instance, enabling Vulkan rendering onto a QSurf...
@ DontUseDirectWriteFonts
QPlatformIntegration implementation for Windows.
QStringList themeNames() const override
QPlatformWindow * createPlatformWindow(QWindow *window) const override
Factory function for QPlatformWindow.
static QWindowsStaticOpenGLContext * staticOpenGLContext()
virtual QWindowsWindow * createPlatformWindowHelper(QWindow *window, const QWindowsWindowData &) const
~QWindowsIntegration() override
@ FontDatabaseDirectWrite
@ DontPassOsMouseEventsSynthesizedFromTouch
@ DontUseDirectWriteFonts
QOpenGLContext * createOpenGLContext(HGLRC context, HWND window, QOpenGLContext *shareContext) const override
void updateApplicationBadge()
QAbstractEventDispatcher * createEventDispatcher() const override
Factory function for the GUI event dispatcher.
QPlatformTheme * createPlatformTheme(const QString &name) const override
bool hasCapability(QPlatformIntegration::Capability cap) const override
Qt::KeyboardModifiers queryKeyboardModifiers() const override
QOpenGLContext::OpenGLModuleType openGLModuleType() override
Platform integration function for querying the OpenGL implementation type.
QPlatformFontDatabase * fontDatabase() const override
Accessor for the platform integration's fontdatabase.
QPlatformWindow * createForeignWindow(QWindow *window, WId nativeHandle) const override
QList< int > possibleKeys(const QKeyEvent *e) const override
Should be used to obtain a list of possible shortcuts for the given key event.
void initialize() override
Performs initialization steps that depend on having an event dispatcher available.
void setApplicationBadge(qint64 number) override
static QWindowsIntegration * instance()
HMODULE openGLModuleHandle() const override
void beep() const override
QPlatformInputContext * inputContext() const override
Returns the platforms input context.
QPlatformServices * services() const override
QVariant styleHint(StyleHint hint) const override
QPlatformOpenGLContext * createPlatformOpenGLContext(QOpenGLContext *context) const override
Factory function for QPlatformOpenGLContext.
Combined button and popup list for selecting options.
static QT_BEGIN_NAMESPACE QVariant hint(QPlatformIntegration::StyleHint h)