Hi,

just to complete !

if we reimplement the method
Qt Code:
  1. bool QWidget::winEvent ( MSG * message, long * result )
To copy to clipboard, switch view to plain text mode 
, we can handle the native Window events before they become QT- events.

After include "windows.h", you get the struct MSG wich gives you the information of the event. The event I want to handle is the 'on sizing' and the message is WM_SIZING.

This way I can modify the dimensions of the QDialog and correct the ratio before it goes to the resizeEvent.

I know that it's not a porting solution...but I couldn't see any way to correct the dimension without invoking many times the resize event.

Thanks you.
Placido.