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
QtWaylandClient Namespace Reference

Classes

class  ColorManagementFeedback
 
class  ColorManagementSurface
 
class  ColorManager
 
class  DecorationsBlitter
 
class  DmaBufServerBuffer
 
class  DmaBufServerBufferIntegration
 
class  DmaBufServerBufferPlugin
 
class  DrmEglServerBufferIntegration
 
class  DrmEglServerBufferPlugin
 
class  DrmServerBuffer
 
class  EnterEvent
 
class  EventThread
 
class  ImageDescription
 
class  ImageDescriptionInfo
 
class  LeaveEvent
 
class  LibHybrisEglServerBufferIntegration
 
class  LibHybrisEglServerBufferPlugin
 
class  LibHybrisServerBuffer
 
class  MotionEvent
 
class  PressEvent
 
class  QWaylandAbstractDataOffer
 
class  QWaylandAbstractDecoration
 
class  QWaylandAbstractDecorationPrivate
 
class  QWaylandAdwaitaDecoration
 
class  QWaylandAdwaitaDecorationPlugin
 
class  QWaylandAppMenu
 
class  QWaylandAppMenuManager
 
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  QWaylandDataControlDeviceV1
 
class  QWaylandDataControlManagerV1
 
class  QWaylandDataControlOfferV1
 
class  QWaylandDataControlSourceV1
 
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  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  QWaylandPlatformServices
 
class  QWaylandPointerEvent
 
class  QWaylandPointerGesturePinch
 
class  QWaylandPointerGesturePinchEvent
 
class  QWaylandPointerGestures
 
class  QWaylandPointerGestureSwipe
 
class  QWaylandPointerGestureSwipeEvent
 
class  QWaylandPrimarySelectionDeviceManagerV1
 
class  QWaylandPrimarySelectionDeviceV1
 
class  QWaylandPrimarySelectionOfferV1
 
class  QWaylandPrimarySelectionSourceV1
 
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  QWaylandTextInputv3
 
class  QWaylandViewport
 
class  QWaylandVulkanInstance
 
class  QWaylandVulkanWindow
 
class  QWaylandWindow
 
class  QWaylandWindowManagerIntegration
 
class  QWaylandWlShellIntegration
 
class  QWaylandWlShellIntegrationPlugin
 
class  QWaylandWlShellSurface
 
class  QWaylandXdgActivationTokenV1
 
class  QWaylandXdgActivationV1
 
class  QWaylandXdgDecorationManagerV1
 
class  QWaylandXdgDialogV1
 
class  QWaylandXdgDialogWmV1
 
class  QWaylandXdgExportedV2
 
class  QWaylandXdgExporterV2
 
class  QWaylandXdgOutputManagerV1
 
class  QWaylandXdgShell
 
class  QWaylandXdgShellIntegration
 
class  QWaylandXdgShellIntegrationPlugin
 
class  QWaylandXdgSurface
 
class  QWaylandXdgToplevelDecorationV1
 
class  QWaylandXdgToplevelIconManagerV1
 
class  QWaylandXdgToplevelIconV1
 
class  ReleaseEvent
 
class  ShmServerBuffer
 
class  ShmServerBufferIntegration
 
class  ShmServerBufferPlugin
 
class  VulkanServerBuffer
 
struct  VulkanServerBufferGlFunctions
 
class  VulkanServerBufferIntegration
 
class  VulkanServerBufferPlugin
 
class  WheelEvent
 
struct  WithDestructor
 
class  WlCallback
 

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 ,
  None , Close , Maximize , Minimize
}
 
enum  Button {
  None , Close , Maximize , Minimize ,
  None , Close , Maximize , Minimize
}
 

Functions

 Q_GLOBAL_STATIC_WITH_ARGS (QFactoryLoader, qwcbifLoader,(QWaylandClientBufferIntegrationFactoryInterface_iid, QLatin1String("/wayland-graphics-integration-client"), Qt::CaseInsensitive)) QStringList QWaylandClientBufferIntegrationFactory
 
 QT_DECLARE_EXPORTED_QT_LOGGING_CATEGORY (lcQpaWayland, Q_WAYLANDCLIENT_EXPORT)
 
 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)
 
 Q_DECLARE_LOGGING_CATEGORY (lcQpaWaylandInput)
 
