Qt Widgets C++ Classes
The Qt Widgets module extends Qt GUI with C++ widget functionality. More...
Classes
The abstract base class of button widgets, providing functionality common to buttons | |
Common base for all path items | |
Used to display and edit data items from a model | |
The basic functionality for item view classes | |
Scrolling area with on-demand scroll bars | |
Integer value within a range | |
Spinbox and a line edit to display values | |
Implements the QAccessibleInterface for QWidgets | |
Abstract user interface action that can be inserted into widgets | |
Groups actions together | |
Manages the GUI application's control flow and main settings | |
Lines up child widgets horizontally or vertically | |
Container to organize groups of button widgets | |
Monthly based calendar widget allowing the user to select a date | |
Checkbox with a text label | |
Dialog widget for specifying colors | |
Maps device independent QColors to device dependent pixel values | |
Model/view implementation of a column view | |
Combined button and popup list | |
Vista style command link button | |
Encapsulates the common Look and Feel of a GUI | |
Completions based on an item model | |
Mapping between a section of a data model to widgets | |
Widget for editing dates based on the QDateTimeEdit widget | |
Widget for editing dates and times | |
Rounded range control (like a speedometer or potentiometer) | |
The base class of dialog windows | |
Widget that presents buttons in a layout that is appropriate to the current widget style | |
Widget that can be docked inside a QMainWindow or floated as a top-level window on the desktop | |
Spin box widget that takes doubles | |
Error message display dialog | |
Dialog that allow users to select files or directories | |
File icons for the QDirModel and the QFileSystemModel classes | |
Data model for the local filesystem | |
Focus frame which can be outside of a widget's normal paintable area | |
Combobox that lets the user select a font family | |
Dialog widget for selecting a font | |
Manages forms of input widgets and their associated labels | |
Contains the result of a QFormLayout::takeRow() call | |
The base class of widgets that can have a frame | |
Represents a gesture, containing properties that describe the corresponding user input | |
The description of triggered gestures | |
The infrastructure for gesture recognition | |
Represents an anchor between two items in a QGraphicsAnchorLayout | |
Layout where one can anchor widgets together in Graphics View | |
Blur effect | |
Colorize effect | |
Drop shadow effect | |
The base class for all graphics effects | |
Ellipse item that you can add to a QGraphicsScene | |
Grid layout for managing widgets in Graphics View | |
The base class for all graphical items in a QGraphicsScene | |
Container that treats a group of items as a single item | |
The base class for all layouts in Graphics View | |
Can be inherited to allow your custom items to be managed by layouts | |
Line item that you can add to a QGraphicsScene | |
Horizontal or vertical layout for managing widgets in Graphics View | |
Base class for all graphics items that require signals, slots and properties | |
Opacity effect | |
Path item that you can add to a QGraphicsScene | |
Pixmap item that you can add to a QGraphicsScene | |
Polygon item that you can add to a QGraphicsScene | |
Proxy layer for embedding a QWidget in a QGraphicsScene | |
Rectangle item that you can add to a QGraphicsScene | |
Rotation transformation around a given axis | |
Scale transformation | |
Surface for managing a large number of 2D graphical items | |
Context menu events in the graphics view framework | |
Events for drag and drop in the graphics view framework | |
Base class for all graphics view related events | |
Events when a tooltip is requested | |
Hover events in the graphics view framework | |
Mouse events in the graphics view framework | |
Events for widget moving in the graphics view framework | |
Events for widget resizing in the graphics view framework | |
Wheel events in the graphics view framework | |
Simple text path item that you can add to a QGraphicsScene | |
Text item that you can add to a QGraphicsScene to display formatted text | |
Abstract base class for building advanced transformations on QGraphicsItems | |
Widget for displaying the contents of a QGraphicsScene | |
The base class for all widget items in a QGraphicsScene | |
Lays out widgets in a grid | |
Group box frame with a title | |
Lines up widgets horizontally | |
Header row or header column for item views | |
Simple convenience dialog to get a single value from the user | |
Display and editing facilities for data items from a model | |
Makes it possible to create item editor creator bases without subclassing QItemEditorCreatorBase | |
Abstract base class that must be subclassed when implementing new item editor creators | |
Widgets for editing item data in views and delegates | |
Transition for key events | |
Allows to input a QKeySequence | |
Displays a number with LCD-like digits | |
Text or image display | |
The base class of geometry managers | |
Abstract item that a QLayout manipulates | |
One-line text editor | |
List or icon view onto a model | |
Item-based list widget | |
Item for use with the QListWidget item view class | |
Main application window | |
Area in which MDI windows are displayed | |
Subwindow class for QMdiArea | |
Menu widget for use in menu bars, context menus, and other popup menus | |
Horizontal menu bar | |
Modal dialog for informing the user or for asking the user a question and receiving an answer | |
Transition for mouse events | |
Widget for rendering OpenGL graphics | |
Describes a panning gesture made by the user | |
Describes a pinch gesture made by the user | |
Implements a plain text layout for QTextDocument | |
Widget that is used to edit and display plain text | |
Horizontal or vertical progress bar | |
Feedback on the progress of a slow operation | |
Convenience class that simplifies dynamically overriding QStyle elements | |
Command button | |
Radio button with a text label | |
Rectangle or line that can indicate a selection or a boundary | |
Scrolling view onto another widget | |
Vertical or horizontal scroll bar | |
Enables kinetic scrolling for any scrolling widget or graphics item | |
Stores the settings for a QScroller | |
Used to create keyboard shortcuts | |
Resize handle for resizing top-level windows | |
Layout attribute describing horizontal and vertical resizing policy | |
Vertical or horizontal slider | |
Blank space in a layout | |
Spin box widget | |
Splash screen that can be shown during application startup | |
Implements a splitter widget | |
Handle functionality for the splitter | |
Stack of widgets where only one widget is visible at a time | |
Stack of widgets where only one widget is visible at a time | |
The possibility to register widgets without having to subclass QItemEditorCreatorBase | |
Horizontal bar suitable for presenting status information | |
Abstract base class that encapsulates the look and feel of a GUI | |
Creates QStyle objects | |
Style hints that return more than basic data types | |
Style hints that return a QRegion | |
Style hints that return a QVariant | |
Stores the parameters used by QStyle functions | |
Used to describe the parameters for drawing buttons | |
Used to describe the parameter for drawing a combobox | |
Used to hold parameters that are common to all complex controls | |
Used to describe the parameters for drawing a dock widget | |
Used to describe the parameters for drawing a focus rectangle with QStyle | |
Used to describe the parameters for drawing a frame | |
Used to describe the parameters needed to draw a QGraphicsItem | |
Describes the parameters for drawing a group box | |
Used to describe the parameters for drawing a header | |
Used to describe the parameter necessary for drawing a menu item | |
Used to describe the parameters necessary for drawing a progress bar | |
Used to describe the parameters needed for drawing a rubber band | |
Used to describe the parameter for drawing a size grip | |
Used to describe the parameters needed for drawing a slider | |
Used to describe the parameters necessary for drawing a spin box | |
Used to describe the parameters for drawing a tab bar | |
Used to describe the base of a tab bar, i.e. the part that the tab bar usually overlaps with | |
Used to describe the parameters for drawing the frame around a tab widget | |
Used to describe the parameters for drawing a title bar | |
Used to describe the parameters for drawing a toolbar | |
Used to describe the parameters needed for drawing a tool box | |
Used to describe the parameters for drawing a tool button | |
Used to describe the parameters used to draw an item in a view widget | |
Convenience class for drawing QStyle elements inside a widget | |
Abstract base for custom QStyle plugins | |
Display and editing facilities for data items from a model | |
Describes a swipe gesture made by the user | |
Icon for an application in the system tray | |
Tab bar, e.g. for use in tabbed dialogs | |
Stack of tabbed widgets | |
Default model/view implementation of a table view | |
Item-based table view with a default model | |
Item for use with the QTableWidget class | |
Way to interact with selection in a model without using model indexes and a selection model | |
Describes a tap-and-hold (aka LongTap) gesture made by the user | |
Describes a tap gesture made by the user | |
Rich text browser with hypertext navigation | |
Widget that is used to edit and display both plain and rich text | |
QTextEdit::ExtraSelection structure provides a way of specifying a character format for a given selection in a document | |
The rules used to draw a pixmap or image split into nine segments | |
Widget for editing times based on the QDateTimeEdit widget | |
Movable panel that contains a set of controls | |
Column of tabbed widget items | |
Quick-access button to commands or options, usually used inside a QToolBar | |
Tool tips (balloon help) for any widget | |
Default model/view implementation of a tree view | |
Tree view that uses a predefined tree model | |
Item for use with the QTreeWidget convenience class | |
Way to iterate over the items in a QTreeWidget instance | |
The base class of all commands stored on a QUndoStack | |
Group of QUndoStack objects | |
Stack of QUndoCommand objects | |
Displays the contents of a QUndoStack | |
Lines up widgets vertically | |
Simple description of any widget, i.e. answering the question "What's This?" | |
The base class of all user interface objects | |
Extends QAction by an interface for inserting custom widgets into action based containers, such as toolbars | |
Layout item that represents a widget | |
Framework for wizards | |
The base class for wizard pages |
Detailed Description
To include the definitions of the module's classes, use the following directive:
#include <QtWidgets>
To link against the module, add this line to your qmake .pro
file:
QT += widgets
© 2024 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.