use QDesktopWidget to detect screen size