Qt GUI C++ Classes
The Qt GUI module provides the basic enablers for graphical applications written with Qt. More...
Classes
Enums and static functions related to accessibility | |
Implements support for objects with editable text | |
The base class for accessibility notifications | |
Implements support for the IAccessibleImage interface | |
Defines an interface that exposes information about accessible objects | |
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 | |
Implements parts of the QAccessibleInterface for QObjects | |
Monochrome (1-bit depth) pixmaps | |
Scalable icons in different modes and states | |
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 | |
Convenience class for playing movies with QImageReader | |
Paint device that records and replays QPainter commands | |
Off-screen image representation that can be used as a paint device | |
QPixmapCache::Key class can be used for efficient access to the QPixmapCache | |
Application-wide cache for pixmaps | |
Item for use with the QStandardItemModel class | |
Generic model for storing custom data | |
Access to the window system clipboard | |
Mouse cursor with an arbitrary shape | |
Support for MIME-based drag and drop data transfer | |
QInputMethodEvent::Attribute class stores an input method attribute | |
Event that is generated when a QAction is added, removed, or changed | |
Contains parameters that describe a close event | |
Contains parameters that describe a context menu event | |
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 | |
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 | |
Indicates that a main icon drag has begun | |
The base class for events that describe user input | |
Parameters for input method events | |
Event sent by the input context to input objects | |
Describes a key event | |
Contains parameters that describe a mouse event | |
Contains event parameters for move events | |
Contains parameters that describe a gesture event | |
Contains event parameters for paint events | |
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 | |
Contains event parameters for resize events | |
Sent when scrolling | |
Sent in preparation of scrolling | |
Event which is generated when the user presses a key combination | |
Event that is sent when a widget is shown | |
Event that is used to show messages in a status bar | |
Contains parameters that describe a Tablet event | |
Contains parameters that describe a touch event | |
Event that can be used to handle hyperlinks in a "What's This?" text | |
Contains parameters that describe a wheel event | |
The window state before a window state change | |
Information about a touch point in a QTouchEvent | |
Abstract base class for plugins | |
Creates plugin drivers | |
Manages the GUI application's control flow and main settings | |
Access to the active text input method | |
Encapsulates a key sequence as used by shortcuts | |
Represents an offscreen surface in the underlying platform | |
Represents a native OpenGL context, enabling OpenGL rendering on a QSurface | |
Represents a group of contexts sharing OpenGL resources | |
Represents the version and if applicable the profile of an OpenGL context | |
Convenience subclass of QWindow to perform OpenGL painting | |
Convenience subclass of QWindow that is also a QPaintDevice | |
Contains color groups for each widget state | |
Class for describing different pixel layouts in graphics buffers | |
Windowsystem abstraction for native graphics buffers | |
Abstracts the system tray icon and interaction | |
Convenience class for using QPainter on a QWindow | |
Used to query screen properties | |
Access to the session manager | |
Contains platform specific hints and settings | |
Abstraction of renderable surfaces in Qt | |
Represents the format of a QSurface | |
Describes the device from which touch events originate | |
Represents a window in the underlying windowing system | |
Template class that represents a NxM transformation matrix with N columns and M rows | |
Represents a 4x4 transformation matrix in 3D space | |
Represents a quaternion consisting of a vector and scalar | |
Represents a vector or vertex in 2D space | |
Represents a vector or vertex in 3D space | |
Represents a vector or vertex in 4D space | |
Functions for creating and managing OpenGL buffer objects | |
Enables logging of OpenGL debugging messages | |
Wraps an OpenGL debug message | |
Cross-platform access to the OpenGL ES 3.0 and 3.1 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 | |
The base class of a family of classes that expose all functions for each OpenGL version and profile | |
QOpenGLVertexArrayObject::Binder class is a convenience class to help with the binding and releasing of OpenGL Vertex Array Objects | |
Wraps an OpenGL Vertex Array Object | |
Drawing area for QWindow | |
Defines the fill pattern of shapes drawn by QPainter | |
Used in combination with QBrush to specify a conical gradient brush | |
Used in combination with QBrush to specify gradient fills | |
Used in combination with QBrush to specify a linear gradient brush | |
Used in combination with QBrush to specify a radial gradient brush | |
Colors based on RGB, HSV or CMYK values | |
Represents a paintdevice that supports multiple pages | |
Describes the size, orientation and margins of a page | |
Describes the size and name of a defined page size | |
The base class of objects that can be painted on with QPainter | |
Abstract definition of how QPainter draws to a given device on a given platform | |
Information about the active paint engine's current state | |
All the information required to draw text in a custom paint engine | |
Enables hardware acceleration of painting operations in Qt for Embedded Linux | |
This class is used in conjunction with the QPainter::drawPixmapFragments() function to specify how a pixmap, or sub-rect of a pixmap, is drawn | |
Performs low-level painting on widgets and other paint devices | |
QPainterPath::Element class specifies the position and type of a subpath | |
Container for painting operations, enabling graphical shapes to be constructed and reused | |
Used to generate fillable outlines for a given painter path | |
Class to generate PDFs that can be used as a paint device | |
Defines how a QPainter should draw lines and outlines of shapes | |
Vector of points using integer precision | |
Vector of points using floating point precision | |
Specifies a clip region for a painter | |
Struct contains a 64-bit RGB color | |
Specifies 2D transformations of a coordinate system | |
QAbstractTextDocumentLayout::PaintContext class is a convenience class defining the parameters used when painting a document's layout | |
Abstract base class used to implement custom layouts for QTextDocuments | |
Allows drawing of custom text objects in QTextDocuments | |
QAbstractTextDocumentLayout::Selection class is a convenience class defining the parameters of a selection | |
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 | |
Direct access to the internal glyphs in a font | |
Used when registering fonts with the internal Qt fontdatabase | |
Access to a single physical instance of a font | |
Enables optimized drawing of text when the text and its layout is updated rarely | |
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 | |
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 blocks of text in a QTextDocument | |
Formatting information for characters in a QTextDocument | |
Formatting information for a QTextDocument | |
Formatting information for frames in a QTextDocument | |
Formatting information for images in a QTextDocument | |
Encapsulates the different types of length used in a QTextDocument | |
Formatting information for lists in a QTextDocument | |
Formatting information for table cells in a QTextDocument | |
Formatting information for tables in a QTextDocument | |
QTextLayout::FormatRange structure is used to apply extra formatting information for a specified area in the text layout's content | |
Represents an inline object in a QAbstractTextDocumentLayout and its implementations | |
Used to lay out and render text | |
Represents a line of text inside a QTextLayout | |
Decorated list of items in a QTextDocument | |
Container for text fragments in a QTextDocument | |
Container for text blocks within a QTextDocument | |
Used to associate custom data with blocks of text | |
Holds a piece of text in a QTextDocument with a single QTextCharFormat | |
Represents a frame in a QTextDocument | |
Base class for different kinds of objects that can group parts of a QTextDocument together | |
QTextBlock::iterator class provides an iterator for reading the contents of a QTextBlock | |
Description of general rich text properties | |
Represents a table in a QTextDocument | |
Represents the properties of a cell in a QTextTable | |
Methods for accessing common desktop services | |
Range checking of floating-point numbers | |
Validator that ensures a string contains a valid integer within a specified range | |
Used to check a string against a regular expression | |
Validation of input text |
Detailed Description
The Qt GUI module provides classes for windowing system integration, event handling, OpenGL and OpenGL ES 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
© 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.