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
QOffscreenX11PlatformNativeInterface * nativeInterface () const override
Public Member Functions inherited from QOffscreenIntegration
 QOffscreenIntegration (const QStringList &paramList)
 ~QOffscreenIntegration ()
QJsonObject defaultConfiguration () const
std::optional< QJsonObject > resolveConfigFileConfiguration (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.
QPlatformWindow * createPlatformWindow (QWindow *window) const override
 Factory function for QPlatformWindow.
QPlatformBackingStore * createPlatformBackingStore (QWindow *window) const override
 Factory function for QPlatformBackingStore.
QPlatformInputContext * inputContext () const override
 Returns the platforms input context.
QPlatformServices * services () const override
QPlatformFontDatabase * fontDatabase () const override
 Accessor for the platform integration's fontdatabase.
QAbstractEventDispatcher * createEventDispatcher () const override
 Factory function for the GUI event dispatcher.
QStringList themeNames () const override
QPlatformTheme * createPlatformTheme (const QString &name) const override
QList< QOffscreenScreen * > screens () const
Public Member Functions inherited from QPlatformIntegration
virtual ~QPlatformIntegration ()
virtual QPlatformPixmap * createPlatformPixmap (QPlatformPixmap::PixelType type) const
 Factory function for QPlatformPixmap.
virtual QPlatformWindow * createForeignWindow (QWindow *, WId) const
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 void destroy ()
 Called before the platform integration is deleted.
virtual QPlatformClipboard * clipboard () const
 Accessor for the platform integration's clipboard.
virtual QVariant styleHint (StyleHint hint) const
virtual Qt::WindowState defaultWindowState (Qt::WindowFlags) const
virtual QPlatformKeyMapper * keyMapper () const
 Accessor for the platform integration's key mapper.
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)

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 ,
  OffscreenSurface , MouseCursorPositioning
}
 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 QOffscreenIntegration * createOffscreenIntegration (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< QPlatformFontDatabase > m_fontDatabase
QScopedPointer< QPlatformInputContext > m_inputContext
QScopedPointer< QPlatformServices > m_services
QScopedPointer< QPlatformNativeInterface > m_nativeInterface
QList< QOffscreenScreen * > m_screens
bool m_windowFrameMarginsEnabled = true
QJsonObject m_configuration

Detailed Description

Definition at line 42 of file qoffscreenintegration_x11.h.

Constructor & Destructor Documentation

◆ QOffscreenX11Integration()

QOffscreenX11Integration::QOffscreenX11Integration ( const QStringList & paramList)

Definition at line 44 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 52 of file qoffscreenintegration_x11.cpp.

◆ nativeInterface()

QOffscreenX11PlatformNativeInterface * QOffscreenX11Integration::nativeInterface ( ) const
overridevirtual

Reimplemented from QOffscreenIntegration.

Definition at line 76 of file qoffscreenintegration_x11.cpp.


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