Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
set widget in layout fullscreen
yugosonegi last edited by
I have a class that is a subclass of
QVBoxLayoutand I implemented the double click method and I wanted to toggle that widget fullscreen, how can I do that?
Sam last edited by
You can check this post, it has the same implementation as per your requirement.
yugosonegi last edited by yugosonegi
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.