Your grammar is a bit hard to understand but with Qt 5.1 you can reimplement the “Window::onClosing” handler if you want to accept or ignore a window close request from the user. To just close a window, you can set the visible property to false.
↧