April 2018
Beginner
714 pages
18h 21m
English
As you may remember, any widget that has no parent will be displayed as a window. However, when we created our main window, we selected QMainWindow as the base class. If we had selected QWidget instead, we would still be able to do everything we did up to this point. However, the QMainWindow class provides some unique functionality that we will now use.
A main window represents the control center of an application. It can contain menus, toolbars, docking widgets, a status bar, and the central widget that contains the main content of the window, as shown in the following diagram:

If you open the mainwindow.ui file and ...
Read now
Unlock full access