|
KWin
|
#include <quickeffect.h>
Public Slots | |
| void | scheduleRepaint () |
Public Member Functions | |
| QuickSceneView (QuickSceneEffect *effect, Output *screen) | |
| ~QuickSceneView () override | |
| QuickSceneEffect * | effect () const |
| Output * | screen () const |
| QQuickItem * | rootItem () const |
| void | setRootItem (QQuickItem *item) |
| bool | isDirty () const |
| void | markDirty () |
| void | resetDirty () |
Public Member Functions inherited from KWin::OffscreenQuickView | |
| void | releaseResources () |
| void | updateTouchState (Qt::TouchPointState state, qint32 id, const QPointF &pos) |
| OffscreenQuickView (ExportMode exportMode=ExportMode::Texture, bool alpha=true) | |
| ~OffscreenQuickView () | |
| QSize | size () const |
| void | setGeometry (const QRect &rect) |
| QRect | geometry () const |
| void | setOpacity (qreal opacity) |
| qreal | opacity () const |
| bool | hasAlphaChannel () const |
| void | update () |
| QQuickItem * | contentItem () const |
| QQuickWindow * | window () const |
| void | setVisible (bool visible) |
| Marks the window as visible/invisible This can be used to release resources used by the window The default is true. | |
| bool | isVisible () const |
| void | show () |
| void | hide () |
| bool | automaticRepaint () const |
| void | setAutomaticRepaint (bool set) |
| GLTexture * | bufferAsTexture () |
| QImage | bufferAsImage () const |
| void | forwardMouseEvent (QEvent *mouseEvent) |
| void | forwardKeyEvent (QKeyEvent *keyEvent) |
| bool | forwardTouchDown (qint32 id, const QPointF &pos, std::chrono::microseconds time) |
| bool | forwardTouchMotion (qint32 id, const QPointF &pos, std::chrono::microseconds time) |
| bool | forwardTouchUp (qint32 id, std::chrono::microseconds time) |
Static Public Member Functions | |
| static QuickSceneView * | findView (QQuickItem *item) |
| static QuickSceneView * | qmlAttachedProperties (QObject *object) |
Properties | |
| QuickSceneEffect * | effect |
| Output * | screen |
| QQuickItem * | rootItem |
Additional Inherited Members | |
Public Types inherited from KWin::OffscreenQuickView | |
| enum class | ExportMode { Texture , Image } |
Signals inherited from KWin::OffscreenQuickView | |
| void | repaintNeeded () |
| void | geometryChanged (const QRect &oldGeometry, const QRect &newGeometry) |
| void | renderRequested () |
| void | sceneChanged () |
Public Attributes inherited from KWin::OffscreenQuickView | |
| std::unique_ptr< QQuickWindow > | m_view |
| std::unique_ptr< QQuickRenderControl > | m_renderControl |
| std::unique_ptr< QOffscreenSurface > | m_offscreenSurface |
| std::unique_ptr< QOpenGLContext > | m_glcontext |
| std::unique_ptr< QOpenGLFramebufferObject > | m_fbo |
| std::unique_ptr< QTimer > | m_repaintTimer |
| QImage | m_image |
| std::unique_ptr< GLTexture > | m_textureExport |
| bool | m_useBlit = false |
| bool | m_visible = true |
| bool | m_hasAlphaChannel = true |
| bool | m_automaticRepaint = true |
| QList< QEventPoint > | touchPoints |
| QPointingDevice * | touchDevice |
| ulong | lastMousePressTime = 0 |
| Qt::MouseButton | lastMousePressButton = Qt::NoButton |
The QuickSceneView represents a QtQuick scene view on a particular screen.
The root QML object must be a QQuickItem or a subclass of QQuickItem, other cases are unsupported.
Definition at line 29 of file quickeffect.h.
|
explicit |
Definition at line 87 of file quickeffect.cpp.
|
override |
Definition at line 100 of file quickeffect.cpp.
| QuickSceneEffect * KWin::QuickSceneView::effect | ( | ) | const |
Definition at line 124 of file quickeffect.cpp.
|
static |
Definition at line 155 of file quickeffect.cpp.
| bool KWin::QuickSceneView::isDirty | ( | ) | const |
Definition at line 134 of file quickeffect.cpp.
| void KWin::QuickSceneView::markDirty | ( | ) |
Definition at line 139 of file quickeffect.cpp.
|
static |
Definition at line 160 of file quickeffect.cpp.
| void KWin::QuickSceneView::resetDirty | ( | ) |
Definition at line 144 of file quickeffect.cpp.
| QQuickItem * KWin::QuickSceneView::rootItem | ( | ) | const |
Definition at line 105 of file quickeffect.cpp.
|
slot |
Definition at line 149 of file quickeffect.cpp.
| Output * KWin::QuickSceneView::screen | ( | ) | const |
Definition at line 129 of file quickeffect.cpp.
| void KWin::QuickSceneView::setRootItem | ( | QQuickItem * | item | ) |
Definition at line 110 of file quickeffect.cpp.
|
read |
Definition at line 32 of file quickeffect.h.
|
read |
Definition at line 34 of file quickeffect.h.
|
read |
Definition at line 33 of file quickeffect.h.