Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
When I have a QWidget that doesn't contain a 'minimum size', is possible to make him invisible in case her width is less than x?
QWidget
x
Hi,
Do you want to do it like with QSplitter ? Is that widget part of a bigger one ? What would be the trigger to make it visible again ?
@SGaist
Is that widget part of a bigger one ?
yes
What would be the trigger to make it visible again ?
her width being > than x
How will the widget that cannot be seen get bigger?
Beside the good question of @ChrisW67, the containing widget should be responsible for that. You can reimplement the resizeEvent method.