static QtWayland::wp_cursor_shape_device_v1::shape qtCursorShapeToWaylandShape (Qt::CursorShape cursorShape)
 
static QString plainText ()
 
static QString utf8Text ()
 
static QString uriList ()
 
static QString mozUrl ()
 
static QString portalFileTransfer ()
 
static QByteArray convertData (const QString &originalMime, const QString &newMime, const QByteArray &data)
 
 Q_GLOBAL_STATIC_WITH_ARGS (QFactoryLoader, qwdfiLoader,(QWaylandDecorationFactoryInterface_iid, QLatin1String("/wayland-decoration-client"), Qt::CaseInsensitive)) QStringList QWaylandDecorationFactory
 
 Q_LOGGING_CATEGORY (lcQpaWayland, "qt.qpa.wayland")
 
::wl_surface * surfaceForWindow (QWindow *window)
 
 Q_LOGGING_CATEGORY (lcQpaWaylandInput, "qt.qpa.wayland.input")
 
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 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)
 
const QDBusArgumentoperator>> (const QDBusArgument &argument, QMap< QString, QVariantMap > &map)
 
QString getIconSvg (const QString &iconName)
 
static void renderFlatRoundedButtonFrame (QPainter *painter, const QRect &rect, const QColor &color)
 
static void renderButtonIcon (const QString &svgIcon, QPainter *painter, const QRect &rect, const QColor &color)
 
static void renderButtonIcon (QWaylandAdwaitaDecoration::ButtonIcon buttonIcon, QPainter *painter, const QRect &rect)
 
static QWaylandAdwaitaDecoration::ButtonIcon iconFromButtonAndState (QWaylandAdwaitaDecoration::Button button, bool maximized)
 
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 []
 
static constexpr int ceButtonSpacing = 12
 
static constexpr int ceButtonWidth = 24
 
static constexpr int ceCornerRadius = 12
 
static constexpr int ceShadowsWidth = 10
 
static constexpr int ceTitlebarHeight = 38
 
static constexpr int ceWindowBorderWidth = 1
 
static QMap< QWaylandAdwaitaDecoration::ButtonIcon, QStringbuttonMap
 

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 95 of file qwaylanddisplay_p.h.

Enumeration Type Documentation

◆ Button [1/2]

Enumerator
None 
Close 
Maximize 
Minimize 
None 
Close 
Maximize 
Minimize 

Definition at line 27 of file main.cpp.

◆ Button [2/2]

Enumerator
None 
Close 
Maximize 
Minimize 
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.

◆ closestShellSurfaceWindow()

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

Definition at line 1156 of file qwaylandwindow.cpp.

◆ convertData()

static QByteArray QtWaylandClient::convertData ( const QString & originalMime,
const QString & newMime,
const QByteArray & data )
static

Definition at line 45 of file qwaylanddataoffer.cpp.

◆ getIconSvg()

QString QtWaylandClient::getIconSvg ( const QString & iconName)

Definition at line 264 of file qwaylandadwaitadecoration.cpp.

◆ iconFromButtonAndState()

◆ mapPositionFromCompositor()

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

Definition at line 94 of file qwaylandinputmethodcontext.cpp.

◆ mapPositionToCompositor()

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

Definition at line 89 of file qwaylandinputmethodcontext.cpp.

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.

◆ marginsRegion()

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

Definition at line 72 of file qwaylandabstractdecoration.cpp.

◆ mouseButtonFromTablet()

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

Definition at line 492 of file qwaylandtabletv2.cpp.

◆ mozUrl()

static QString QtWaylandClient::mozUrl ( )
static

Definition at line 35 of file qwaylanddataoffer.cpp.

◆ operator>>()

const QDBusArgument & QtWaylandClient::operator>> ( const QDBusArgument & argument,
QMap< QString, QVariantMap > & map )

