Hi everybody,

I would like to recalculate the correct size of my QDialog based on a specified ratio. I know, I could reimplement the resize event and force a new resize when the size of the Qdialog doesn't respect my ratio. But I thought, when the user resizes the dialog 'dragging' the frame of my dialog, I could check the new dimension of the dragged side and fix the other side. But I would to avoid that 'flickering' that happens during the recalculation of the proper size.

So, I tried to reimplement the event wich happens when the user moves the mouse to the frame of the dialog and then clicks. But which event ?

I set up a little sample to check which the event is, but when I click on the frame of the dialog, nothing happens. The mouse cursor, as expected, changes when it goes over the border, but no event happens, even after the mouse click. I see only the resize, after all.

Has anybody seen 'my' event ?

Thanks you.

Placido.