【问题标题】:Knowing screen coordinate in Qt了解 Qt 中的屏幕坐标 【发布时间】:2012-07-09 15:23:10 【问题描述】: 如何在运行时知道屏幕右侧底部的坐标? 【问题讨论】: 标签: qt qt4 【解决方案1】: const QRect QDesktopWidget::screenGeometry(int screen = -1) const Docs. 【讨论】: 有没有办法知道应用程序右下角的坐标?表示您是在最小化还是最大化它应该为您提供应用程序的右下角坐标。 你的帖子问的是屏幕坐标,现在你问的是应用程序的顶级小部件?它们不是同一件事。只需致电 <top-level widget>::geometry().bottomRight() 即可。