Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
QtWaylandClient Namespace Reference

Classes

class  DecorationsBlitter
 
class  DmaBufServerBuffer
 
class  DmaBufServerBufferIntegration
 
class  DmaBufServerBufferPlugin
 
class  DrmEglServerBufferIntegration
 
class  DrmEglServerBufferPlugin
 
class  DrmServerBuffer
 
class  EnterEvent
 
class  EventThread
 
class  LeaveEvent
 
class  LibHybrisEglServerBufferIntegration
 
class  LibHybrisEglServerBufferPlugin
 
class  LibHybrisServerBuffer
 
class  MotionEvent
 
class  PressEvent
 
class  QWaylandAbstractDataOffer
 
class  QWaylandAbstractDecoration
 
class  QWaylandAbstractDecorationPrivate
 
class  QWaylandBradientDecoration
 
class  QWaylandBradientDecorationPlugin
 
class  QWaylandBrcmBuffer
 
class  QWaylandBrcmEglClientBufferPlugin
 
class  QWaylandBrcmEglIntegration
 
class  QWaylandBrcmEglPlatformIntegration
 
class  QWaylandBrcmEglPlatformIntegrationPlugin
 
class  QWaylandBrcmEglWindow
 
class  QWaylandBrcmGLContext
 
class  QWaylandBuffer
 
class  QWaylandClientBufferIntegration
 
class  QWaylandClientBufferIntegrationFactory
 
class  QWaylandClientBufferIntegrationPlugin
 
class  QWaylandClipboard
 
class  QWaylandDataDevice
 
class  QWaylandDataDeviceManager
 
class  QWaylandDataOffer
 
class  QWaylandDataSource
 
class  QWaylandDecorationFactory
 
class  QWaylandDecorationPlugin
 
class  QWaylandDisplay
 
class  QWaylandEglClientBufferIntegration
 
class  QWaylandEglClientBufferPlugin
 
class  QWaylandEglPlatformIntegration
 
class  QWaylandEglPlatformIntegrationPlugin
 
class  QWaylandEglWindow
 
class  QWaylandExtendedSurface
 
class  QWaylandFractionalScale
 
class  QWaylandFullScreenShellV1Integration
 
class  QWaylandFullScreenShellV1IntegrationPlugin
 
class  QWaylandFullScreenShellV1Surface
 
class  QWaylandGLContext
 
class  QWaylandHardwareIntegration
 
class  QWaylandInputContext
 
class  QWaylandInputDevice
 
class  QWaylandInputDeviceIntegration
 
class  QWaylandInputDeviceIntegrationFactory
 
class  QWaylandInputDeviceIntegrationPlugin
 
class  QWaylandInputMethodContext
 
class  QWaylandIntegration
 
class  QWaylandIntegrationPlugin
 
class  QWaylandIviController
 
class  QWaylandIviShellIntegration
 
class  QWaylandIviShellIntegrationPlugin
 
class  QWaylandIviSurface
 
class  QWaylandMimeData
 
class  QWaylandNativeInterface
 
class  QWaylandPointerEvent
 
class  QWaylandPointerGesturePinch
 
class  QWaylandPointerGesturePinchEvent
 
class  QWaylandPointerGestures
 
class  QWaylandPointerGestureSwipe
 
class  QWaylandPointerGestureSwipeEvent
 
class  QWaylandPrimarySelectionDeviceManagerV1
 
class  QWaylandPrimarySelectionDeviceV1
 
class  QWaylandPrimarySelectionOfferV1
 
class  QWaylandPrimarySelectionSourceV1
 
class  QWaylandQtKeyExtension
 
class  QWaylandQtShellIntegration
 
class  QWaylandQtShellIntegrationPlugin
 
class  QWaylandQtSurface
 
class  QWaylandScreen
 
class  QWaylandServerBuffer
 
class  QWaylandServerBufferIntegration
 
class  QWaylandServerBufferIntegrationFactory
 
class  QWaylandServerBufferIntegrationPlugin
 
class  QWaylandShellIntegration
 
class  QWaylandShellIntegrationFactory
 
class  QWaylandShellIntegrationPlugin
 
class  QWaylandShellIntegrationTemplate
 
class  QWaylandShellSurface
 
class  QWaylandShm
 
class  QWaylandShmBackingStore
 
class  QWaylandShmBuffer
 
class  QWaylandShmWindow
 
class  QWaylandSubSurface
 
class  QWaylandSurface
 
class  QWaylandTabletManagerV2
 
class  QWaylandTabletPadV2
 
class  QWaylandTabletSeatV2
 
class  QWaylandTabletToolV2
 
class  QWaylandTabletV2
 
class  QWaylandTextInputInterface
 
class  QWaylandTextInputMethod
 
class  QWaylandTextInputv1
 
