Hi all,

This is a question about the sequence in which child widgets are shown and resized when a parent dialog is displayed.
What I'd liked to do :
1. Just before the QDialog is shown, get the size of a QTableView inside the QDialog
2. Adjust the column widths
3. Show the QDialog

Unfortunately, if I try to resize the columns either in an override of the QDialog's showEvent or resizeEvent, the QDialog has indeed been resized, but not yet the child widgets

Unless it's possible to get the resized QTableView before the dialog is shown, I'll have to subclass QTableView and override it's resizeEvent, which is bit cumbersome.

Is there another (and proper) way to do this ?

Thanks for any insight.