Provides access to the host widget geometry, available via the view context property. More...
| Import Statement: | import org.shotcut.qml |
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()
point pos() |
Returns the top-left position of the host QWidget in screen coordinates.