QApplication::desktop()->availableGeometry
Returns the available geometry of the screen with index screen. What is available will be subrect of screenGeometry() based on what the platform decides is available (for example excludes the dock and menu bar on Mac OS X, or the task bar on Windows).
QApplication::desktop()->screenGeometry
Returns the geometry of the screen with index screen.