UID:83532
UID:96028
引用第1楼paranoid于2010-05-05 21:55发表的 :QPoint QWidget::mapToGlobal ( const QPoint & pos ) constTranslates the widget coordinate pos to global screen coordinates. For example, mapToGlobal(QPoint(0,0)) would give the global coordinates of the top-left pixel of the widget.