QDesktopWidget *desktopWidget = QApplication::desktop();
//可用桌面大小
QRect clientRect = desktopWidget->availableGeometry();
//设备屏幕大小
QRect applicationRect = desktopWidget->screenGeometry();
qDebug()<<"desktopWidget"<<desktopWidget;
qDebug()<<"clientRect"<<clientRect;
qDebug()<<"applicationRect"<<application;
qDebug()<<"applicationRect.heiht:"<<applicationRect.height()<<"width:"<<applicationRect.width();