there is a way, but what would be the point?
Is there another way to communicate with the application?
there is a way, but what would be the point?
Is there another way to communicate with the application?
==========================signature=============== ==================
S.O.L.I.D principles (use them!):
https://en.wikipedia.org/wiki/SOLID_...iented_design)
Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.
Are you sure mean "close" and not "minimize"? Clicking the "X" at the top right of the window frame (in Windows, anyway) closes the window. If it is the application's main window, the application will exit. You can override this behavior by calling setQuitOnLastWindowClosed( false ) or by overriding the closeEvent() handler and calling ignore() on the event.how to close window without close application
But why would you want to do that? When a user clicks the "X", he expects the application to exit. You are trying to implement something that goes against the normal behavior that every other application follows.
And like high_flyer says, if you do override this behavior, how will the use be able to exit the application? Will you force him to kill it with Task Manager?
Bookmarks