获得除任务栏外桌面可用区域

来源:互联网 发布:成都网络棋牌公司 编辑:程序博客网 时间:2024/04/29 06:36

qt获得桌面可用区域

//窗口显示在右下角void CSecMsgBoxDisplayWid::_ShowBottomRight(){int deskWidth  = QApplication::desktop()->availableGeometry().width();int deskHeight = QApplication::desktop()->availableGeometry().height();//除去任务栏后高度move(deskWidth - width()-2, deskHeight - height()-2);show();}


0 0
原创粉丝点击