set widget in layout fullscreen
Unsolved
General and Desktop
-
I have a class that is a subclass of
QWidget
inside aQVBoxLayout
and 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.