Important: Please read the Qt Code of Conduct  https://forum.qt.io/topic/113070/qtcodeofconduct
[SOLVED] How to intersect two QRects from widgets with different parents?

I would like to intersect my rubberband's geometry with another widget of my application. Those do not have the same parent widget, so intersection of their QRect is pointless. QRect does not own a parent either.
How can I achieve that?

Hello,
I don't understand why you mention that the intersection of the two QRect is pointless.
The QRects are properties of a widget, but can be used to calculate a new QRect.
What you want to do with the resulting QRect is another question, but if you just want to have the coordinates of the intersection of the Widgets at a time, this is definitively possible.

I've posted the question on "StackOverflow":http://stackoverflow.com/questions/10679083/howtogettheintersectionofgeometryoftwoqwidgetswithdifferentparents/10679225#comment13858209_10679225 and got the answer to my question, which regard the intersection of two QRects from widgets with different parents i.e the coordinates of which refer to different origins.

So you can then add [SOLVED] to the discussion :)

Yes I can.