Hi everyone,

I am trying to show/hide child widgets from the resizeEvent of the parent
widget, depending on the available size of the parent widget. However, this
will/may cause another resize event on the parent widget since
QWidgetPrivate::setVisible on the child widget will call
parent->d_func()->layout->activate() which may update the parents size as
the size hint changes.

Is there any way to prevent this from happening?

Regards,
Sivan
_______________________________________________
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest

Reply via email to