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
QWindowsGdiIntegration Class Reference

#include <qwindowsgdiintegration.h>

+ Inheritance diagram for QWindowsGdiIntegration:
+ Collaboration diagram for QWindowsGdiIntegration:

Public Member Functions

 QWindowsGdiIntegration (const QStringList &paramList)
 
 ~QWindowsGdiIntegration () override
 
QPlatformNativeInterfacenativeInterface () const override
 
QPlatformPixmapcreatePlatformPixmap (QPlatformPixmap::PixelType type) const override
 Factory function for QPlatformPixmap.
 
QPlatformBackingStorecreatePlatformBackingStore (QWindow *window) const override
 Factory function for QPlatformBackingStore.
 
- Public Member Functions inherited from QWindowsIntegration
 QWindowsIntegration (const QStringList &paramList)
 
 ~QWindowsIntegration () override
 
bool hasCapability (QPlatformIntegration::Capability cap) const override
 
QPlatformWindowcreatePlatformWindow (QWindow *window) const override
 Factory function for QPlatformWindow.
 
QPlatformWindowcreateForeignWindow (QWindow *window, WId nativeHandle) const override
 
QPlatformOpenGLContextcreatePlatformOpenGLContext (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
 
QOpenGLContextcreateOpenGLContext (HGLRC context, HWND window, QOpenGLContext *shareContext) const override
 
QAbstractEventDispatchercreateEventDispatcher () const override
 Factory function for the GUI event dispatcher.
 
void initialize () override
 Performs initialization steps that depend on having an event dispatcher available.
 
QPlatformInputContextinputContext () const override
 Returns the platforms input context.
 
QPlatformFontDatabasefontDatabase () const override
 Accessor for the platform integration's fontdatabase.
 
QStringList themeNames () const override
 
QPlatformThemecreatePlatformTheme (const QString &name) const override
 
QPlatformServicesservices () const override
 
QVariant styleHint (StyleHint hint) const override
 
QPlatformKeyMapperkeyMapper () const override
 Accessor for the platform integration's key mapper.
 
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 QPlatformSharedGraphicsCachecreatePlatformSharedGraphicsCache (const char *cacheId) const
 Factory function for QPlatformSharedGraphicsCache.
 
virtual QPaintEnginecreateImagePaintEngine (QPaintDevice *paintDevice) const
 Factory function for QPaintEngine.
 
virtual void destroy ()
 Called before the platform integration is deleted.
 
virtual QPlatformClipboardclipboard () const
 Accessor for the platform integration's clipboard.
 
virtual Qt::WindowState defaultWindowState (Qt::WindowFlags) const
 
virtual QPlatformOffscreenSurfacecreatePlatformOffscreenSurface (QOffscreenSurface *surface) const
 Factory function for QOffscreenSurface.
 
virtual QPlatformSessionManagercreatePlatformSessionManager (const QString &id, const QString &key) const
 
virtual void sync ()
 
virtual void setApplicationIcon (const QIcon &icon) 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
 
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
 

Additional Inherited Members

- Public Types inherited from QWindowsIntegration
enum  Options {
  FontDatabaseFreeType = 0x1 , FontDatabaseNative = 0x2 , DisableArb = 0x4 , NoNativeDialogs = 0x8 ,
  XpNativeDialogs = 0x10 , DontPassOsMouseEventsSynthesizedFromTouch = 0x20 , DontUseDirectWriteFonts = QWindowsFontDatabase::DontUseDirectWriteFonts , DontUseColorFonts = QWindowsFontDatabase::DontUseColorFonts ,
  AlwaysUseNativeMenus = 0x100 , NoNativeMenus = 0x200 , DontUseWMPointer = 0x400 , DetectAltGrModifier = 0x800 ,
  RtlEnabled = 0x1000 , FontDatabaseGDI = 0x2000
}
 
- Public Types inherited from QPlatformIntegration
enum  Capability {
  ThreadedPixmaps = 1 , OpenGL , ThreadedOpenGL , SharedGraphicsCache ,
  BufferQueueingOpenGL , WindowMasks , MultipleWindows , ApplicationState ,
  ForeignWindows , NonFullScreenWindows , NativeWidgets , WindowManagement ,
  WindowActivation , SyncState , RasterGLSurface , AllGLFunctionsQueryable ,
  ApplicationIcon , SwitchableWidgetComposition , TopStackedNativeChildWindows , OpenGLOnRasterSurface ,
  MaximizeUsingFullscreenGeometry , PaintEvents , RhiBasedRendering , ScreenWindowGrabbing ,
  BackingStoreStaticContents
}
 Capabilities are used to determine specific features of a platform integration. More...
 
enum  StyleHint {
  CursorFlashTime , KeyboardInputInterval , MouseDoubleClickInterval , StartDragDistance ,
  StartDragTime , KeyboardAutoRepeatRate , ShowIsFullScreen , PasswordMaskDelay ,
  FontSmoothingGamma , StartDragVelocity , UseRtlExtensions , PasswordMaskCharacter ,
  SetFocusOnTouchRelease , ShowIsMaximized , MousePressAndHoldInterval , TabFocusBehavior ,
  ReplayMousePressOutsidePopup , ItemViewActivateItemOnSingleClick , UiEffects , WheelScrollLines ,
  ShowShortcutsInContextMenus , MouseQuickSelectionThreshold , MouseDoubleClickDistance , FlickStartDistance ,
  FlickMaximumVelocity , FlickDeceleration , UnderlineShortcut
}
 
- Static Public Member Functions inherited from QWindowsIntegration
static QWindowsStaticOpenGLContextstaticOpenGLContext ()
 
static QWindowsIntegrationinstance ()
 
- Protected Member Functions inherited from QWindowsIntegration
virtual QWindowsWindowcreatePlatformWindowHelper (QWindow *window, const QWindowsWindowData &) const
 
- Protected Member Functions inherited from QPlatformIntegration
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.
 
 QPlatformIntegration ()=default
 

Detailed Description

Definition at line 12 of file qwindowsgdiintegration.h.

Constructor & Destructor Documentation

◆ QWindowsGdiIntegration()

QWindowsGdiIntegration::QWindowsGdiIntegration ( const QStringList & paramList)
explicit

Definition at line 20 of file qwindowsgdiintegration.cpp.

◆ ~QWindowsGdiIntegration()

QWindowsGdiIntegration::~QWindowsGdiIntegration ( )
override

Definition at line 25 of file qwindowsgdiintegration.cpp.

Member Function Documentation

◆ createPlatformBackingStore()

QPlatformBackingStore * QWindowsGdiIntegration::createPlatformBackingStore ( QWindow * window) const
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.

See also
QBackingStore
createPlatformWindow()

Implements QPlatformIntegration.

Definition at line 38 of file qwindowsgdiintegration.cpp.

References window().

+ Here is the call graph for this function:

◆ createPlatformPixmap()

QPlatformPixmap * QWindowsGdiIntegration::createPlatformPixmap ( QPlatformPixmap::PixelType type) const
overridevirtual

Factory function for QPlatformPixmap.

PixelType can be either PixmapType or BitmapType.

See also
QPlatformPixmap

Reimplemented from QPlatformIntegration.

Definition at line 33 of file qwindowsgdiintegration.cpp.

◆ nativeInterface()

QPlatformNativeInterface * QWindowsGdiIntegration::nativeInterface ( ) const
overridevirtual

Reimplemented from QPlatformIntegration.

Definition at line 28 of file qwindowsgdiintegration.cpp.

References QWindowsGdiIntegrationPrivate::m_nativeInterface.


The documentation for this class was generated from the following files: