The Qt GUI module provides the basic enablers for graphical applications written with Qt. More...
Namespaces
Contains QColor predefined constants | |
Classes
The main class to forward between QAccessibleInterface and AT-SPI DBus | |
Connects to the accessibility dbus | |
Helper base class for retrieving icons for files for usage by QFileIconProvider and related | |
File icons for the QFileSystemModel class | |
Abstract base class used to implement custom layouts for QTextDocuments. QtGui | |
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 the QAccessibleInterface for QApplication | |
The base class for accessibility back-ends. | |
Abstract base for accessibility bridge plugins. | |
Maintains a cache of accessible interfaces | |
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 | |
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. 6.0 | |
Event that is generated when a QAction is added, removed, or changed | |
Groups actions together. 6.0 | |
Drawing area for QWindow | |
Base class for implementing platform drag and drop. 5.0 qpa | |
A generic platform Vulkan instance implementation. 5.10 qpa | |
Monochrome (1-bit depth) pixmaps | |
Defines the fill pattern of shapes drawn by QPainter | |
Access to the window system clipboard. QtGui | |
Contains parameters that describe a close event | |
Colors based on RGB, HSV or CMYK values | |
Color space abstraction. 5.14 | |
Transformation between color spaces. 5.14 | |
Used in combination with QBrush to specify a conical gradient brush | |
Contains parameters that describe a context menu event. QtGui | |
Mouse cursor with an arbitrary shape | |
Methods for accessing common desktop services. 4.2 desktop QtGui | |
Range checking of floating-point numbers. QtGui | |
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 | |
A pbuffer-based implementation of QPlatformOffscreenSurface for EGL. 5.2 qpa | |
An EGL context implementation. 5.2 qpa | |
Contains parameters that describe an enter event | |
Information about a point in a QPointerEvent. 6.0 QtGui | |
Contains event parameters for expose events. QtGui | |
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. QtGui | |
Specifies a query for a font used for drawing text | |
Information about the fonts available in the underlying window system | |
General information about fonts. QtGui | |
Font metrics information | |
Font metrics information | |
Template class that represents a NxM transformation matrix with N columns and M rows. 4.6 painting painting-3D QtGui | |
Abstract base class for plugins | |
Creates plugin drivers | |
Direct access to the internal glyphs in a font. 4.8 QtGui | |
Theme implementation for the Gnome desktop. 5.0 qpa | |
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 | |
Collection of utility functions for UI scaling | |
Contains parameters that describe a mouse event | |
Scalable icons in different modes and states | |
Indicates that a main icon drag has begun. QtGui | |
Abstract base class for QIcon renderers | |
Abstract base for custom QIconEngine plugins | |
An icon engine based on icon entries collected by QIconLoader | |
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. QtGui | |
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. 6.0 QtGui | |
Acts as a communication hub between QtGui and the input handlers | |
The base class for events that describe user input | |
Access to the active text input method. QtGui | |
Parameters for input method events. QtGui | |
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. QtGui | |
Theme implementation for the KDE desktop (version 4 or higher). 5.0 qpa | |
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. 4.6 painting-3D QtGui | |
Contains parameters that describe a mouse event | |
Contains event parameters for move events. QtGui | |
Convenience class for playing movies with QImageReader | |
Contains parameters that describe a gesture event. QtGui events | |
Native interface for QPlatformMenu on macOS. QtGui native-interfaces | |
Native interface for QPlatformWindow on macOS. QtGui native-interfaces | |
Native interface to QKeyMapper. QtGui native-interfaces | |
Native interface to QPlatformScreen. QtGui native-interfaces | |
Native interface to QGuiApplication, to be retrieved from QPlatformIntegration. QtGui native-interfaces | |
Native interface to QScreen, to be retrieved from QPlatformIntegration. QtGui native-interfaces | |
Native interface to QPlatformWindow. QtGui native-interfaces | |
Native interface to QPlatformScreen. QtGui native-interfaces | |
Native interface to QPlatformWindow. QtGui native-interfaces | |
Native interface to a offscreen surface on Android | |
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 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. QtGui | |
Cross-platform access to the OpenGL ES 3.0, 3.1 and 3.2 API. 5.6 painting-3D QtGui | |
Cross-platform access to the OpenGL ES 2.0 API. 5.0 painting-3D QtGui | |
Keeps track of a shared resource that might be needed from multiple contexts, like a glyph cache or gradient cache. One instance of the object is created for each group when necessary. The shared resource instance should have a constructor that takes a QOpenGLContext *. To get an instance for a given context one calls T *QOpenGLMultiGroupSharedResource::value<T>(context), where T is a sub-class of QOpenGLSharedResource. QtGui | |
Used to keep track of resources that are shared between OpenGL contexts (like textures, framebuffer objects, shader programs, etc), and clean them up in a safe way when they're no longer needed. QtGui | |
Convenience sub-class of QOpenGLSharedResource to be used to track a single OpenGL object with a GLuint identifier. The constructor takes a function pointer to a function that will be used to free the resource if and when necessary. QtGui | |
Describes the size, orientation and margins of a page | |
Represents a collection of page ranges. QtGui painting printing shared 6.0 | |
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. QtGui | |
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. QtGui 4.6 | |
The base class for integrating accessibility backends | |
The drawing area for top-level windows | |
Abstraction for the system clipboard | |
Allows for platform-specific customization of color dialogs | |
Information about pointer device events (movement, buttons), and requests to change the currently displayed cursor | |
Set of graphics intended to be used as cursors | |
Allows for platform-specific customization of dialogs | |
Abstraction for drag | |
Allows for platform-specific customization of file dialogs | |
Makes it possible to customize how fonts are discovered and how they are rendered | |
Allows for platform-specific customization of font dialogs | |
Windowsystem abstraction for native graphics buffers | |
Abstracts the input method dependent data and composing state | |
The entry for WindowSystem specific functionality | |
Allows for platform-specific customization of Message dialogs | |
Abstraction for retrieving native resource handles | |
Abstraction for native GL contexts | |
Abstraction for native pixmaps | |
Abstraction for visual displays | |
The backend for desktop-related functionality | |
Abstraction of a cross-process graphics cache | |
Abstraction for a surface | |
Used to notify about native platform surface events. QtGui | |
Abstracts the system tray icon and interaction | |
Allows customizing the UI based on themes | |
Abstraction for theme plugins | |
Abstraction for Vulkan instances | |
Abstraction for top-level windows | |
A base class for pointer events | |
Describes a device from which mouse, touch or tablet events originate. 6.0 events QtGui | |
Identifies a unique object, such as a tagged token or stylus, which is used with a pointing device | |
List of points using integer precision. QtGui | |
List of points using floating point precision. QtGui | |
Represents a quaternion consisting of a vector and scalar. 4.6 painting-3D QtGui | |
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. 4.8 QtGui | |
Specifies a clip region for a painter | |
Used to check a string against a regular expression | |
Contains event parameters for resize events. QtGui | |
Struct contains a 64-bit RGB color. 5.6 | |
Struct contains a four part RGBA floating-point color. 6.2 | |
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 ID3D12GraphicsCommandList 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 | |
Holds the MTLCommandBuffer and MTLRenderCommandEncoder objects that are backing a QRhiCommandBuffer | |
Metal specific initialization parameters | |
Holds the Metal device used by the QRhi | |
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. QtGui | |
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 | |
Implements QBasicDrag for Drag and Drop operations within the Qt Application itself. 5.0 qpa | |
A base class for pointer events containing a single point, such as mouse events | |
This class is responsible for the AT-SPI cache interface | |
Item for use with the QStandardItemModel class. 4.2 model-view QtGui | |
Generic model for storing custom data. model-view QtGui | |
Enables optimized drawing of text when the text and its layout is updated rarely. 4.7 QtGui | |
Event that is used to show messages in a status bar | |
Contains platform specific hints and settings. QtGui | |
Used when registering fonts with the internal Qt fontdatabase. painting QtGui | |
Abstraction of renderable surfaces in Qt | |
Represents the format of a QSurface. QtGui | |
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. QtGui | |
Container for text fragments in a QTextDocument. QtGui | |
QTextBlock::iterator class provides an iterator for reading the contents of a QTextBlock. QtGui | |
Formatting information for blocks of text in a QTextDocument. QtGui | |
Container for text blocks within a QTextDocument. QtGui | |
Used to associate custom data with blocks of text. QtGui 4.1 | |
Formatting information for characters in a QTextDocument. QtGui | |
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. QtGui | |
Formatting information for a QTextDocument. QtGui | |
Holds a piece of text in a QTextDocument with a single QTextCharFormat. QtGui | |
Represents a frame in a QTextDocument. QtGui | |
Formatting information for frames in a QTextDocument. QtGui | |
Formatting information for images in a QTextDocument. QtGui | |
Represents an inline object in a QAbstractTextDocumentLayout and its implementations. QtGui | |
All the information required to draw text in a custom paint engine | |
Used to lay out and render text. QtGui | |
QTextLayout::FormatRange structure is used to apply extra formatting information for a specified area in the text layout's content. QtGui | |
Encapsulates the different types of length used in a QTextDocument. QtGui | |
Represents a line of text inside a QTextLayout. QtGui | |
Decorated list of items in a QTextDocument. QtGui | |
Formatting information for lists in a QTextDocument. QtGui | |
Base class for different kinds of objects that can group parts of a QTextDocument together. QtGui | |
Allows drawing of custom text objects in QTextDocuments. 4.5 QtGui | |
Description of general rich text properties. QtGui | |
Represents a table in a QTextDocument. QtGui | |
Represents the properties of a cell in a QTextTable. QtGui | |
Formatting information for table cells in a QTextDocument. QtGui | |
Formatting information for tables in a QTextDocument. QtGui | |
A named-based icon engine for providing theme icons | |
Event that is sent whenever a the toolbar button is clicked on macOS | |
Contains parameters that describe a touch event. 4.6 events touch QtGui | |
Specifies 2D transformations of a coordinate system. 4.3 painting QtGui | |
The base class of all commands stored on a QUndoStack. 4.2 | |
Group of QUndoStack objects. 4.2 QtGui | |
Stack of QUndoCommand objects. 4.2 | |
Converts between a MIME type and a Uniform Type Identifier (UTI) format. 6.5 | |
Validation of input text. QtGui | |
Represents a vector or vertex in 2D space. 4.6 painting painting-3D QtGui | |
Represents a vector or vertex in 3D space. 4.6 painting-3D QtGui | |
Represents a vector or vertex in 4D space. 4.6 painting-3D QtGui | |
Represents information about a Vulkan extension | |
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. QtGui | |
Represents a window in the underlying windowing system | |
The window state before a window state change | |
Event queue for the QPA platform | |
Font database for Windows | |
Standard Windows font engine. | |
Static constant data shared by the font engines. | |
Windows font engine using Direct Write. | |
Event dispatcher for Windows | |
Maps open-standard MIME to Window Clipboard formats. QtGui | |
Windows Native image | |
Provides information about the X display configuration |
Detailed Description
\title
Qt GUI C++ Classes \ingroup
modules \qtcmakepackage
Gui \qtvariable
gui
The Qt GUI page contains information about how to use the module.