setWindowState (state) # set window state
Qt.WindowNoState Stateless - the normal state
Qt.WindowMinimized minimized
Qt.WindowMaximized maximize
self.setWindowState(Qt.WindowMaximized)
Qt.WindowFullScreen full screen
Qt.WindowActive active window
windowState () # returns a window state
showFullScreen () does not contain a full screen window frame
showMaximized () maximize the window frame comprises
self.showMaximized()
showMinimized () minimization
showNormal () normal
isMinimized () if the window is minimized
isMaximized () if the window is maximized
isFullScreen () whether full screen
close () function controls shut down
showMinimized () - minimized;
showMaximized () - maximization;
showFullScreen () - full-screen window, with no title bar and borders.
showNormal () - return to the original window size.
activateWindow () - the window becomes the active window. If the window is minimized, the window will be restored to the original size.
setwindowState () - The Flags value, set the status window. Flags value may be a combination of the following values, these values from QtCore.Qt.
windowNoState - normal
windowMinimized - Minimize
windowMaximized - maximize
windowFullScreen - Full Screen
windowActive - the active window
state can be used to obtain the following window function:
isMinimized () - if the window is minimized, the return value is True; otherwise, to False;
isMaximized ( ) - If the window is maximized, the return value is True; otherwise, False;
IsFullScreen () - If the window full-screen display, the return value is True; otherwise, False;
isActiveWindow () - if it is the active window, the return value is True; otherwise, as ;; False
WindowState () - returns the combined value of the window state.