Qt GUI C++ Classes
The Qt GUI module provides the basic enablers for graphical applications written with Qt. More...
Namespaces
Contains QColor predefined constants |
Classes
File icons for the QFileSystemModel class | |
Abstract base class used to implement custom layouts for QTextDocuments | |
QAbstractTextDocumentLayout::PaintContext class is a convenience class defining the parameters used when painting a document's layout | |
QAbstractTextDocumentLayout::Selection class is a convenience class defining the parameters of a selection | |
Enums and static functions related to accessibility | |
Implements support for invocable actions in the interface | |
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 | |
Abstract base class for plugins provinding accessibility information for user interface elements | |
Implements support for selection handling | |
Notfies the accessibility framework that the state of an object has changed | |
Implements support for the IAccessibleTable2 Cell interface | |
Implements support for the IAccessibleTable2 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 | |
Abstraction for user commands that can be added to different user interface components | |
Event that is generated when a QAction is added, removed, or changed | |
Groups actions together | |
Drawing area for QWindow | |
Monochrome (1-bit depth) pixmaps | |
Defines the fill pattern of shapes drawn by QPainter | |
Contains event parameters for child window changes | |
Access to the window system clipboard | |
Contains parameters that describe a close event | |
Colors based on RGB, HSV or CMYK values | |
Color space abstraction | |
Transformation between color spaces | |
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 | |
Information about a point in a QPointerEvent | |
Contains event parameters for expose events | |
Event that will be sent when there is a request to open a file or a URL | |
Data model for the local filesystem | |
Contains event parameters for widget focus events | |
Specifies a query for a font used for drawing text | |
QFont::Tag type provides access to advanced font features | |
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 | |
Describes a device from which a QInputEvent originates | |
The base class for events that describe user input | |
Access to the active text input method | |
Parameters for input method events | |
QInputMethodEvent::Attribute class stores an input method attribute | |
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 | |
Native interface to a offscreen surface on Android | |
Native interface to a screen | |
Native interface to an NSOpenGLContext on macOS | |
Native interface to an EGL context | |
Native interface to a GLX context | |
Native interface to a WGL context on Windows | |
Native interface to a Wayland application | |
Native interface to a screen on Wayland | |
Native interface to a screen | |
Native interface to an X11 application | |
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 | |
Cross-platform access to the OpenGL ES 3.0, 3.1 and 3.2 API | |
Cross-platform access to the OpenGL ES 2.0 API | |
Encapsulates an OpenGL texture object | |
Describes the size, orientation and margins of a page | |
Represents a collection of page ranges | |
QPageRanges::Range struct holds the from and to endpoints of a range | |
Describes the size and name of a defined page size | |
Represents a paint device 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 | |
This class is used in conjunction with the QPainter::drawPixmapFragments() function to specify how a pixmap, or sub-rect of a pixmap, is drawn | |
Container for painting operations, enabling graphical shapes to be constructed and reused | |
QPainterPath::Element class specifies the position and type of a subpath | |
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 | |
QPixmapCache::Key class can be used for efficient access to the QPixmapCache | |
Used to notify about native platform surface events | |
A base class for pointer events | |
Describes a device from which mouse, touch or tablet events originate | |
Identifies a unique object, such as a tagged token or stylus, which is used with a pointing device | |
List of points using integer precision | |
List 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 | |
Convenience class for using QPainter on a QWindow | |
Access to a single physical instance of a font | |
Specifies a clip region for a painter | |
Used to check a string against a regular expression | |
Contains event parameters for resize events | |
Struct contains a 64-bit RGB color | |
Struct contains a four part RGBA floating-point color | |
Accelerated 2D/3D graphics API abstraction | |
Vertex, index, or uniform (constant) buffer resource | |
Contains information about the underlying native resources of a buffer | |
Describes the a single color attachment of a render target | |
Command buffer resource | |
Compute pipeline state resource | |
Direct3D 11 specific initialization parameters | |
Holds the D3D device and device context used by the QRhi | |
Holds the ID3D12GraphicsCommandList1 object that is backing a QRhiCommandBuffer | |
Direct3D 12 specific initialization parameters | |
Holds the D3D12 device used by the QRhi | |
Specifies clear values for a depth or stencil buffer | |
Describes the physical device, adapter, or graphics API implementation that is used by an initialized QRhi | |
OpenGL specific initialization parameters | |
Holds the OpenGL context used by the QRhi | |
Graphics pipeline state resource | |
Describes the stencil operation state | |
Describes the blend state for one color attachment | |
Base class for backend-specific initialization parameters | |
Base class for classes exposing backend-specific collections of native resource objects | |
Null backend specific initialization parameters | |
Empty | |
Describes a readback (reading back texture contents from possibly GPU-only memory) operation | |
Describes the results of a potentially asynchronous buffer or texture readback operation | |
Renderbuffer resource | |
Wraps a native renderbuffer object | |
Render pass resource | |
Represents an onscreen (swapchain) or offscreen (texture) render target | |
Base class for classes encapsulating native resource objects | |
Records upload and copy type of operations | |
Sampler resource | |
Specifies a scissor rectangle | |
Describes the shader resource for a single binding point | |
Encapsulates resources for making buffer, texture, sampler resources visible to shaders | |
Specifies the type and the shader code for a shader stage in the pipeline | |
Statistics provided from the underlying memory allocator | |
Swapchain resource | |
Describes the high dynamic range related information of the swapchain's associated output | |
Opaque data describing native objects needed to set up a swapchain | |
Swapchain render target resource | |
Texture resource | |
Contains information about the underlying native resources of a texture | |
Describes a texture-to-texture copy operation | |
Texture render target resource | |
Describes the color and depth or depth/stencil attachments of a render target | |
Describes the source for one mip level in a layer in a texture upload operation | |
Describes a texture upload operation | |
Describes one layer (face for cubemaps, slice for 3D textures, element for texture arrays) in a texture upload operation | |
Describes a single vertex input element | |
Describes a vertex input binding | |
Describes the layout of vertex inputs consumed by a vertex shader | |
Specifies a viewport rectangle | |
Holds the Vulkan command buffer object that is backing a QRhiCommandBuffer | |
Vulkan specific initialization parameters | |
Collects device, queue, and other Vulkan objects that are used by the QRhi | |
Holds the Vulkan render pass object backing a QRhiRenderPassDescriptor | |
Used to query screen properties | |
Sent when scrolling | |
Sent in preparation of scrolling | |
Access to the session manager | |
Contains multiple versions of a shader translated to multiple shading languages, together with reflection metadata | |
Additional metadata about the native shader code | |
Mapping metadata for sampler uniforms | |
Contains source or binary code for a shader and additional metadata | |
Describes the interface of a shader | |
Describes a member of a uniform or push constant block | |
Describes a built-in variable | |
Describes an input or output variable in the shader | |
Describes a push constant block | |
Describes a shader storage block | |
Describes a uniform block | |
Specifies the shading language, the version with flags, and the variant | |
Specifies the shading language version | |
Used to create keyboard shortcuts | |
Event which is generated when the user presses a key combination | |
Event that is sent when a widget is shown | |
A base class for pointer events containing a single point, such as mouse events | |
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 | |
QTextBlock::iterator class provides an iterator for reading the contents of a QTextBlock | |
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 | |
QTextLayout::FormatRange structure is used to apply extra formatting information for a specified area in the text layout's content | |
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 | |
Contains parameters that describe a touch event | |
Specifies 2D transformations of a coordinate system | |
The base class of all commands stored on a QUndoStack | |
Group of QUndoStack objects | |
Stack of QUndoCommand objects | |
Converts between a MIME type and a Uniform Type Identifier (UTI) format | |
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.3 API | |
Represents information about a Vulkan extension | |
Cross-platform access to the instance level core Vulkan 1.3 API | |
A specialized QList for QVulkanLayer and QVulkanExtension | |
Represents a native Vulkan instance, enabling Vulkan rendering onto a QSurface | |
Represents information about a Vulkan layer | |
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 | |
Maps open-standard MIME to Window Clipboard formats |
Detailed Description
The Qt GUI page contains information about how to use the module.
© 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.