I want to get the geometry of the QMenu before it being visible. I tried get the geometry at the aboutToShow() signal, but it seems to be out of control, the topLeft point of the menu's rect is always different to the QCursor:os(). Anyone know why? Or what is the right moment to get the geometry before it show?


os(). Anyone know why? Or what is the right moment to get the geometry before it show?
Reply With Quote


Bookmarks