Dear all, One of my widgets EditWidget rebuilds its UI some times, by deleting all children and layouts, and recreating a new one. The resulting new UI gives the widget a different sizeHint() which is calculated by QWidget default implementation.
When the sizeHint() changes, a QScrollArea which contains the widget must be resized horizontally to match the contents width hint. However, if I emit a signal from EditWidget just after the UI has been rebuilt, it seems that the sizeHint() is not updated yet, so the resize does not work properly. Also, there is no sizeHintChanged() like signal that would ease things a lot. Any idea how this could be solved? I'm looking for the proper signal that is called after the sizeHint has been updated, which may be during the next paint event or so. Thanks, Etienne
_______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest