|
KWin
|
#include <offscreenquickview.h>
Public Member Functions | |
| Private () | |
| OffscreenQuickScene (ExportMode exportMode=ExportMode::Texture, bool alpha=true) | |
| ~OffscreenQuickScene () | |
| QQuickItem * | rootItem () const |
| void | setSource (const QUrl &source) |
| void | setSource (const QUrl &source, const QVariantMap &initialProperties) |
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) |
Public Attributes | |
| std::unique_ptr< QQmlComponent > | qmlComponent |
| std::unique_ptr< QQuickItem > | quickItem |
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 |
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 () |
The KWinQuickScene class extends KWinQuickView adding QML support. This will represent a context powered by an engine
Definition at line 67 of file offscreenquickview.cpp.
|
explicit |
Definition at line 540 of file offscreenquickview.cpp.
|
default |
|
inline |
Definition at line 70 of file offscreenquickview.cpp.
| QQuickItem * KWin::OffscreenQuickScene::rootItem | ( | ) | const |
top level item in the given source
Definition at line 588 of file offscreenquickview.cpp.
| void KWin::OffscreenQuickScene::setSource | ( | const QUrl & | source | ) |
Definition at line 548 of file offscreenquickview.cpp.
| void KWin::OffscreenQuickScene::setSource | ( | const QUrl & | source, |
| const QVariantMap & | initialProperties ) |
Definition at line 553 of file offscreenquickview.cpp.
| std::unique_ptr<QQmlComponent> KWin::OffscreenQuickScene::qmlComponent |
Definition at line 74 of file offscreenquickview.cpp.
| std::unique_ptr<QQuickItem> KWin::OffscreenQuickScene::quickItem |
Definition at line 75 of file offscreenquickview.cpp.