Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
应该QWidget::geometry().topLeft()总是返回QPoint(0, 0)如果它的 framelees 并且没有parent?
QWidget::geometry().topLeft()
QPoint(0, 0)
parent
如果它没有父对象,那么它应该返回它的全局位置(它相对于桌面的位置)