Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QOffscreenX11Integration Class Reference

#include <qoffscreenintegration_x11.h>

Inheritance diagram for QOffscreenX11Integration:
Collaboration diagram for QOffscreenX11Integration:

Public Member Functions

 QOffscreenX11Integration (const QStringList &paramList)
 ~QOffscreenX11Integration ()
bool hasCapability (QPlatformIntegration::Capability cap) const override
QOffscreenX11PlatformNativeInterfacenativeInterface () const override
Public Member Functions inherited from QOffscreenIntegration
 QOffscreenIntegration (const QStringList &paramList)
 ~QOffscreenIntegration ()
QJsonObject defaultConfiguration () const
std::optional< QJsonObjectresolveConfigFileConfiguration (const QStringList &paramList) const
void setConfiguration (const QJsonObject &configuration)
QJsonObject configuration () const
void initialize () override
 Performs initialization steps that depend on having an event dispatcher available.
QPlatformWindowcreatePlatformWindow (QWindow *window) const override
 Factory function for QPlatformWindow.
QPlatformBackingStorecreatePlatformBackingStore (QWindow *window) const override
 Factory function for QPlatformBackingStore.
QPlatformInputContextinputContext () const override
 Returns the platforms input context.
QPlatformServicesservices () const override
QPlatformFontDatabasefontDatabase () const override
 Accessor for the platform integration's fontdatabase.
QAbstractEventDispatchercreateEventDispatcher () const override
 Factory function for the GUI event dispatcher.
QStringList themeNames () const override
QPlatformThemecreatePlatformTheme (const QString &name) const override
QList< QOffscreenScreen * > screens () const
Public Member Functions inherited from QPlatformIntegration
virtual ~QPlatformIntegration ()
virtual QPlatformPixmapcreatePlatformPixmap (QPlatformPixmap::PixelType type) const
 Factory function for QPlatformPixmap.
virtual QPlatformWindowcreateForeignWindow (QWindow *, WId) const
virtual QPlatformOpenGLContextcreatePlatformOpenGLContext (QOpenGLContext *context) const
 Factory function for QPlatformOpenGLContext.
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 QVariant styleHint (StyleHint hint) const
virtual Qt::WindowState defaultWindowState (Qt::WindowFlags) const
virtual QPlatformKeyMapperkeyMapper () const
 Accessor for the platform integration's key mapper.
virtual QPlatformOffscreenSurfacecreatePlatformOffscreenSurface (QOffscreenSurface *surface) const
 Factory function for QOffscreenSurface.
virtual QPlatformSessionManagercreatePlatformSessionManager (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)

Additional Inherited Members

Public Types inherited from QPlatformIntegration
enum  Capability {
  ThreadedPixmaps = 1 , OpenGL , ThreadedOpenGL , SharedGraphicsCache ,
  BufferQueueingOpenGL , WindowMasks , MultipleWindows , ApplicationState ,
  ForeignWindows , NonFullScreenWindows , NativeWidgets , WindowManagement ,
  WindowActivation , SyncState , 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 QOffscreenIntegration
static QOffscreenIntegrationcreateOffscreenIntegration (const QStringList &paramList)
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
Protected Attributes inherited from QOffscreenIntegration
QScopedPointer< QPlatformFontDatabasem_fontDatabase
QScopedPointer< QPlatformInputContextm_inputContext
QScopedPointer< QPlatformServicesm_services
QScopedPointer< QPlatformNativeInterfacem_nativeInterface
QList< QOffscreenScreen * > m_screens
bool m_windowFrameMarginsEnabled = true
QJsonObject m_configuration

Detailed Description

Definition at line 41 of file qoffscreenintegration_x11.h.

Constructor & Destructor Documentation

◆ QOffscreenX11Integration()

QOffscreenX11Integration::QOffscreenX11Integration ( const QStringList & paramList)

Definition at line 43 of file qoffscreenintegration_x11.cpp.

◆ ~QOffscreenX11Integration()

QOffscreenX11Integration::~QOffscreenX11Integration ( )
default

Member Function Documentation

◆ hasCapability()

bool QOffscreenX11Integration::hasCapability ( QPlatformIntegration::Capability cap) const
overridevirtual

Reimplemented from QOffscreenIntegration.

Definition at line 51 of file qoffscreenintegration_x11.cpp.

◆ nativeInterface()

QOffscreenX11PlatformNativeInterface * QOffscreenX11Integration::nativeInterface ( ) const
overridevirtual

Reimplemented from QOffscreenIntegration.

Definition at line 75 of file qoffscreenintegration_x11.cpp.


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