Application.MainWindow (gb.qt4)
Static Property MainWindow As Window
Returns or sets the main window of the application.
Initially, the main window is Null. You can assign any window during runtime.
Closing the main window implies closing all other opened windows and quitting the application.