Qt GUI C++ Classes▲
The Qt GUI module provides the basic enablers for graphical applications written with Qt.
Namespaces▲
-
QColorConstants: The QColorConstants namespace contains QColor predefined constants.
Classes▲
-
QAbstractFileIconProvider: The QAbstractFileIconProvider class provides file icons for the QFileSystemModel class.
-
QAbstractTextDocumentLayout: The QAbstractTextDocumentLayout class is an abstract base class used to implement custom layouts for QTextDocuments.
-
QAbstractTextDocumentLayout::PaintContext: The QAbstractTextDocumentLayout::PaintContext class is a convenience class defining the parameters used when painting a document's layout.
-
QAbstractTextDocumentLayout::Selection: The QAbstractTextDocumentLayout::Selection class is a convenience class defining the parameters of a selection.
-
QAccessible: The QAccessible class provides enums and static functions related to accessibility.
-
QAccessibleActionInterface: The QAccessibleActionInterface class implements support for invocable actions in the interface.
-
QAccessibleEditableTextInterface: The QAccessibleEditableTextInterface class implements support for objects with editable text.
-
QAccessibleEvent: The QAccessibleEvent class is the base class for accessibility notifications.
-
QAccessibleInterface: The QAccessibleInterface class defines an interface that exposes information about accessible objects.
-
QAccessibleObject: The QAccessibleObject class implements parts of the QAccessibleInterface for QObjects.
-
QAccessiblePlugin: The QAccessiblePlugin class provides an abstract base class for plugins provinding accessibility information for user interface elements.
-
QAccessibleStateChangeEvent: The QAccessibleStateChangeEvent notfies the accessibility framework that the state of an object has changed.
-
QAccessibleTableCellInterface: The QAccessibleTableCellInterface class implements support for the IAccessibleTable2 Cell interface.
-
QAccessibleTableInterface: The QAccessibleTableInterface class implements support for the IAccessibleTable2 interface.
-
QAccessibleTableModelChangeEvent: The QAccessibleTableModelChangeEvent 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.
-
QAccessibleTextCursorEvent: The QAccessibleTextCursorEvent class notifies of cursor movements.
-
QAccessibleTextInsertEvent: The QAccessibleTextInsertEvent class notifies of text being inserted.
-
QAccessibleTextInterface: The QAccessibleTextInterface class implements support for text handling.
-
QAccessibleTextRemoveEvent: The QAccessibleTextRemoveEvent class notifies of text being deleted.
-
QAccessibleTextSelectionEvent: QAccessibleTextSelectionEvent signals a change in the text selection of an object.
-
QAccessibleTextUpdateEvent: The QAccessibleTextUpdateEvent class 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.
-
QAccessibleValueChangeEvent: The QAccessibleValueChangeEvent describes a change in value for an accessible object.
-
QAccessibleValueInterface: The QAccessibleValueInterface class implements support for objects that manipulate a value.
-
QAction: The QAction class provides an abstraction for user commands that can be added to different user interface components.
-
QActionEvent: The QActionEvent class provides an event that is generated when a QAction is added, removed, or changed.
-
QActionGroup: The QActionGroup class groups actions together.
-
QBackingStore: The QBackingStore class provides a drawing area for QWindow.
-
QBitmap: The QBitmap class provides monochrome (1-bit depth) pixmaps.
-
QBrush: The QBrush class defines the fill pattern of shapes drawn by QPainter.
-
QClipboard: The QClipboard class provides access to the window system clipboard.
-
QCloseEvent: The QCloseEvent class contains parameters that describe a close event.
-
QColor: The QColor class provides colors based on RGB, HSV or CMYK values.
-
QColorSpace: The QColorSpace class provides a color space abstraction.
-
QColorTransform: The QColorTransform class is a transformation between color spaces.
-
QConicalGradient: The QConicalGradient class is used in combination with QBrush to specify a conical gradient brush.
-
QContextMenuEvent: The QContextMenuEvent class contains parameters that describe a context menu event.
-
QCursor: The QCursor class provides a mouse cursor with an arbitrary shape.
-
QDesktopServices: The QDesktopServices class provides methods for accessing common desktop services.
-
QDoubleValidator: The QDoubleValidator class provides range checking of floating-point numbers.
-
QDrag: The QDrag class provides support for MIME-based drag and drop data transfer.
-
QDragEnterEvent: The QDragEnterEvent class provides an event which is sent to a widget when a drag and drop action enters it.
-
QDragLeaveEvent: The QDragLeaveEvent class provides an event that is sent to a widget when a drag and drop action leaves it.
-
QDragMoveEvent: The QDragMoveEvent class provides an event which is sent while a drag and drop action is in progress.
-
QDropEvent: The QDropEvent class provides an event which is sent when a drag and drop action is completed.
-
QEnterEvent: The QEnterEvent class contains parameters that describe an enter event.
-
QEventPoint: The QEventPoint class provides information about a point in a QPointerEvent.
-
QExposeEvent: The QExposeEvent class contains event parameters for expose events.
-
QFileOpenEvent: The QFileOpenEvent class provides an event that will be sent when there is a request to open a file or a URL.
-
QFileSystemModel: The QFileSystemModel class provides a data model for the local filesystem.
-
QFocusEvent: The QFocusEvent class contains event parameters for widget focus events.
-
QFont: The QFont class specifies a query for a font used for drawing text.
-
QFontDatabase: The QFontDatabase class provides information about the fonts available in the underlying window system.
-
QFontInfo: The QFontInfo class provides general information about fonts.
-
QFontMetrics: The QFontMetrics class provides font metrics information.
-
QFontMetricsF: The QFontMetricsF class provides font metrics information.
-
QGenericMatrix: The QGenericMatrix class is a template class that represents a NxM transformation matrix with N columns and M rows.
-
QGenericPlugin: The QGenericPlugin class is an abstract base class for plugins.
-
QGenericPluginFactory: The QGenericPluginFactory class creates plugin drivers.
-
QGlyphRun: The QGlyphRun class provides direct access to the internal glyphs in a font.
-
QGradient: The QGradient class is used in combination with QBrush to specify gradient fills.
-
QGuiApplication: The QGuiApplication class manages the GUI application's control flow and main settings.
-
QHelpEvent: The QHelpEvent class provides an event that is used to request helpful information about a particular point in a widget.
-
QHideEvent: The QHideEvent class provides an event which is sent after a widget is hidden.
-
QHoverEvent: The QHoverEvent class contains parameters that describe a mouse event.
-
QIcon: The QIcon class provides scalable icons in different modes and states.
-
QIconDragEvent: The QIconDragEvent class indicates that a main icon drag has begun.
-
QIconEngine: The QIconEngine class provides an abstract base class for QIcon renderers.
-
QIconEnginePlugin: The QIconEnginePlugin class provides an abstract base for custom QIconEngine plugins.
-
QImage: The QImage class provides a hardware-independent image representation that allows direct access to the pixel data, and can be used as a paint device.
-
QImageIOHandler: The QImageIOHandler class defines the common image I/O interface for all image formats in Qt.
-
QImageIOPlugin: The QImageIOPlugin class defines an interface for writing an image format plugin.
-
QImageReader: The QImageReader class provides a format independent interface for reading images from files or other devices.
-
QImageWriter: The QImageWriter class provides a format independent interface for writing images to files or other devices.
-
QInputDevice: The QInputDevice class describes a device from which a QInputEvent originates.
-
QInputEvent: The QInputEvent class is the base class for events that describe user input.
-
QInputMethod: The QInputMethod class provides access to the active text input method.
-
QInputMethodEvent: The QInputMethodEvent class provides parameters for input method events.
-
QInputMethodEvent::Attribute: The QInputMethodEvent::Attribute class stores an input method attribute.
-
QInputMethodQueryEvent: The QInputMethodQueryEvent class provides an event sent by the input context to input objects.
-
QIntValidator: The QIntValidator class provides a validator that ensures a string contains a valid integer within a specified range.
-
QKeyEvent: The QKeyEvent class describes a key event.
-
QKeySequence: The QKeySequence class encapsulates a key sequence as used by shortcuts.
-
QLinearGradient: The QLinearGradient class is used in combination with QBrush to specify a linear gradient brush.
-
QMatrix4x4: The QMatrix4x4 class represents a 4x4 transformation matrix in 3D space.
-
QMouseEvent: The QMouseEvent class contains parameters that describe a mouse event.
-
QMoveEvent: The QMoveEvent class contains event parameters for move events.
-
QMovie: The QMovie class is a convenience class for playing movies with QImageReader.
-
QNativeGestureEvent: The QNativeGestureEvent class contains parameters that describe a gesture event.
-
QNativeInterface::QAndroidOffscreenSurface: Native interface to a offscreen surface on Android.
-
QNativeInterface::QCocoaGLContext: Native interface to an NSOpenGLContext on macOS.
-
QNativeInterface::QEGLContext: Native interface to an EGL context.
-
QNativeInterface::QGLXContext: Native interface to a GLX context.
-
QNativeInterface::QWGLContext: Native interface to a WGL context on Windows.
-
QNativeInterface::QX11Application: Native interface to an X11 application.
-
QOffscreenSurface: The QOffscreenSurface class represents an offscreen surface in the underlying platform.
-
QOpenGLContext: The QOpenGLContext class represents a native OpenGL context, enabling OpenGL rendering on a QSurface.
-
QOpenGLContextGroup: The QOpenGLContextGroup class represents a group of contexts sharing OpenGL resources.
-
QOpenGLExtraFunctions: The QOpenGLExtraFunctions class provides cross-platform access to the OpenGL ES 3.0, 3.1 and 3.2 API.
-
QOpenGLFunctions: The QOpenGLFunctions class provides cross-platform access to the OpenGL ES 2.0 API.
-
QPageLayout: Describes the size, orientation and margins of a page.
-
QPageRanges: The QPageRanges class represents a collection of page ranges.
-
QPageRanges::Range: The QPageRanges::Range struct holds the from and to endpoints of a range.
-
QPageSize: The QPageSize class describes the size and name of a defined page size.
-
QPagedPaintDevice: The QPagedPaintDevice class represents a paint device that supports multiple pages.
-
QPaintDevice: The QPaintDevice class is the base class of objects that can be painted on with QPainter.
-
QPaintDeviceWindow: Convenience subclass of QWindow that is also a QPaintDevice.
-
QPaintEngine: The QPaintEngine class provides an abstract definition of how QPainter draws to a given device on a given platform.
-
QPaintEngineState: The QPaintEngineState class provides information about the active paint engine's current state.
-
QPaintEvent: The QPaintEvent class contains event parameters for paint events.
-
QPainter: The QPainter class performs low-level painting on widgets and other paint devices.
-
QPainter::PixmapFragment: This class is used in conjunction with the QPainter::drawPixmapFragments() function to specify how a pixmap, or sub-rect of a pixmap, is drawn.
-
QPainterPath: The QPainterPath class provides a container for painting operations, enabling graphical shapes to be constructed and reused.
-
QPainterPath::Element: The QPainterPath::Element class specifies the position and type of a subpath.
-
QPainterPathStroker: The QPainterPathStroker class is used to generate fillable outlines for a given painter path.
-
QPalette: The QPalette class contains color groups for each widget state.
-
QPdfWriter: The QPdfWriter class is a class to generate PDFs that can be used as a paint device.
-
QPen: The QPen class defines how a QPainter should draw lines and outlines of shapes.
-
QPicture: The QPicture class is a paint device that records and replays QPainter commands.
-
QPixelFormat: QPixelFormat is a class for describing different pixel layouts in graphics buffers.
-
QPixmap: The QPixmap class is an off-screen image representation that can be used as a paint device.
-
QPixmapCache: The QPixmapCache class provides an application-wide cache for pixmaps.
-
QPixmapCache::Key: The QPixmapCache::Key class can be used for efficient access to the QPixmapCache.
-
QPlatformSurfaceEvent: The QPlatformSurfaceEvent class is used to notify about native platform surface events.
-
QPointerEvent: A base class for pointer events.
-
QPointingDevice: The QPointingDevice class describes a device from which mouse, touch or tablet events originate.
-
QPointingDeviceUniqueId: QPointingDeviceUniqueId identifies a unique object, such as a tagged token or stylus, which is used with a pointing device.
-
QPolygon: The QPolygon class provides a list of points using integer precision.
-
QPolygonF: The QPolygonF class provides a list of points using floating point precision.
-
QQuaternion: The QQuaternion class represents a quaternion consisting of a vector and scalar.
-
QRadialGradient: The QRadialGradient class is used in combination with QBrush to specify a radial gradient brush.
-
QRasterPaintEngine: The QRasterPaintEngine class enables hardware acceleration of painting operations in Qt for Embedded Linux.
-
QRasterWindow: QRasterWindow is a convenience class for using QPainter on a QWindow.
-
QRawFont: The QRawFont class provides access to a single physical instance of a font.
-
QRegion: The QRegion class specifies a clip region for a painter.
-
QRegularExpressionValidator: The QRegularExpressionValidator class is used to check a string against a regular expression.
-
QResizeEvent: The QResizeEvent class contains event parameters for resize events.
-
QRgba64: The QRgba64 struct contains a 64-bit RGB color.
-
QRgbaFloat: The QRgbaFloat struct contains a four part RGBA floating-point color.
-
QScreen: The QScreen class is used to query screen properties.
-
QScrollEvent: The QScrollEvent class is sent when scrolling.
-
QScrollPrepareEvent: The QScrollPrepareEvent class is sent in preparation of scrolling.
-
QSessionManager: The QSessionManager class provides access to the session manager.
-
QShortcut: The QShortcut class is used to create keyboard shortcuts.
-
QShortcutEvent: The QShortcutEvent class provides an event which is generated when the user presses a key combination.
-
QShowEvent: The QShowEvent class provides an event that is sent when a widget is shown.
-
QSinglePointEvent: A base class for pointer events containing a single point, such as mouse events.
-
QStandardItem: The QStandardItem class provides an item for use with the QStandardItemModel class.
-
QStandardItemModel: The QStandardItemModel class provides a generic model for storing custom data.
-
QStaticText: The QStaticText class enables optimized drawing of text when the text and its layout is updated rarely.
-
QStatusTipEvent: The QStatusTipEvent class provides an event that is used to show messages in a status bar.
-
QStyleHints: The QStyleHints class contains platform specific hints and settings.
-
QSupportedWritingSystems: The QSupportedWritingSystems class is used when registering fonts with the internal Qt fontdatabase.
-
QSurface: The QSurface class is an abstraction of renderable surfaces in Qt.
-
QSurfaceFormat: The QSurfaceFormat class represents the format of a QSurface.
-
QSyntaxHighlighter: The QSyntaxHighlighter class 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.
-
QTabletEvent: The QTabletEvent class contains parameters that describe a Tablet event.
-
QTextBlock: The QTextBlock class provides a container for text fragments in a QTextDocument.
-
QTextBlock::iterator: The QTextBlock::iterator class provides an iterator for reading the contents of a QTextBlock.
-
QTextBlockFormat: The QTextBlockFormat class provides formatting information for blocks of text in a QTextDocument.
-
QTextBlockGroup: The QTextBlockGroup class provides a container for text blocks within a QTextDocument.
-
QTextBlockUserData: The QTextBlockUserData class is used to associate custom data with blocks of text.
-
QTextCharFormat: The QTextCharFormat class provides formatting information for characters in a QTextDocument.
-
QTextCursor: The QTextCursor class offers an API to access and modify QTextDocuments.
-
QTextDocument: The QTextDocument class holds formatted text.
-
QTextDocumentFragment: The QTextDocumentFragment class represents a piece of formatted text from a QTextDocument.
-
QTextDocumentWriter: The QTextDocumentWriter class provides a format-independent interface for writing a QTextDocument to files or other devices.
-
QTextFormat: The QTextFormat class provides formatting information for a QTextDocument.
-
QTextFragment: The QTextFragment class holds a piece of text in a QTextDocument with a single QTextCharFormat.
-
QTextFrame: The QTextFrame class represents a frame in a QTextDocument.
-
QTextFrameFormat: The QTextFrameFormat class provides formatting information for frames in a QTextDocument.
-
QTextImageFormat: The QTextImageFormat class provides formatting information for images in a QTextDocument.
-
QTextInlineObject: The QTextInlineObject class represents an inline object in a QAbstractTextDocumentLayout and its implementations.
-
QTextItem: The QTextItem class provides all the information required to draw text in a custom paint engine.
-
QTextLayout: The QTextLayout class is used to lay out and render text.
-
QTextLayout::FormatRange: The QTextLayout::FormatRange structure is used to apply extra formatting information for a specified area in the text layout's content.
-
QTextLength: The QTextLength class encapsulates the different types of length used in a QTextDocument.
-
QTextLine: The QTextLine class represents a line of text inside a QTextLayout.
-
QTextList: The QTextList class provides a decorated list of items in a QTextDocument.
-
QTextListFormat: The QTextListFormat class provides formatting information for lists in a QTextDocument.
-
QTextObject: The QTextObject class is a base class for different kinds of objects that can group parts of a QTextDocument together.
-
QTextObjectInterface: The QTextObjectInterface class allows drawing of custom text objects in QTextDocuments.
-
QTextOption: The QTextOption class provides a description of general rich text properties.
-
QTextTable: The QTextTable class represents a table in a QTextDocument.
-
QTextTableCell: The QTextTableCell class represents the properties of a cell in a QTextTable.
-
QTextTableCellFormat: The QTextTableCellFormat class provides formatting information for table cells in a QTextDocument.
-
QTextTableFormat: The QTextTableFormat class provides formatting information for tables in a QTextDocument.
-
QTouchEvent: The QTouchEvent class contains parameters that describe a touch event.
-
QTransform: The QTransform class specifies 2D transformations of a coordinate system.
-
QUndoCommand: The QUndoCommand class is the base class of all commands stored on a QUndoStack.
-
QUndoGroup: The QUndoGroup class is a group of QUndoStack objects.
-
QUndoStack: The QUndoStack class is a stack of QUndoCommand objects.
-
QValidator: The QValidator class provides validation of input text.
-
QVector2D: The QVector2D class represents a vector or vertex in 2D space.
-
QVector3D: The QVector3D class represents a vector or vertex in 3D space.
-
QVector4D: The QVector4D class represents a vector or vertex in 4D space.
-
QVulkanExtension: Represents information about a Vulkan extension.
-
QVulkanInfoVector: A specialized QList for QVulkanLayer and QVulkanExtension.
-
QVulkanInstance: The QVulkanInstance class represents a native Vulkan instance, enabling Vulkan rendering onto a QSurface.
-
QVulkanLayer: Represents information about a Vulkan layer.
-
QVulkanWindow: The QVulkanWindow class is a convenience subclass of QWindow to perform Vulkan rendering.
-
QVulkanWindowRenderer: The QVulkanWindowRenderer class is used to implement the application-specific rendering logic for a QVulkanWindow.
-
QWhatsThisClickedEvent: The QWhatsThisClickedEvent class provides an event that can be used to handle hyperlinks in a "What's This?" text.
-
QWheelEvent: The QWheelEvent class contains parameters that describe a wheel event.
-
QWindow: The QWindow class represents a window in the underlying windowing system.
-
QWindowStateChangeEvent: The QWindowStateChangeEvent class provides the window state before a window state change.
Detailed Description▲
The Qt GUI page contains information about how to use the module.