Widgets at a glance
Widgets are the basic building blocks of a Graphical User Interface hierarchy in GUI applications. Widgets are basically used to display data and status information, receive user input, and provide a container for other widgets that should be grouped together. Qt comes with a variety of basic and advanced built-in widgets that can be customized to our own needs. A list of predefined widgets is given in the following tables for your reference. QWidget
is the base class for all the widgets given in the following lists.
The following is a list of predefined basic widgets:
Widget |
Description |
---|---|
|
This is a checkbox with a text label |
|
This is a combined button and pop-up list |
|
This is a Vista-style command-link button |
|
This is a widget that is used to edit dates that are based on the |
|
This is a widget that is used to edit dates and times |
|
This is a rounded range control... |