Qt6 Tutorial
About Lesson

In this Qt6 video we are going to learn about Qt6 Window Type Classes.

Window Type Classes

Every GUI application has a top-level widget and the rest of the widgets are called its children. The top- level widget can be QDialog, QWidget, or QMainWindow, depending on the template you require.

QMainWindw: The QMainWindow class provides a main application window, a main window provides a framework for building an application’s user interface. Qt has QMainWindow and its related classes for main window management. QMainWindow has its own layout to which you can add QToolBars, QDockWidgets, a QMenuBar, and a QStatusBar.

QDialog: The QDialog class is the base class of dialog window and a dialog window is a top- level window mostly used for short-term tasks and brief communications with the user. QDialogs may be modal or modeless.

QWidget: The QWidget class is the base class of all user interface objects, the widget is the important point of the user interface, it receives mouse, keyboard and other events from the window system, and paints a representation of itself on the screen. (Qt6 Window Type Classes)

Exercise Files
5-MainWindowStatus.zip
Size: 5.59 KB
5. Qt Window Type Classes.pdf
Size: 439.96 KB
Join the conversation