QDesktopWidget* desktopWidget = QApplication::desktop();
QRect clientRect = desktopWidget->availableGeometry();
QRect applicationRect = desktopWidget->screenGeometry();
qDebug() << clientRect << " " << applicationRect ;
Qt 中获取屏幕的绝对坐标
猜你喜欢
转载自blog.csdn.net/weixin_39568531/article/details/103709597
今日推荐
周排行