Qt GUI C++ Classes
The Qt GUI module provides the basic enablers for graphical applications written with Qt. More...
Namespaces
Classes
QInputMethodEvent::Attribute class stores an input method attribute | |
QOpenGLVertexArrayObject::Binder class is a convenience class to help with the binding and releasing of OpenGL Vertex Array Objects | |
QPainterPath::Element class specifies the position and type of a subpath | |
QTextLayout::FormatRange structure is used to apply extra formatting information for a specified area in the text layout's content | |
QPixmapCache::Key class can be used for efficient access to the QPixmapCache | |
QAbstractTextDocumentLayout::PaintContext class is a convenience class defining the parameters used when painting a document's layout | |
This class is used in conjunction with the QPainter::drawPixmapFragments() function to specify how a pixmap, or sub-rect of a pixmap, is drawn | |
The base class of a family of classes that expose all functions for each OpenGL version and profile | |
Abstract base class used to implement custom layouts for QTextDocuments | |
Enums and static functions related to accessibility | |
Implements support for objects with editable text | |
The base class for accessibility notifications | |
Defines an interface that exposes information about accessible objects | |
Implements parts of the QAccessibleInterface for QObjects | |
Notfies the accessibility framework that the state of an object has changed | |
Implements support for the IAccessibleTable2 Cell interface | |
Signifies a change in a table, list, or tree where cells are added or removed. If the change affected a number of rows, firstColumn and lastColumn will return -1. Likewise for columns, the row functions may return -1 | |
Notifies of cursor movements | |
Notifies of text being inserted | |
Implements support for text handling | |
Notifies of text being deleted | |
Signals a change in the text selection of an object | |
Notifies about text changes. This is for accessibles that support editable text such as line edits. This event occurs for example when a portion of selected text gets replaced by pasting a new text or in override mode of editors | |
Describes a change in value for an accessible object | |
Implements support for objects that manipulate a value | |
Event that is generated when a QAction is added, removed, or changed | |
Drawing area for QWindow | |
Monochrome (1-bit depth) pixmaps | |
Defines the fill pattern of shapes drawn by QPainter | |
Access to the window system clipboard | |
Contains parameters that describe a close event | |
Colors based on RGB, HSV or CMYK values | |
Used in combination with QBrush to specify a conical gradient brush | |
Contains parameters that describe a context menu event | |
Mouse cursor with an arbitrary shape | |
Methods for accessing common desktop services | |
Range checking of floating-point numbers | |
Support for MIME-based drag and drop data transfer | |
Event which is sent to a widget when a drag and drop action enters it | |
Event that is sent to a widget when a drag and drop action leaves it | |
Event which is sent while a drag and drop action is in progress | |
Event which is sent when a drag and drop action is completed | |
Contains parameters that describe an enter event | |
Contains event parameters for expose events | |
Event that will be sent when there is a request to open a file or a URL | |
Contains event parameters for widget focus events | |
Specifies a font used for drawing text | |
Information about the fonts available in the underlying window system | |
General information about fonts | |
Font metrics information | |
Font metrics information | |
Template class that represents a NxM transformation matrix with N columns and M rows | |
Abstract base class for plugins | |
Creates plugin drivers | |
Direct access to the internal glyphs in a font | |
Used in combination with QBrush to specify gradient fills | |
Manages the GUI application's control flow and main settings | |
Event that is used to request helpful information about a particular point in a widget | |
Event which is sent after a widget is hidden | |
Contains parameters that describe a mouse event | |
Scalable icons in different modes and states | |
Indicates that a main icon drag has begun | |
Abstract base class for QIcon renderers | |
Abstract base for custom QIconEngine plugins | |
Hardware-independent image representation that allows direct access to the pixel data, and can be used as a paint device | |
Defines the common image I/O interface for all image formats in Qt | |
Defines an interface for writing an image format plugin | |
Format independent interface for reading images from files or other devices | |
Format independent interface for writing images to files or other devices | |
The base class for events that describe user input | |
Access to the active text input method | |
Parameters for input method events | |
Event sent by the input context to input objects | |
Validator that ensures a string contains a valid integer within a specified range | |
Describes a key event | |
Encapsulates a key sequence as used by shortcuts | |
Used in combination with QBrush to specify a linear gradient brush | |
Represents a 4x4 transformation matrix in 3D space | |
Contains parameters that describe a mouse event | |
Contains event parameters for move events | |
Convenience class for playing movies with QImageReader | |
Contains parameters that describe a gesture event | |
Represents an offscreen surface in the underlying platform | |
Functions for creating and managing OpenGL buffer objects | |
Represents a native OpenGL context, enabling OpenGL rendering on a QSurface | |
Represents a group of contexts sharing OpenGL resources | |
Enables logging of OpenGL debugging messages | |
Wraps an OpenGL debug message | |
Cross-platform access to the OpenGL ES 3.0, 3.1 and 3.2 API | |
Encapsulates an OpenGL framebuffer object | |
Specifies the format of an OpenGL framebuffer object | |
Cross-platform access to the OpenGL ES 2.0 API | |
All functions for OpenGL 1.0 specification | |
All functions for OpenGL 1.1 specification | |
All functions for OpenGL 1.2 specification | |
All functions for OpenGL 1.3 specification | |
All functions for OpenGL 1.4 specification | |
All functions for OpenGL 1.5 specification | |
All functions for OpenGL 2.0 specification | |
All functions for OpenGL 2.1 specification | |
All functions for OpenGL 3.0 specification | |
All functions for OpenGL 3.1 specification | |
All functions for OpenGL 3.2 compatibility profile | |
All functions for OpenGL 3.2 core profile | |
All functions for OpenGL 3.3 compatibility profile | |
All functions for OpenGL 3.3 core profile | |
All functions for OpenGL 4.0 compatibility profile | |
All functions for OpenGL 4.0 core profile | |
All functions for OpenGL 4.1 compatibility profile | |
All functions for OpenGL 4.1 core profile | |
All functions for OpenGL 4.2 compatibility profile | |
All functions for OpenGL 4.2 core profile | |
All functions for OpenGL 4.3 compatibility profile | |
All functions for OpenGL 4.3 core profile | |
All functions for OpenGL 4.4 compatibility profile | |
All functions for OpenGL 4.4 core profile | |
All functions for OpenGL 4.5 compatibility profile | |
All functions for OpenGL 4.5 core profile | |
All functions for OpenGL ES 2 | |
Enables painting to an OpenGL context using QPainter | |
Allows OpenGL shaders to be compiled | |
Allows OpenGL shader programs to be linked and used | |
Encapsulates an OpenGL texture object | |
Convenient way to draw textured quads via OpenGL | |
Wraps a sequence of OpenGL timer query objects | |
Wraps an OpenGL timer query object | |
Represents the version and if applicable the profile of an OpenGL context | |
Wraps an OpenGL Vertex Array Object | |
Convenience subclass of QWindow to perform OpenGL painting | |
Describes the size, orientation and margins of a page | |
Describes the size and name of a defined page size | |
Represents a paintdevice that supports multiple pages | |
The base class of objects that can be painted on with QPainter | |
Convenience subclass of QWindow that is also a QPaintDevice | |
Abstract definition of how QPainter draws to a given device on a given platform | |
Information about the active paint engine's current state | |
Contains event parameters for paint events | |
Performs low-level painting on widgets and other paint devices | |
Container for painting operations, enabling graphical shapes to be constructed and reused | |
Used to generate fillable outlines for a given painter path | |
Contains color groups for each widget state | |
Class to generate PDFs that can be used as a paint device | |
Defines how a QPainter should draw lines and outlines of shapes | |
Paint device that records and replays QPainter commands | |
Class for describing different pixel layouts in graphics buffers | |
Off-screen image representation that can be used as a paint device | |
Application-wide cache for pixmaps | |
Used to notify about native platform surface events | |
Identifies a unique object, such as a tagged token or stylus, which is used with a pointing device | |
Vector of points using integer precision | |
Vector of points using floating point precision | |
Represents a quaternion consisting of a vector and scalar | |
Used in combination with QBrush to specify a radial gradient brush | |
Enables hardware acceleration of painting operations in Qt for Embedded Linux | |
Convenience class for using QPainter on a QWindow | |
Access to a single physical instance of a font | |
Used to check a string against a regular expression | |
Specifies a clip region for a painter | |
Contains event parameters for resize events | |
Struct contains a 64-bit RGB color | |
Used to query screen properties | |
Sent when scrolling | |
Sent in preparation of scrolling | |
Access to the session manager | |
Event which is generated when the user presses a key combination | |
Event that is sent when a widget is shown | |
Item for use with the QStandardItemModel class | |
Generic model for storing custom data | |
Enables optimized drawing of text when the text and its layout is updated rarely | |
Event that is used to show messages in a status bar | |
Contains platform specific hints and settings | |
Used when registering fonts with the internal Qt fontdatabase | |
Abstraction of renderable surfaces in Qt | |
Represents the format of a QSurface | |
Allows you to define syntax highlighting rules, and in addition you can use the class to query a document's current formatting or user data | |
Contains parameters that describe a Tablet event | |
Container for text fragments in a QTextDocument | |
Formatting information for blocks of text in a QTextDocument | |
Container for text blocks within a QTextDocument | |
Used to associate custom data with blocks of text | |
Formatting information for characters in a QTextDocument | |
Offers an API to access and modify QTextDocuments | |
Holds formatted text | |
Represents a piece of formatted text from a QTextDocument | |
Format-independent interface for writing a QTextDocument to files or other devices | |
Formatting information for a QTextDocument | |
Holds a piece of text in a QTextDocument with a single QTextCharFormat | |
Represents a frame in a QTextDocument | |
Formatting information for frames in a QTextDocument | |
Formatting information for images in a QTextDocument | |
Represents an inline object in a QAbstractTextDocumentLayout and its implementations | |
All the information required to draw text in a custom paint engine | |
Used to lay out and render text | |
Encapsulates the different types of length used in a QTextDocument | |
Represents a line of text inside a QTextLayout | |
Decorated list of items in a QTextDocument | |
Formatting information for lists in a QTextDocument | |
Base class for different kinds of objects that can group parts of a QTextDocument together | |
Allows drawing of custom text objects in QTextDocuments | |
Description of general rich text properties | |
Represents a table in a QTextDocument | |
Represents the properties of a cell in a QTextTable | |
Formatting information for table cells in a QTextDocument | |
Formatting information for tables in a QTextDocument | |
Describes the device from which touch events originate | |
Contains parameters that describe a touch event | |
Specifies 2D transformations of a coordinate system | |
Validation of input text | |
Represents a vector or vertex in 2D space | |
Represents a vector or vertex in 3D space | |
Represents a vector or vertex in 4D space | |
Cross-platform access to the device level core Vulkan 1.0 API | |
Cross-platform access to the instance level core Vulkan 1.0 API | |
Represents a native Vulkan instance, enabling Vulkan rendering onto a QSurface | |
Convenience subclass of QWindow to perform Vulkan rendering | |
Used to implement the application-specific rendering logic for a QVulkanWindow | |
Event that can be used to handle hyperlinks in a "What's This?" text | |
Contains parameters that describe a wheel event | |
Represents a window in the underlying windowing system | |
The window state before a window state change | |
QAbstractTextDocumentLayout::Selection class is a convenience class defining the parameters of a selection | |
Information about a touch point in a QTouchEvent | |
QTextBlock::iterator class provides an iterator for reading the contents of a QTextBlock |
Detailed Description
The Qt GUI module provides classes for windowing system integration, event handling, OpenGL and OpenGL ES integration, Vulkan integration, 2D graphics, imaging, fonts and typography. These classes are used internally by Qt's user interface technologies and can also be used directly, for instance to write applications using low-level OpenGL ES graphics APIs.
To include the definitions of the module's classes, use the following directive:
#include <QtGui>
If you use qmake to build your projects, Qt GUI is included by default. To disable Qt GUI, add the following line to your .pro
file:
QT -= gui
© 2019 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.