Qt 4.6: Widget Classes

|  | Home · All Classes · Overviews |

[Widgets and Layouts] [Next: Layout Management]

# Widget Classes

Below you find a list of all widget classes in Qt. You can also browse the widget classes Qt provides in the various supported styles in the Qt Widget Gallery.

- Basic Widgets
- Advanced Widgets
- Organizer Widgets
- Abstract Widget Classes

## Basic Widgets

These basic widgets (controls), such as buttons, comboboxes and scroll bars, are designed for direct use.

QCheckBox | Checkbox with a text label
QComboBox | Combined button and popup list
QCommandLinkButton | Vista style command link button
QDateEdit | Widget for editing dates based on the QDateTimeEdit widget
QDateTimeEdit | Widget for editing dates and times
QDial | Rounded range control (like a speedometer or potentiometer)
QDoubleSpinBox | Spin box widget that takes doubles
QFocusFrame | Focus frame which can be outside of a widget's normal paintable area
QFontComboBox | Combobox that lets the user select a font family
QLCDNumber | Displays a number with LCD-like digits
QLabel | Text or image display
QLineEdit | One-line text editor
QMenu | Menu widget for use in menu bars, context menus, and other popup menus
QProgressBar | Horizontal or vertical progress bar
QPushButton | Command button
QRadioButton | Radio button with a text label
QScrollArea | Scrolling view onto another widget
QScrollBar | Vertical or horizontal scroll bar
QSizeGrip | Resize handle for resizing top-level windows
QSlider | Vertical or horizontal slider
QSpinBox | Spin box widget
QTabBar | Tab bar, e.g. for use in tabbed dialogs
QTabWidget | Stack of tabbed widgets
QTimeEdit | Widget for editing times based on the QDateTimeEdit widget
QToolBox | Column of tabbed widget items
QToolButton | Quick-access button to commands or options, usually used inside a QToolBar
QWidget | The base class of all user interface objects

## Advanced Widgets

Advanced GUI widgets such as tab widgets and progress bars provide more complex user interface controls.

QCalendarWidget | Monthly based calendar widget allowing the user to select a date
QColumnView | Model/view implementation of a column view
QDataWidgetMapper | Mapping between a section of a data model to widgets
QDesktopWidget | Access to screen information on multi-head systems
QListView | List or icon view onto a model
QMacCocoaViewContainer | Widget for Mac OS X that can be used to wrap arbitrary Cocoa views (i.e., NSView subclasses) and insert them into Qt hierarchies
QMacNativeWidget | Widget for Mac OS X that provides a way to put Qt widgets into Carbon or Cocoa hierarchies depending on how Qt was configured
QTableView | Default model/view implementation of a table view
QTreeView | Default model/view implementation of a tree view
QUndoView | Displays the contents of a QUndoStack
QWSEmbedWidget | Enables embedded top-level widgets in Qt for Embedded Linux
QWebView | Widget that is used to view and edit web documents
QX11EmbedContainer | XEmbed container widget
QX11EmbedWidget | XEmbed client widget
Phonon::VideoWidget | Widget that is used to display video

## Organizer Widgets

Classes like splitters, tab bars, button groups, etc are used to organize and group GUI primitives into more complex applications or dialogs.

QButtonGroup | Container to organize groups of button widgets
QGroupBox | Group box frame with a title
QSplitter | Implements a splitter widget
QSplitterHandle | Handle functionality of the splitter
QStackedWidget | Stack of widgets where only one widget is visible at a time
QTabWidget | Stack of tabbed widgets

## Abstract Widget Classes

Abstract widget classes usable through subclassing. They are generally not usable in themselves, but provide functionality that can be used by inheriting these classes.

QAbstractButton | The abstract base class of button widgets, providing functionality common to buttons
QAbstractScrollArea | Scrolling area with on-demand scroll bars
QAbstractSlider | Integer value within a range
QAbstractSpinBox | Spinbox and a line edit to display values
QDialog | The base class of dialog windows
QFrame | The base class of widgets that can have a frame

[Widgets and Layouts] [Next: Layout Management]