I have removed the title of the main window.
Created a button that should hide the window, but not close it. How can I implement a similar function for her?
P.S. Just please help me do it without OOP, I’m very bad at it.
>Solution :
I guess you want something to minimize application
like this button :
To minimize your application you should call showMinimized(); function.
look at this Qt Documentation link :
https://doc.qt.io/qt-5/qwidget.html#showMinimized
