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

被折叠的 条评论
为什么被折叠?