class  QWaylandTextInputv2
 
class  QWaylandTextInputv4
 
class  QWaylandTouchExtension
 
class  QWaylandViewport
 
class  QWaylandVulkanInstance
 
class  QWaylandVulkanWindow
 
class  QWaylandWindow
 
class  QWaylandWindowManagerIntegration
 
class  QWaylandWindowManagerIntegrationPrivate
 
class  QWaylandWlShellIntegration
 
class  QWaylandWlShellIntegrationPlugin
 
class  QWaylandWlShellSurface
 
class  QWaylandXdgActivationTokenV1
 
class  QWaylandXdgActivationV1
 
class  QWaylandXdgDecorationManagerV1
 
class  QWaylandXdgExportedV2
 
class  QWaylandXdgExporterV2
 
class  QWaylandXdgOutputManagerV1
 
class  QWaylandXdgShell
 
class  QWaylandXdgShellIntegration
 
class  QWaylandXdgShellIntegrationPlugin
 
class  QWaylandXdgSurface
 
class  QWaylandXdgToplevelDecorationV1
 
class  ReleaseEvent
 
class  ShmServerBuffer
 
class  ShmServerBufferIntegration
 
class  ShmServerBufferPlugin
 
class  VulkanServerBuffer
 
struct  VulkanServerBufferGlFunctions
 
class  VulkanServerBufferIntegration
 
class  VulkanServerBufferPlugin
 
class  WheelEvent
 

Typedefs

typedef void(* RegistryListener) (void *data, struct wl_registry *registry, uint32_t id, const QString &interface, uint32_t version)
 

Enumerations

enum  Button { None , Close , Maximize , Minimize }
 

Functions

 Q_GLOBAL_STATIC_WITH_ARGS (QFactoryLoader, qwcbifLoader,(QWaylandClientBufferIntegrationFactoryInterface_iid, QLatin1String("/wayland-graphics-integration-client"), Qt::CaseInsensitive)) QStringList QWaylandClientBufferIntegrationFactory
 
 Q_GLOBAL_STATIC_WITH_ARGS (QFactoryLoader, qwsbifLoader,(QWaylandServerBufferIntegrationFactoryInterface_iid, QLatin1String("/wayland-graphics-integration-client"), Qt::CaseInsensitive)) QStringList QWaylandServerBufferIntegrationFactory
 
 Q_GLOBAL_STATIC_WITH_ARGS (QFactoryLoader, qwidfiLoader,(QWaylandInputDeviceIntegrationFactoryInterface_iid, QLatin1String("/wayland-inputdevice-integration"), Qt::CaseInsensitive)) QStringList QWaylandInputDeviceIntegrationFactory
 
static QRegion marginsRegion (const QSize &size, const QMargins &margins)
 
static QtWayland::wp_cursor_shape_device_v1::shape qtCursorShapeToWaylandShape (Qt::CursorShape cursorShape)
 
static QString utf8Text ()
 
 Q_GLOBAL_STATIC_WITH_ARGS (QFactoryLoader, qwdfiLoader,(QWaylandDecorationFactoryInterface_iid, QLatin1String("/wayland-decoration-client"), Qt::CaseInsensitive)) QStringList QWaylandDecorationFactory
 
 Q_LOGGING_CATEGORY (lcQpaWayland, "qt.qpa.wayland")
 
Q_WAYLANDCLIENT_EXPORT Q_DECLARE_LOGGING_CATEGORY (lcQpaWayland)
 
::wl_surface * surfaceForWindow (QWindow *window)
 
 Q_LOGGING_CATEGORY (lcQpaWaylandInput, "qt.qpa.wayland.input")
 
 Q_DECLARE_LOGGING_CATEGORY (lcQpaWaylandInput)
 
static int calculateOffset (const QString &text, int cursorPos)
 
static QString mapSurroundingTextToCompositor (const QString &s, int offset)
 
static int mapPositionToCompositor (int pos, int offset)
 
static int mapPositionFromCompositor (int pos, int offset)
 
static Qt::MouseButton mouseButtonFromTablet (uint button)
 
static qreal fromFixed (int f)
 
static QWaylandWindowclosestShellSurfaceWindow (QWindow *window)
 
 Q_GLOBAL_STATIC_WITH_ARGS (QFactoryLoader, qwsifLoader,(QWaylandShellIntegrationFactoryInterface_iid, QLatin1String("/wayland-shell-integration"), Qt::CaseInsensitive)) QStringList QWaylandShellIntegrationFactory
 
QSurfaceFormat brcmFixFormat (const QSurfaceFormat &f)
 
static bool testShowWithoutActivating (const QWindow *window)
 

Variables

static const int MaxTouchPoints = 10
 
static constexpr int maxStringSize = 1000
 
