Qt 的坐标系统
QWidget *q = new QWidget(0, Qt::WindowStaysOnTopHint); q->setWindowTitle(QObject::tr("父窗口widget")); qDebug()<<"x "<<q->x(); qDebug()<<"y "<<q->y(); qDebug()<<"framegeometry "<<q->frameGeometry(); qDebug()<<"geometry "<<q->geometry(); qDebug()<<"pos "<<q->pos(); qDebug()<<"rect "<<q->rect();