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.
I guess you want something to minimize application
like this button :
To minimize your application you should call
look at this Qt Documentation link :