static constexpr bool sbiExtraDebug
 
static VulkanServerBufferGlFunctionsfuncs = nullptr
 
static const char * qwaylandegl_threadedgl_blacklist_vendor []
 

Typedef Documentation

◆ RegistryListener

typedef void(* QtWaylandClient::RegistryListener) (void *data, struct wl_registry *registry, uint32_t id, const QString &interface, uint32_t version)

Definition at line 89 of file qwaylanddisplay_p.h.

Enumeration Type Documentation

◆ Button

Enumerator
None 
Close 
Maximize 
Minimize 

Definition at line 27 of file main.cpp.

Function Documentation

◆ brcmFixFormat()

QSurfaceFormat QtWaylandClient::brcmFixFormat ( const QSurfaceFormat f)

Definition at line 136 of file qwaylandbrcmeglwindow.cpp.

◆ calculateOffset()

static int QtWaylandClient::calculateOffset ( const QString text,
int  cursorPos 
)
static

Definition at line 73 of file qwaylandinputmethodcontext.cpp.

References maxStringSize, QString::size(), and text.

Referenced by QtWaylandClient::QWaylandTextInputMethod::sendInputState().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ closestShellSurfaceWindow()

static QWaylandWindow * QtWaylandClient::closestShellSurfaceWindow ( QWindow window)
static

Definition at line 1074 of file qwaylandwindow.cpp.

References closestShellSurfaceWindow(), and window().

Referenced by closestShellSurfaceWindow().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ fromFixed()

static qreal QtWaylandClient::fromFixed ( int  f)
inlinestatic

Definition at line 35 of file qwaylandtouch.cpp.

Referenced by QtWaylandClient::QWaylandTouchExtension::touch_extension_touch().

+ Here is the caller graph for this function:

◆ mapPositionFromCompositor()

static int QtWaylandClient::mapPositionFromCompositor ( int  pos,
int  offset 
)
static

Definition at line 94 of file qwaylandinputmethodcontext.cpp.

References pos.

Referenced by QtWaylandClient::QWaylandTextInputMethod::text_input_method_v1_input_method_event_attribute().

+ Here is the caller graph for this function:

◆ mapPositionToCompositor()

static int QtWaylandClient::mapPositionToCompositor ( int  pos,
int  offset 
)
static

Definition at line 89 of file qwaylandinputmethodcontext.cpp.

References pos.

Referenced by QtWaylandClient::QWaylandTextInputMethod::sendInputState().

+ Here is the caller graph for this function:

◆ mapSurroundingTextToCompositor()

static QString QtWaylandClient::mapSurroundingTextToCompositor ( const QString s,
int  offset 
)
static

Definition at line 84 of file qwaylandinputmethodcontext.cpp.

References maxStringSize, and QString::mid().

Referenced by QtWaylandClient::QWaylandTextInputMethod::sendInputState().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ marginsRegion()

static QRegion QtWaylandClient::marginsRegion ( const QSize size,
const QMargins margins 
)
static

Definition at line 72 of file qwaylandabstractdecoration.cpp.

References QMargins::bottom(), QMargins::left(), QMargins::right(), and QMargins::top().

Referenced by QtWaylandClient::QWaylandAbstractDecoration::contentImage().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ mouseButtonFromTablet()

static Qt::MouseButton QtWaylandClient::mouseButtonFromTablet ( uint  button)
static

Definition at line 306 of file qwaylandtabletv2.cpp.

References button, Qt::LeftButton, Qt::MiddleButton, Qt::NoButton, and Qt::RightButton.

Referenced by QtWaylandClient::QWaylandTabletToolV2::zwp_tablet_tool_v2_button().

+ Here is the caller graph for this function:

◆ Q_DECLARE_LOGGING_CATEGORY() [1/2]

Q_WAYLANDCLIENT_EXPORT QtWaylandClient::Q_DECLARE_LOGGING_CATEGORY ( lcQpaWayland  )

◆ Q_DECLARE_LOGGING_CATEGORY() [2/2]

QtWaylandClient::Q_DECLARE_LOGGING_CATEGORY ( lcQpaWaylandInput  )

◆ Q_GLOBAL_STATIC_WITH_ARGS() [1/5]

