lgvier
24th April 2009, 09:08
Hello folks,
I'm looking for a way to retrieve what widget is under position x,y including the ones inside QGraphicsProxyWidgets.
QApplication and QWidget's methods return the scene widget instead of the widget inside it.
If that's not possible.. if there's a way to post a mouse event "globally" that will reach the children widget at certain position, that would do the trick. I'm using postEvent, but I have to pass the target widget, so I have to find that widget first.
Thanks a lot for any help :)
I'm looking for a way to retrieve what widget is under position x,y including the ones inside QGraphicsProxyWidgets.
QApplication and QWidget's methods return the scene widget instead of the widget inside it.
If that's not possible.. if there's a way to post a mouse event "globally" that will reach the children widget at certain position, that would do the trick. I'm using postEvent, but I have to pass the target widget, so I have to find that widget first.
Thanks a lot for any help :)