Qt Widgets C++ Classes
The Qt Widgets module extends Qt GUI with C++ widget functionality. More...
Classes
Implements the QAccessibleInterface for QWidgets | |
Dialog widget for specifying colors | |
The base class of dialog windows | |
Error message display dialog | |
Dialog that allow users to select files or directories | |
Data model for the local filesystem | |
Dialog widget for selecting a font | |
Simple convenience dialog to get a single value from the user | |
Modal dialog for informing the user or for asking the user a question and receiving an answer | |
Feedback on the progress of a slow operation | |
Framework for wizards | |
The base class for wizard pages | |
Blur effect | |
Colorize effect | |
Drop shadow effect | |
The base class for all graphics effects | |
Opacity effect | |
Represents an anchor between two items in a QGraphicsAnchorLayout | |
Layout where one can anchor widgets together in Graphics View | |
Grid layout for managing widgets in Graphics View | |
Common base for all path items | |
Ellipse item that you can add to a QGraphicsScene | |
The base class for all graphical items in a QGraphicsScene | |
Container that treats a group of items as a single item | |
Line item that you can add to a QGraphicsScene | |
Base class for all graphics items that require signals, slots and properties | |
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 | |
Rectangle item that you can add to a QGraphicsScene | |
Simple text path item that you can add to a QGraphicsScene | |
Text item that you can add to a QGraphicsScene to display formatted text | |
The base class for all layouts in Graphics View | |
Can be inherited to allow your custom items to be managed by layouts | |
Horizontal or vertical layout for managing widgets in Graphics View | |
Proxy layer for embedding a QWidget in a QGraphicsScene | |
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 | |
Rotation transformation around a given axis | |
Scale transformation | |
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 | |
Used to display and edit data items from a model | |
The basic functionality for item view classes | |
Model/view implementation of a column view | |
Mapping between a section of a data model to widgets | |
File icons for the QDirModel and the QFileSystemModel classes | |
Header row or header column for item views | |
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 | |
The possibility to register widgets without having to subclass QItemEditorCreatorBase | |
List or icon view onto a model | |
Item-based list widget | |
Item for use with the QListWidget item view class | |
Display and editing facilities for data items from a model | |
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 | |
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 | |
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 | |
Lines up widgets horizontally | |
Lines up widgets vertically | |
Access to screen information on multi-head systems | |
Manages forms of input widgets and their associated labels | |
Represents a gesture, containing properties that describe the corresponding user input | |
The description of triggered gestures | |
Describes a panning gesture made by the user | |
Describes a pinch gesture made by the user | |
Describes a swipe gesture made by the user | |
Describes a tap-and-hold (aka LongTap) gesture made by the user | |
Describes a tap gesture made by the user | |
The infrastructure for gesture recognition | |
Lays out widgets in a grid | |
The base class of geometry managers | |
Abstract item that a QLayout manipulates | |
Blank space in a layout | |
Layout item that represents a widget | |
Widget for rendering OpenGL graphics | |
Used to create keyboard shortcuts | |
Layout attribute describing horizontal and vertical resizing policy | |
Stack of widgets where only one widget is visible at a time | |
Tool tips (balloon help) for any widget | |
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 | |
Transition for key events | |
Transition for mouse events | |
Encapsulates the common Look and Feel of a GUI | |
The rules used to draw a pixmap or image split into nine segments | |
Convenience class that simplifies dynamically overriding QStyle elements | |
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 | |
Maps device independent QColors to device dependent pixel values | |
Completions based on an item model | |
Enables kinetic scrolling for any scrolling widget or graphics item | |
Stores the settings for a QScroller | |
Icon for an application in the system tray | |
Group of QUndoStack objects | |
The base class of all commands stored on a QUndoStack | |
Stack of QUndoCommand objects | |
Displays the contents of a QUndoStack | |
The abstract base class of button widgets, providing functionality common to buttons | |
Scrolling area with on-demand scroll bars | |
Integer value within a range | |
Spinbox and a line edit to display values | |
Container to organize groups of button widgets | |
Monthly based calendar widget allowing the user to select a date | |
Checkbox with a text label | |
Combined button and popup list | |
Vista style command link button | |
Widget for editing dates based on the QDateTimeEdit widget | |
Widget for editing dates and times | |
Widget for editing times based on the QDateTimeEdit widget | |
Rounded range control (like a speedometer or potentiometer) | |
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 | |
Focus frame which can be outside of a widget's normal paintable area | |
Combobox that lets the user select a font family | |
The base class of widgets that can have a frame | |
Group box frame with a title | |
Allows to input a QKeySequence | |
Text or image display | |
Displays a number with LCD-like digits | |
One-line text editor | |
Widget for macOS that can be used to wrap arbitrary Cocoa views (i.e., NSView subclasses) and insert them into Qt hierarchies | |
Widget for macOS that provides a way to put Qt widgets into Cocoa hierarchies | |
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 | |
Implements a plain text layout for QTextDocument | |
Widget that is used to edit and display plain text | |
Horizontal or vertical progress bar | |
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 | |
Resize handle for resizing top-level windows | |
Vertical or horizontal slider | |
Spin box widget that takes doubles | |
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 | |
Horizontal bar suitable for presenting status information | |
Tab bar, e.g. for use in tabbed dialogs | |
Stack of tabbed widgets | |
Rich text browser with hypertext navigation | |
QTextEdit::ExtraSelection structure provides a way of specifying a character format for a given selection in a document | |
Widget that is used to edit and display both plain and rich text | |
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 |
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
© 2017 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.