QtWaylandClient::Q_GLOBAL_STATIC_WITH_ARGS ( QFactoryLoader  ,
qwcbifLoader  ,
(QWaylandClientBufferIntegrationFactoryInterface_iid, QLatin1String("/wayland-graphics-integration-client"), Qt::CaseInsensitive  
)

Definition at line 15 of file qwaylandclientbufferintegrationfactory.cpp.

◆ Q_GLOBAL_STATIC_WITH_ARGS() [2/5]

QtWaylandClient::Q_GLOBAL_STATIC_WITH_ARGS ( QFactoryLoader  ,
qwdfiLoader  ,
(QWaylandDecorationFactoryInterface_iid, QLatin1String("/wayland-decoration-client"), Qt::CaseInsensitive  
)

Definition at line 15 of file qwaylanddecorationfactory.cpp.

◆ Q_GLOBAL_STATIC_WITH_ARGS() [3/5]

QtWaylandClient::Q_GLOBAL_STATIC_WITH_ARGS ( QFactoryLoader  ,
qwidfiLoader  ,
(QWaylandInputDeviceIntegrationFactoryInterface_iid, QLatin1String("/wayland-inputdevice-integration"), Qt::CaseInsensitive  
)

Definition at line 15 of file qwaylandinputdeviceintegrationfactory.cpp.

◆ Q_GLOBAL_STATIC_WITH_ARGS() [4/5]

QtWaylandClient::Q_GLOBAL_STATIC_WITH_ARGS ( QFactoryLoader  ,
qwsbifLoader  ,
(QWaylandServerBufferIntegrationFactoryInterface_iid, QLatin1String("/wayland-graphics-integration-client"), Qt::CaseInsensitive  
)

Definition at line 15 of file qwaylandserverbufferintegrationfactory.cpp.

◆ Q_GLOBAL_STATIC_WITH_ARGS() [5/5]

QtWaylandClient::Q_GLOBAL_STATIC_WITH_ARGS ( QFactoryLoader  ,
qwsifLoader  ,
(QWaylandShellIntegrationFactoryInterface_iid, QLatin1String("/wayland-shell-integration"), Qt::CaseInsensitive  
)

Definition at line 15 of file qwaylandshellintegrationfactory.cpp.

◆ Q_LOGGING_CATEGORY() [1/2]

QtWaylandClient::Q_LOGGING_CATEGORY ( lcQpaWayland  ,
"qt.qpa.wayland"   
)

◆ Q_LOGGING_CATEGORY() [2/2]

QtWaylandClient::Q_LOGGING_CATEGORY ( lcQpaWaylandInput  ,
"qt.qpa.wayland.input"   
)

◆ qtCursorShapeToWaylandShape()

static QtWayland::wp_cursor_shape_device_v1::shape QtWaylandClient::qtCursorShapeToWaylandShape ( Qt::CursorShape  cursorShape)
static

Definition at line 219 of file qwaylandcursor.cpp.

References Qt::ArrowCursor, Qt::BitmapCursor, Qt::BlankCursor, Qt::BusyCursor, Qt::ClosedHandCursor, Qt::CrossCursor, Qt::CustomCursor, Qt::DragCopyCursor, Qt::DragLinkCursor, Qt::DragMoveCursor, Qt::ForbiddenCursor, Qt::IBeamCursor, Qt::OpenHandCursor, Qt::PointingHandCursor, Q_ASSERT, qtCursorShapeToWaylandShape(), Qt::SizeAllCursor, Qt::SizeBDiagCursor, Qt::SizeFDiagCursor, Qt::SizeHorCursor, Qt::SizeVerCursor, Qt::SplitHCursor, Qt::SplitVCursor, Qt::UpArrowCursor, Qt::WaitCursor, and Qt::WhatsThisCursor.

Referenced by qtCursorShapeToWaylandShape().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ surfaceForWindow()

::wl_surface * QtWaylandClient::surfaceForWindow ( QWindow window)
static

Definition at line 71 of file qwaylandinputcontext.cpp.

References window(), and QtWaylandClient::QWaylandWindow::wlSurface().

Referenced by QtWaylandClient::QWaylandInputContext::update().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ testShowWithoutActivating()

static bool QtWaylandClient::testShowWithoutActivating ( const QWindow window)
inlinestatic

Definition at line 174 of file qwaylandwlshellsurface.cpp.

References QVariant::isValid(), QVariant::toBool(), and window().

+ Here is the call graph for this function:

◆ utf8Text()

static QString QtWaylandClient::utf8Text ( )
static

Definition at line 18 of file qwaylanddataoffer.cpp.

References QStringLiteral.

Referenced by QtWaylandClient::QWaylandMimeData::hasFormat_sys(), and QtWaylandClient::QWaylandMimeData::retrieveData_sys().

+ Here is the caller graph for this function:

Variable Documentation

◆ funcs

◆ maxStringSize

constexpr int QtWaylandClient::maxStringSize = 1000
staticconstexpr

◆ MaxTouchPoints

const int QtWaylandClient::MaxTouchPoints = 10
static

◆ qwaylandegl_threadedgl_blacklist_vendor

const char* QtWaylandClient::qwaylandegl_threadedgl_blacklist_vendor[]
static

◆ sbiExtraDebug

constexpr bool QtWaylandClient::sbiExtraDebug
staticconstexpr