• Shotcut QML Scripting API
  • org.shotcut.qml
  • QmlView
  • QmlView QML Type

    Provides access to the host widget geometry, available via the view context property. More...

    Import Statement: import org.shotcut.qml

    Methods

    Detailed Description

    view is injected as a context property into every dock's QML view. Use it when you need the screen coordinates of the host widget (e.g. to position pop-up elements absolutely on screen).

    var widgetPos = view.pos()

    Method Documentation

    point pos()

    Returns the top-left position of the host QWidget in screen coordinates.