The following class members are part of the Qt compatibility layer. We advise against using them in new code.
Returns the currently focused window containing the input item.
See also setVisible().