KWin::QuickSceneView Class

Represents a QtQuick scene view on a particular screen. More...

Header: #include <effect/quickeffect.h>
CMake: find_package(KWin REQUIRED)
target_link_libraries(mytarget PRIVATE KWin::kwin)
Inherits: KWin::OffscreenQuickView

Properties

Public Functions

QuickSceneView(KWin::QuickSceneEffect *effect, KWin::LogicalOutput *screen)
KWin::QuickSceneEffect *effect() const
QQuickItem *rootItem() const
KWin::LogicalOutput *screen() const

Public Slots

Static Public Members

KWin::QuickSceneView *findView(QQuickItem *item)

Detailed Description

See also QuickSceneEffect and OffscreenQuickView.

Property Documentation

[read-only] effect : QuickSceneEffect* const

Access functions:

KWin::QuickSceneEffect *effect() const

[read-only] rootItem : QQuickItem* const

Access functions:

QQuickItem *rootItem() const

[read-only] screen : LogicalOutput* const

Access functions:

KWin::LogicalOutput *screen() const

Member Function Documentation

[explicit] QuickSceneView::QuickSceneView(KWin::QuickSceneEffect *effect, KWin::LogicalOutput *screen)

Constructs a scene view for the given effect and screen.

[static] KWin::QuickSceneView *QuickSceneView::findView(QQuickItem *item)

Returns the scene view for the given item or null if no view is associated with the given item.

[slot] void QuickSceneView::scheduleRepaint()

Schedules a repaint. The view will be repainted at the next available opportunity.