Definition at line 57 of file qwaylandadwaitadecoration.cpp.

◆ plainText()

static QString QtWaylandClient::plainText ( )
static

Definition at line 20 of file qwaylanddataoffer.cpp.

◆ portalFileTransfer()

static QString QtWaylandClient::portalFileTransfer ( )
static

Definition at line 40 of file qwaylanddataoffer.cpp.

◆ Q_DECLARE_LOGGING_CATEGORY()

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"  )

◆ QT_DECLARE_EXPORTED_QT_LOGGING_CATEGORY()

QtWaylandClient::QT_DECLARE_EXPORTED_QT_LOGGING_CATEGORY ( lcQpaWayland ,
Q_WAYLANDCLIENT_EXPORT  )

◆ qtCursorShapeToWaylandShape()

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

Definition at line 222 of file qwaylandcursor.cpp.

◆ renderButtonIcon() [1/2]

static void QtWaylandClient::renderButtonIcon ( const QString & svgIcon,
QPainter * painter,
const QRect & rect,
const QColor & color )
static

Definition at line 458 of file qwaylandadwaitadecoration.cpp.

◆ renderButtonIcon() [2/2]

static void QtWaylandClient::renderButtonIcon ( QWaylandAdwaitaDecoration::ButtonIcon buttonIcon,
QPainter * painter,
const QRect & rect )
static

Definition at line 476 of file qwaylandadwaitadecoration.cpp.

◆ renderFlatRoundedButtonFrame()

static void QtWaylandClient::renderFlatRoundedButtonFrame ( QPainter * painter,
const QRect & rect,
const QColor & color )
static

Definition at line 448 of file qwaylandadwaitadecoration.cpp.

◆ surfaceForWindow()

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

Definition at line 68 of file qwaylandinputcontext.cpp.

◆ testShowWithoutActivating()

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

Definition at line 139 of file qwaylandwlshellsurface.cpp.

◆ uriList()

static QString QtWaylandClient::uriList ( )
static

Definition at line 30 of file qwaylanddataoffer.cpp.

◆ utf8Text()

static QString QtWaylandClient::utf8Text ( )
static

Definition at line 25 of file qwaylanddataoffer.cpp.

Variable Documentation

◆ buttonMap

◆ ceButtonSpacing

static constexpr int QtWaylandClient::ceButtonSpacing = 12
staticconstexpr

Definition at line 43 of file qwaylandadwaitadecoration.cpp.

◆ ceButtonWidth

static constexpr int QtWaylandClient::ceButtonWidth = 24
staticconstexpr

Definition at line 44 of file qwaylandadwaitadecoration.cpp.

◆ ceCornerRadius

static constexpr int QtWaylandClient::ceCornerRadius = 12
staticconstexpr

Definition at line 45 of file qwaylandadwaitadecoration.cpp.

◆ ceShadowsWidth

static constexpr int QtWaylandClient::ceShadowsWidth = 10
staticconstexpr

◆ ceTitlebarHeight

static constexpr int QtWaylandClient::ceTitlebarHeight = 38
staticconstexpr

◆ ceWindowBorderWidth

static constexpr int QtWaylandClient::ceWindowBorderWidth = 1
staticconstexpr

◆ funcs

static VulkanServerBufferGlFunctions * QtWaylandClient::funcs = nullptr
static

◆ maxStringSize

static constexpr int QtWaylandClient::maxStringSize = 1000
staticconstexpr

◆ MaxTouchPoints

static const int QtWaylandClient::MaxTouchPoints = 10
static

Definition at line 64 of file qwaylandinputdevice.cpp.

◆ qwaylandegl_threadedgl_blacklist_vendor

static const char * QtWaylandClient::qwaylandegl_threadedgl_blacklist_vendor
static
Initial value:
= {
0
}

Definition at line 26 of file qwaylandeglclientbufferintegration.cpp.

◆ sbiExtraDebug

static constexpr bool QtWaylandClient::sbiExtraDebug
staticconstexpr