Enter full-screen mode, or return to windowed mode.
If isFullScreenSupported returns true , full
screen mode is considered to be exclusive, which implies:
- Windows cannot overlap the full-screen window. All other application
windows will always appear beneath the full-screen window in the Z-order.
- Input method windows are disabled. It is advisable to call
Component.enableInputMethods(false) to make a component
a non-client of the input method framework.
If isFullScreenSupported returns
false , full-screen exclusive mode is simulated by resizing
the window to the size of the screen and positioning it at (0,0).
When returning to windowed mode from an exclusive full-screen window, any
display changes made by calling setDisplayMode are
automatically restored to their original state.
Parameters: w - a window to use as the full-screen window; null if returning to windowed mode. See Also: QtGraphicsDevice.isFullScreenSupported See Also: QtGraphicsDevice.getFullScreenWindow See Also: QtGraphicsDevice.setDisplayMode See Also: Component.enableInputMethods since: 1.4 |