Qt QGridLayout, get Row,Colum from event.position

后端 未结 0 943
名媛妹妹
名媛妹妹 2020-12-04 03:31

I have a grid layout with a few buttons attached to it at random positions, now i want to be able to return the grid layout row and column based of the mouse click position,

相关标签:
回答
  • 消灭零回复
提交回复
热议问题