The widget holding the focus of node's tree, or null.
node
null
Takes any node of the tree — the scope root is resolved from it — so an application can ask focusedWidget(scene) or focusedWidget(someButton) and get the same answer.
focusedWidget(scene)
focusedWidget(someButton)
The widget holding the focus of
node's tree, ornull.Takes any node of the tree — the scope root is resolved from it — so an application can ask
focusedWidget(scene)orfocusedWidget(someButton)and get the same answer.