![]() |
Qt 6.x
The Qt SDK
|
#include <qwindowsdirect2dintegration.h>
Inheritance diagram for QWindowsDirect2DIntegration:
Collaboration diagram for QWindowsDirect2DIntegration:Public Member Functions | |
| virtual | ~QWindowsDirect2DIntegration () |
| QPlatformNativeInterface * | nativeInterface () const override |
| QPlatformPixmap * | createPlatformPixmap (QPlatformPixmap::PixelType type) const override |
| Factory function for QPlatformPixmap. | |
| QPlatformBackingStore * | createPlatformBackingStore (QWindow *window) const override |
| Factory function for QPlatformBackingStore. | |
| QWindowsDirect2DContext * | direct2DContext () const |
Public Member Functions inherited from QWindowsIntegration | |
| QWindowsIntegration (const QStringList ¶mList) | |
| ~QWindowsIntegration () override | |
| bool | hasCapability (QPlatformIntegration::Capability cap) const override |
| QPlatformWindow * | createPlatformWindow (QWindow *window) const override |
| Factory function for QPlatformWindow. | |
| QPlatformWindow * | createForeignWindow (QWindow *window, WId nativeHandle) const override |
| QPlatformOpenGLContext * | createPlatformOpenGLContext (QOpenGLContext *context) const override |
| Factory function for QPlatformOpenGLContext. | |
| QOpenGLContext::OpenGLModuleType | openGLModuleType () override |
| Platform integration function for querying the OpenGL implementation type. | |
| HMODULE | openGLModuleHandle () const override |
| QOpenGLContext * | createOpenGLContext (HGLRC context, HWND window, QOpenGLContext *shareContext) const override |
| QAbstractEventDispatcher * | createEventDispatcher () const override |
| Factory function for the GUI event dispatcher. | |
| void | initialize () override |
| Performs initialization steps that depend on having an event dispatcher available. | |
| QPlatformInputContext * | inputContext () const override |
| Returns the platforms input context. | |
| QPlatformFontDatabase * | fontDatabase () const override |
| Accessor for the platform integration's fontdatabase. | |
| QStringList | themeNames () const override |
| QPlatformTheme * | createPlatformTheme (const QString &name) const override |
| QPlatformServices * | services () const override |
| QVariant | styleHint (StyleHint hint) const override |
| Qt::KeyboardModifiers | queryKeyboardModifiers () 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. | |
| unsigned | options () const |
| void | beep () const override |
| void | setApplicationBadge (qint64 number) override |
| void | setApplicationBadge (const QImage &image) |
| void | updateApplicationBadge () |
Public Member Functions inherited from QPlatformIntegration | |
| virtual | ~QPlatformIntegration () |
| virtual bool | hasCapability (Capability cap) const |
| virtual QPlatformPixmap * | createPlatformPixmap (QPlatformPixmap::PixelType type) const |
| Factory function for QPlatformPixmap. | |
| virtual QPlatformWindow * | createPlatformWindow (QWindow *window) const =0 |
| Factory function for QPlatformWindow. | |
| virtual QPlatformWindow * | createForeignWindow (QWindow *, WId) const |
| virtual QPlatformBackingStore * | createPlatformBackingStore (QWindow *window) const =0 |
| Factory function for QPlatformBackingStore. | |
| virtual QPlatformOpenGLContext * | createPlatformOpenGLContext (QOpenGLContext *context) const |
| Factory function for QPlatformOpenGLContext. | |
| virtual QPlatformSharedGraphicsCache * | createPlatformSharedGraphicsCache (const char *cacheId) const |
| Factory function for QPlatformSharedGraphicsCache. | |
| virtual QPaintEngine * | createImagePaintEngine (QPaintDevice *paintDevice) const |
| Factory function for QPaintEngine. | |
| virtual QAbstractEventDispatcher * | createEventDispatcher () const =0 |
| Factory function for the GUI event dispatcher. | |
| virtual void | initialize () |
| Performs initialization steps that depend on having an event dispatcher available. | |
| virtual void | destroy () |
| Called before the platform integration is deleted. | |
| virtual QPlatformFontDatabase * | fontDatabase () const |
| Accessor for the platform integration's fontdatabase. | |
| virtual QPlatformClipboard * | clipboard () const |
| Accessor for the platform integration's clipboard. | |
| virtual QPlatformInputContext * | inputContext () const |
| Returns the platforms input context. | |
| virtual QPlatformNativeInterface * | nativeInterface () const |
| virtual QPlatformServices * | services () const |
| virtual QVariant | styleHint (StyleHint hint) const |
| virtual Qt::WindowState | defaultWindowState (Qt::WindowFlags) const |
| virtual Qt::KeyboardModifiers | queryKeyboardModifiers () const |
| virtual QList< int > | possibleKeys (const QKeyEvent *) const |
| Should be used to obtain a list of possible shortcuts for the given key event. | |
| virtual QStringList | themeNames () const |
| virtual QPlatformTheme * | createPlatformTheme (const QString &name) const |
| virtual QPlatformOffscreenSurface * | createPlatformOffscreenSurface (QOffscreenSurface *surface) const |
| Factory function for QOffscreenSurface. | |
| virtual QPlatformSessionManager * | createPlatformSessionManager (const QString &id, const QString &key) const |
| virtual void | sync () |
| virtual QOpenGLContext::OpenGLModuleType | openGLModuleType () |
| Platform integration function for querying the OpenGL implementation type. | |
| virtual void | setApplicationIcon (const QIcon &icon) const |
| virtual void | setApplicationBadge (qint64 number) |
| virtual void | beep () const |
| virtual void | quit () const |
| template<auto func, typename... Args> | |
| auto | call (Args... args) |
Public Member Functions inherited from QWindowsApplication | |
| void | setTouchWindowTouchType (TouchWindowTouchTypes type) override |
| TouchWindowTouchTypes | touchWindowTouchType () const override |
| WindowActivationBehavior | windowActivationBehavior () const override |
| void | setWindowActivationBehavior (WindowActivationBehavior behavior) override |
| void | setHasBorderInFullScreenDefault (bool border) override |
| bool | isTabletMode () const override |
| bool | isWinTabEnabled () const override |
| bool | setWinTabEnabled (bool enabled) override |
| bool | isDarkMode () const override |
| DarkModeHandling | darkModeHandling () const override |
| void | setDarkModeHandling (DarkModeHandling handling) override |
| void | registerMime (QWindowsMimeConverter *mime) override |
| void | unregisterMime (QWindowsMimeConverter *mime) override |
| int | registerMimeType (const QString &mime) override |
| HWND | createMessageWindow (const QString &classNameTemplate, const QString &windowName, QFunctionPointer eventProc=nullptr) const override |
| bool | asyncExpose () const override |
| void | setAsyncExpose (bool value) override |
| QVariant | gpu () const override |
| QVariant | gpuList () const override |
| void | populateLightSystemPalette (QPalette &palette) const override |
Static Public Member Functions | |
| static QWindowsDirect2DIntegration * | create (const QStringList ¶mList) |
| static QWindowsDirect2DIntegration * | instance () |
Static Public Member Functions inherited from QWindowsIntegration | |
| static QWindowsStaticOpenGLContext * | staticOpenGLContext () |
| static QWindowsIntegration * | instance () |
Protected Member Functions | |
| QWindowsWindow * | createPlatformWindowHelper (QWindow *window, const QWindowsWindowData &) const override |
| virtual QWindowsWindow * | createPlatformWindowHelper (QWindow *window, const QWindowsWindowData &) const |
Protected Member Functions inherited from QPlatformIntegration | |
| QPlatformIntegration ()=default | |
Definition at line 16 of file qwindowsdirect2dintegration.h.
|
virtual |
Definition at line 107 of file qwindowsdirect2dintegration.cpp.
|
static |
Definition at line 72 of file qwindowsdirect2dintegration.cpp.
References QString::arg(), QVersionNumber::isNull(), minimumD2DVersion(), systemD2DVersion(), QString::toStdWString(), QVersionNumber::toString(), and QCoreApplication::translate().
Referenced by QWindowsDirect2DIntegrationPlugin::create().
Here is the call graph for this function:
Here is the caller graph for this function:
|
overridevirtual |
Factory function for QPlatformBackingStore.
The QWindow parameter is a pointer to the top level widget(tlw) the window surface is created for. A QPlatformWindow is always created before the QPlatformBackingStore for tlw where the widget also requires a backing store.
Implements QPlatformIntegration.
Definition at line 140 of file qwindowsdirect2dintegration.cpp.
References window().
Here is the call graph for this function:
|
overridevirtual |
Factory function for QPlatformPixmap.
PixelType can be either PixmapType or BitmapType.
Reimplemented from QPlatformIntegration.
Definition at line 128 of file qwindowsdirect2dintegration.cpp.
References QPlatformPixmap::BitmapType.
|
overrideprotectedvirtual |
Reimplemented from QWindowsIntegration.
Definition at line 118 of file qwindowsdirect2dintegration.cpp.
References window().
Here is the call graph for this function:| QWindowsDirect2DContext * QWindowsDirect2DIntegration::direct2DContext | ( | ) | const |
Definition at line 145 of file qwindowsdirect2dintegration.cpp.
References QWindowsDirect2DIntegrationPrivate::m_d2dContext.
Referenced by QWindowsDirect2DContext::instance().
Here is the caller graph for this function:
|
static |
Definition at line 112 of file qwindowsdirect2dintegration.cpp.
References QWindowsIntegration::instance().
Referenced by QWindowsDirect2DContext::instance().
Here is the call graph for this function:
Here is the caller graph for this function:
|
overridevirtual |
Reimplemented from QPlatformIntegration.
Definition at line 123 of file qwindowsdirect2dintegration.cpp.
References QWindowsDirect2DIntegrationPrivate::m_nativeInterface.