Qt - Determine absolute widget and cursor position

前端 未结 3 705
半阙折子戏
半阙折子戏 2020-12-03 17:01

I have a QWidget that contains multiple children. The ultimate goal is to be able to drag and drop from one widget to the other, moving something between widgets. I\'ve go

3条回答
  •  夕颜
    夕颜 (楼主)
    2020-12-03 17:05

    Maybe you are looking for geometry() or frameGeometry() in QWidget. See here for more details.

提交回复
热议问题