Qt 6.11 is out! See what's new in the release
blog
set widget in layout fullscreen
-
I have a class that is a subclass of
QWidgetinside aQVBoxLayoutand I implemented the double click method and I wanted to toggle that widget fullscreen, how can I do that? -
The post you mentioned didn't help much as the guy wanted to put the parent class in fullscreen when the black widget is double clicked, in my case I want to put the black window in fullscreen, not the parent.
Using his image as example:

Double click: full screen, double click again: put it back where it was.