/dports/graphics/qt5-wayland/kde-qtwayland-5.15.2p37/src/compositor/compositor_api/ |
H A D | qwaylandsurface.cpp | 144 Q_Q(QWaylandSurface); in notifyViewsAboutDestruction() 178 Q_Q(QWaylandSurface); in surface_destroy_resource() 205 Q_Q(QWaylandSurface); in surface_frame() 226 Q_Q(QWaylandSurface); in surface_commit() 303 Q_Q(QWaylandSurface); in surface_set_buffer_transform() 359 QWaylandSurface::QWaylandSurface() in QWaylandSurface() function in QWaylandSurface 377 QWaylandSurface::QWaylandSurface(QWaylandSurfacePrivate &dptr) in QWaylandSurface() function in QWaylandSurface 385 QWaylandSurface::~QWaylandSurface() in ~QWaylandSurface() 387 Q_D(QWaylandSurface); in ~QWaylandSurface() 651 QWaylandSurface::Origin QWaylandSurface::origin() const in origin() [all …]
|
H A D | qwaylandsurface.h | 69 class Q_WAYLAND_COMPOSITOR_EXPORT QWaylandSurface : public QWaylandObject 72 Q_DECLARE_PRIVATE(QWaylandSurface) 82 Q_PROPERTY(QWaylandSurface::Origin origin READ origin NOTIFY originChanged) 94 QWaylandSurface(); 96 ~QWaylandSurface() override; 137 static QWaylandSurface *fromResource(::wl_resource *resource); 155 QWaylandSurface(QWaylandSurfacePrivate &dptr); 160 void parentChanged(QWaylandSurface *newParent, QWaylandSurface *oldParent); 161 void childAdded(QWaylandSurface *child); 174 void subsurfacePlaceAbove(QWaylandSurface *sibling); [all …]
|
H A D | qwaylandseat.h | 44 class QWaylandSurface; variable 92 …uint sendTouchPointEvent(QWaylandSurface *surface, int id, const QPointF &point, Qt::TouchPointSta… 93 … Q_INVOKABLE uint sendTouchPointPressed(QWaylandSurface *surface, int id, const QPointF &position); 94 …Q_INVOKABLE uint sendTouchPointReleased(QWaylandSurface *surface, int id, const QPointF &position); 95 Q_INVOKABLE uint sendTouchPointMoved(QWaylandSurface *surface, int id, const QPointF &position); 99 void sendFullTouchEvent(QWaylandSurface *surface, QTouchEvent *event); 108 QWaylandSurface *keyboardFocus() const; 109 bool setKeyboardFocus(QWaylandSurface *surface); 128 void keyboardFocusChanged(QWaylandSurface *newFocus, QWaylandSurface *oldFocus); 129 void cursorSurfaceRequest(QWaylandSurface *surface, int hotspotX, int hotspotY);
|
H A D | qwaylandquickitem.h | 55 Q_PROPERTY(QWaylandSurface *surface READ surface WRITE setSurface NOTIFY surfaceChanged) 58 Q_PROPERTY(QWaylandSurface::Origin origin READ origin NOTIFY originChanged) 73 QWaylandSurface *surface() const; 74 void setSurface(QWaylandSurface *surface); 76 QWaylandSurface::Origin origin() const; 140 virtual void surfaceChangedEvent(QWaylandSurface *newSurface, QWaylandSurface *oldSurface); 151 void parentChanged(QWaylandSurface *newParent, QWaylandSurface *oldParent); 157 void handleSubsurfaceAdded(QWaylandSurface *childSurface); 159 void handlePlaceAbove(QWaylandSurface *referenceSurface); 160 void handlePlaceBelow(QWaylandSurface *referenceSurface);
|
H A D | qwaylandquickitem.cpp | 410 QWaylandSurface *QWaylandQuickItem::surface() const in surface() 416 void QWaylandQuickItem::setSurface(QWaylandSurface *surface) in setSurface() 419 QWaylandSurface *oldSurf = d->view->surface(); in setSurface() 441 QWaylandSurface::Origin QWaylandQuickItem::origin() const in origin() 725 void QWaylandQuickItem::surfaceChangedEvent(QWaylandSurface *newSurface, QWaylandSurface *oldSurfac… in surfaceChangedEvent() 731 void QWaylandQuickItem::handleSubsurfaceAdded(QWaylandSurface *childSurface) in handleSubsurfaceAdded() 748 void QWaylandQuickItem::handlePlaceAbove(QWaylandSurface *referenceSurface) in handlePlaceAbove() 765 void QWaylandQuickItem::handlePlaceBelow(QWaylandSurface *referenceSurface) in handlePlaceBelow() 925 if (QWaylandSurface *newSurface = d->view->surface()) { in handleSurfaceChanged() 996 void QWaylandQuickItem::parentChanged(QWaylandSurface *newParent, QWaylandSurface *oldParent) in parentChanged() [all …]
|
H A D | qwaylandcompositor.h | 53 class QWaylandSurface; variable 94 Q_INVOKABLE void destroyClientForSurface(QWaylandSurface *surface); in Q_DECLARE_LOGGING_CATEGORY() 97 QList<QWaylandSurface *> surfaces() const; in Q_DECLARE_LOGGING_CATEGORY() 98 QList<QWaylandSurface *> surfacesForClient(QWaylandClient* client) const; in Q_DECLARE_LOGGING_CATEGORY() 130 void surfaceCreated(QWaylandSurface *surface); in Q_DECLARE_LOGGING_CATEGORY() 131 void surfaceAboutToBeDestroyed(QWaylandSurface *surface); in Q_DECLARE_LOGGING_CATEGORY() 132 void subsurfaceChanged(QWaylandSurface *child, QWaylandSurface *parent); in Q_DECLARE_LOGGING_CATEGORY()
|
H A D | qwaylanddrag.h | 43 class QWaylandSurface; variable 51 Q_PROPERTY(QWaylandSurface *icon READ icon NOTIFY iconChanged) 57 QWaylandSurface *icon() const; 58 QWaylandSurface *origin() const; 63 void dragMove(QWaylandSurface *target, const QPointF &pos);
|
H A D | qwaylandinputmethodcontrol.h | 40 class QWaylandSurface; variable 51 explicit QWaylandInputMethodControl(QWaylandSurface *surface); 60 void setSurface(QWaylandSurface *surface); 68 void surfaceEnabled(QWaylandSurface *surface); 69 void surfaceDisabled(QWaylandSurface *surface);
|
H A D | qwaylandview_p.h | 54 class QWaylandSurface; variable 66 void markSurfaceAsDestroyed(QWaylandSurface *surface); 67 void setSurface(QWaylandSurface *newSurface); 71 QWaylandSurface *surface = nullptr;
|
H A D | qwaylandcompositor.cpp | 281 void QWaylandCompositorPrivate::destroySurface(QWaylandSurface *surface) in destroySurface() 333 QWaylandSurface *surface = nullptr; in compositor_create_surface() 335 surface = QWaylandSurface::fromResource(surfResource); in compositor_create_surface() 353 QWaylandSurface *childSurface = QWaylandSurface::fromResource(surface); in subcompositor_get_subsurface() 354 QWaylandSurface *parentSurface = QWaylandSurface::fromResource(parent); in subcompositor_get_subsurface() 365 QWaylandSurface *QWaylandCompositorPrivate::createDefaultSurface() in createDefaultSurface() 367 return new QWaylandSurface(); in createDefaultSurface() 724 QList<QWaylandSurface *> surfs; in surfacesForClient() 725 for (QWaylandSurface *surface : d->all_surfaces) { in surfacesForClient() 735 QList<QWaylandSurface *> QWaylandCompositor::surfaces() const in surfaces() [all …]
|
H A D | qwaylandinputmethodcontrol.cpp | 41 QWaylandInputMethodControl::QWaylandInputMethodControl(QWaylandSurface *surface) in QWaylandInputMethodControl() 98 void QWaylandInputMethodControl::surfaceEnabled(QWaylandSurface *surface) in surfaceEnabled() 106 void QWaylandInputMethodControl::surfaceDisabled(QWaylandSurface *surface) in surfaceDisabled() 114 void QWaylandInputMethodControl::setSurface(QWaylandSurface *surface) in setSurface() 142 QWaylandInputMethodControlPrivate::QWaylandInputMethodControlPrivate(QWaylandSurface *surface) in QWaylandInputMethodControlPrivate()
|
H A D | qwaylandview.h | 41 class QWaylandSurface; variable 50 Q_PROPERTY(QWaylandSurface *surface READ surface WRITE setSurface NOTIFY surfaceChanged) 60 QWaylandSurface *surface() const; 61 void setSurface(QWaylandSurface *surface);
|
/dports/graphics/qt5-wayland/kde-qtwayland-5.15.2p37/src/client/ |
H A D | qwaylandsurface.cpp | 50 QWaylandSurface::QWaylandSurface(QWaylandDisplay *display) in QWaylandSurface() function in QtWaylandClient::QWaylandSurface 53 connect(qApp, &QGuiApplication::screenRemoved, this, &QWaylandSurface::handleScreenRemoved); in QWaylandSurface() 56 QWaylandSurface::~QWaylandSurface() in ~QWaylandSurface() 61 QWaylandScreen *QWaylandSurface::oldestEnteredScreen() in oldestEnteredScreen() 66 QWaylandSurface *QWaylandSurface::fromWlSurface(::wl_surface *surface) in fromWlSurface() 69 return static_cast<QWaylandSurface *>(s); in fromWlSurface() 73 void QWaylandSurface::handleScreenRemoved(QScreen *qScreen) in handleScreenRemoved() 84 void QWaylandSurface::surface_enter(wl_output *output) in surface_enter() 104 void QWaylandSurface::surface_leave(wl_output *output) in surface_leave()
|
H A D | qwaylandsurface_p.h | 66 class QWaylandSurface : public QObject, public QtWayland::wl_surface 70 explicit QWaylandSurface(QWaylandDisplay *display); 71 ~QWaylandSurface() override; 75 static QWaylandSurface *fromWlSurface(::wl_surface *surface);
|
/dports/graphics/qt5-wayland/kde-qtwayland-5.15.2p37/src/compositor/extensions/ |
H A D | qwaylandxdgshellv5.h | 53 class QWaylandSurface; variable 78 void xdgSurfaceRequested(QWaylandSurface *surface, const QWaylandResource &resource); 81 …void xdgPopupRequested(QWaylandSurface *surface, QWaylandSurface *parent, QWaylandSeat *seat, cons… 86 void handleFocusChanged(QWaylandSurface *newSurface, QWaylandSurface *oldSurface); 96 Q_PROPERTY(QWaylandSurface *surface READ surface NOTIFY surfaceChanged) 148 QWaylandSurface *surface() const; 211 Q_PROPERTY(QWaylandSurface *surface READ surface NOTIFY surfaceChanged) 217 …QWaylandXdgPopupV5(QWaylandXdgShellV5 *xdgShell, QWaylandSurface *surface, QWaylandSurface *parent… 222 Q_INVOKABLE void initialize(QWaylandXdgShellV5 *shell, QWaylandSurface *surface, 227 QWaylandSurface *surface() const; [all …]
|
H A D | qwaylandtextinput.h | 43 class QWaylandSurface; variable 58 QWaylandSurface *focus() const; 59 void setFocus(QWaylandSurface *surface); 61 bool isSurfaceEnabled(QWaylandSurface *surface) const; 69 void surfaceEnabled(QWaylandSurface *surface); 70 void surfaceDisabled(QWaylandSurface *surface);
|
H A D | qwaylandwlshell.h | 45 class QWaylandSurface; variable 73 void wlShellSurfaceRequested(QWaylandSurface *surface, const QWaylandResource &resource); 82 Q_PROPERTY(QWaylandSurface *surface READ surface NOTIFY surfaceChanged) 110 …QWaylandWlShellSurface(QWaylandWlShell *shell, QWaylandSurface *surface, const QWaylandResource &r… 113 …Q_INVOKABLE void initialize(QWaylandWlShell *shell, QWaylandSurface *surface, const QWaylandResour… 118 QWaylandSurface *surface() const; 150 … void setTransient(QWaylandSurface *parentSurface, const QPoint &relativeToParent, bool inactive); 152 … void setPopup(QWaylandSeat *seat, QWaylandSurface *parentSurface, const QPoint &relativeToParent);
|
H A D | qwaylandivisurface.h | 41 class QWaylandSurface; variable 51 Q_PROPERTY(QWaylandSurface *surface READ surface NOTIFY surfaceChanged) 56 …QWaylandIviSurface(QWaylandIviApplication *application, QWaylandSurface *surface, uint iviId, cons… 58 Q_INVOKABLE void initialize(QWaylandIviApplication *iviApplication, QWaylandSurface *surface, 61 QWaylandSurface *surface() const;
|
H A D | qwaylandxdgshellv5.cpp | 89 bool QWaylandXdgShellV5Private::isValidPopupParent(QWaylandSurface *parentSurface) const in isValidPopupParent() 132 QWaylandSurface *surface = QWaylandSurface::fromResource(surface_res); in xdg_shell_get_xdg_surface() 176 QWaylandSurface *surface = QWaylandSurface::fromResource(surface_res); in xdg_shell_get_xdg_popup() 177 QWaylandSurface *parentSurface = QWaylandSurface::fromResource(parent); in xdg_shell_get_xdg_popup() 745 void QWaylandXdgShellV5::handleFocusChanged(QWaylandSurface *newSurface, QWaylandSurface *oldSurfac… in handleFocusChanged() 1075 QWaylandSurface *QWaylandXdgSurfaceV5::surface() const in surface() 1267 QWaylandSurface *surface = qobject_cast<QWaylandSurface *>(extensionContainer()); in sendConfigure() 1404 QWaylandXdgPopupV5::QWaylandXdgPopupV5(QWaylandXdgShellV5 *xdgShell, QWaylandSurface *surface, in QWaylandXdgPopupV5() 1422 …aylandXdgPopupV5::initialize(QWaylandXdgShellV5 *shell, QWaylandSurface *surface, QWaylandSurface … in initialize() 1467 QWaylandSurface *QWaylandXdgPopupV5::surface() const in surface() [all …]
|
/dports/graphics/qt5-wayland/kde-qtwayland-5.15.2p37/src/compositor/wayland_wrapper/ |
H A D | qwldatadevice_p.h | 68 void setDragFocus(QWaylandSurface *focus, const QPointF &localPosition); 70 QWaylandSurface *dragIcon() const; 71 QWaylandSurface *dragOrigin() const; 73 void dragMove(QWaylandSurface *target, const QPointF &pos); 86 void setDragIcon(QWaylandSurface *icon); 98 QWaylandSurface *m_dragFocus = nullptr; 101 QWaylandSurface *m_dragIcon = nullptr; 102 QWaylandSurface *m_dragOrigin = nullptr;
|
H A D | qwldatadevice.cpp | 82 void DataDevice::setDragFocus(QWaylandSurface *focus, const QPointF &localPosition) in setDragFocus() 116 QWaylandSurface *DataDevice::dragIcon() const in dragIcon() 121 QWaylandSurface *DataDevice::dragOrigin() const in dragOrigin() 126 void DataDevice::dragMove(QWaylandSurface *target, const QPointF &pos) in dragMove() 158 m_dragOrigin = QWaylandSurface::fromResource(origin); in data_device_start_drag() 160 setDragIcon(icon ? QWaylandSurface::fromResource(icon) : nullptr); in data_device_start_drag() 168 void DataDevice::setDragIcon(QWaylandSurface *icon) in setDragIcon()
|
/dports/misc/qt5-examples/qt-everywhere-src-5.15.2/qtwayland/examples/wayland/qwindow-compositor/ |
H A D | compositor.cpp | 83 m_origin = buf.origin() == QWaylandSurface::OriginTopLeft in getTexture() 217 void Compositor::onSurfaceCreated(QWaylandSurface *surface) in onSurfaceCreated() 221 connect(surface, &QWaylandSurface::redraw, this, &Compositor::triggerRender); in onSurfaceCreated() 234 QWaylandSurface *surface = qobject_cast<QWaylandSurface *>(sender()); in surfaceHasContentChanged() 267 View * Compositor::findView(const QWaylandSurface *s) const in findView() 305 void Compositor::onXdgPopupRequested(QWaylandSurface *surface, QWaylandSurface *parent, in onXdgPopupRequested() 371 void Compositor::onSubsurfaceChanged(QWaylandSurface *child, QWaylandSurface *parent) in onSubsurfaceChanged() 380 QWaylandSurface *surface = qobject_cast<QWaylandSurface*>(sender()); in onSubsurfacePositionChanged() 421 connect(surface, &QWaylandSurface::redraw, this, &Compositor::updateCursor); in adjustCursorSurface() 447 QWaylandSurface *surface = target ? target->surface() : nullptr; in handleMouseEvent() [all …]
|
H A D | compositor.h | 146 void adjustCursorSurface(QWaylandSurface *surface, int hotspotX, int hotspotY); 168 void onSurfaceCreated(QWaylandSurface *surface); 171 void onXdgPopupRequested(QWaylandSurface *surface, QWaylandSurface *parent, QWaylandSeat *seat, 173 …void onSetTransient(QWaylandSurface *parentSurface, const QPoint &relativeToParent, bool inactive); 174 void onSetPopup(QWaylandSeat *seat, QWaylandSurface *parent, const QPoint &relativeToParent); 176 void onSubsurfaceChanged(QWaylandSurface *child, QWaylandSurface *parent); 182 View *findView(const QWaylandSurface *s) const;
|
/dports/misc/qt5-examples/qt-everywhere-src-5.15.2/qtwayland/examples/wayland/custom-extension/compositor/ |
H A D | customextension.h | 72 void surfaceAdded(QWaylandSurface *surface); 73 void bounce(QWaylandSurface *surface, uint ms); 74 void spin(QWaylandSurface *surface, uint ms); 79 void setFontSize(QWaylandSurface *surface, uint pixelSize); 81 void close(QWaylandSurface *surface);
|
H A D | customextension.cpp | 69 void CustomExtension::setFontSize(QWaylandSurface *surface, uint pixelSize) in setFontSize() 92 void CustomExtension::close(QWaylandSurface *surface) in close() 106 auto surface = QWaylandSurface::fromResource(wl_surface); in example_extension_bounce() 114 auto surface = QWaylandSurface::fromResource(wl_surface); in example_extension_spin() 122 auto surface = QWaylandSurface::fromResource(wl_surface); in example_extension_register_surface()
|