Qt GUI C++ Classes

The Qt GUI module provides the basic enablers for graphical applications written with Qt. More...

Namespaces

QColorConstants

Contains QColor predefined constants

Classes

QAccessibleObject

Implements parts of the QAccessibleInterface for QObjects

QAccessiblePlugin

Abstract base class for plugins provinding accessibility information for user interface elements

QAction

Abstraction for user commands that can be added to different user interface components

QActionEvent

Event that is generated when a QAction is added, removed, or changed

QActionGroup

Groups actions together

QBitmap

Monochrome (1-bit depth) pixmaps

QBrush

Defines the fill pattern of shapes drawn by QPainter

QClipboard

Access to the window system clipboard

QCloseEvent

Contains parameters that describe a close event

QColor

Colors based on RGB, HSV or CMYK values

QColorSpace

Color space abstraction

QColorTransform

Transformation between color spaces

QConicalGradient

Used in combination with QBrush to specify a conical gradient brush

QContextMenuEvent

Contains parameters that describe a context menu event

QDesktopServices

Methods for accessing common desktop services

QDrag

Support for MIME-based drag and drop data transfer

QDragEnterEvent

Event which is sent to a widget when a drag and drop action enters it

QDragLeaveEvent

Event that is sent to a widget when a drag and drop action leaves it

QDragMoveEvent

Event which is sent while a drag and drop action is in progress

QDropEvent

Event which is sent when a drag and drop action is completed

QEnterEvent

Contains parameters that describe an enter event

QEventPoint

Information about a point in a QPointerEvent

QExposeEvent

Contains event parameters for expose events

QFileOpenEvent

Event that will be sent when there is a request to open a file or a URL

QFocusEvent

Contains event parameters for widget focus events

QGenericMatrix

Template class that represents a NxM transformation matrix with N columns and M rows

QGenericPlugin

Abstract base class for plugins

QGenericPluginFactory

Creates plugin drivers

QGlyphRun

Direct access to the internal glyphs in a font

QGradient

Used in combination with QBrush to specify gradient fills

QHelpEvent

Event that is used to request helpful information about a particular point in a widget

QHideEvent

Event which is sent after a widget is hidden

QHoverEvent

Contains parameters that describe a mouse event

QIconDragEvent

Indicates that a main icon drag has begun

QIconEngine

Abstract base class for QIcon renderers

QIconEngine::ScaledPixmapArgument

QIconEnginePlugin

Abstract base for custom QIconEngine plugins

QImageIOHandler

Defines the common image I/O interface for all image formats in Qt

QImageIOPlugin

Defines an interface for writing an image format plugin

QImageReader

Format independent interface for reading images from files or other devices

QImageWriter

Format independent interface for writing images to files or other devices

QInputDevice

Describes a device from which a QInputEvent originates

QInputEvent

The base class for events that describe user input

QInputMethod

Access to the active text input method

QInputMethodEvent

Parameters for input method events

QInputMethodEvent::Attribute

QInputMethodEvent::Attribute class stores an input method attribute

QInputMethodQueryEvent

Event sent by the input context to input objects

QKeyEvent

Describes a key event

QLinearGradient

Used in combination with QBrush to specify a linear gradient brush

QMatrix4x4

Represents a 4x4 transformation matrix in 3D space

QMouseEvent

Contains parameters that describe a mouse event

QMoveEvent

Contains event parameters for move events

QNativeGestureEvent

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

Represents an offscreen surface in the underlying platform

QOpenGLTexture

Encapsulates an OpenGL texture object

QPageLayout

Describes the size, orientation and margins of a page

QPageRanges

Represents a collection of page ranges

QPageRanges::Range

QPageRanges::Range struct holds the from and to endpoints of a range

QPageSize

Describes the size and name of a defined page size

QPagedPaintDevice

Represents a paint device that supports multiple pages

QPaintDevice

The base class of objects that can be painted on with QPainter

QPaintDeviceWindow

Convenience subclass of QWindow that is also a QPaintDevice

QPaintEvent

Contains event parameters for paint events

QPalette

Contains color groups for each widget state

QPen

Defines how a QPainter should draw lines and outlines of shapes

QPixelFormat

Class for describing different pixel layouts in graphics buffers

QPixmap

Off-screen image representation that can be used as a paint device

QPixmapCache

Application-wide cache for pixmaps

QPixmapCache::Key

QPixmapCache::Key class can be used for efficient access to the QPixmapCache

QPlatformSurfaceEvent

Used to notify about native platform surface events

QPointerEvent

A base class for pointer events

QPointingDevice

Describes a device from which mouse, touch or tablet events originate

QPointingDeviceUniqueId

Identifies a unique object, such as a tagged token or stylus, which is used with a pointing device

QQuaternion

Represents a quaternion consisting of a vector and scalar

QRadialGradient

Used in combination with QBrush to specify a radial gradient brush

QRasterWindow

Convenience class for using QPainter on a QWindow

QResizeEvent

Contains event parameters for resize events

QRgba64

Struct contains a 64-bit RGB color

QRgbaFloat

Struct contains a four part RGBA floating-point color

QScrollEvent

Sent when scrolling

QScrollPrepareEvent

Sent in preparation of scrolling

QSessionManager

Access to the session manager

QShortcutEvent

Event which is generated when the user presses a key combination

QShowEvent

Event that is sent when a widget is shown

QSinglePointEvent

A base class for pointer events containing a single point, such as mouse events

QStatusTipEvent

Event that is used to show messages in a status bar

QSurface

Abstraction of renderable surfaces in Qt

QSurfaceFormat

Represents the format of a QSurface

QTabletEvent

Contains parameters that describe a Tablet event

QTextOption

Description of general rich text properties

QTextOption::Tab

QTouchEvent

Contains parameters that describe a touch event

QUndoCommand

The base class of all commands stored on a QUndoStack

QUndoGroup

Group of QUndoStack objects

QUndoStack

Stack of QUndoCommand objects

QVector2D

Represents a vector or vertex in 2D space

QVector3D

Represents a vector or vertex in 3D space

QVector4D

Represents a vector or vertex in 4D space

QVulkanDeviceFunctions

Cross-platform access to the device level core Vulkan 1.2 API

QVulkanExtension

Represents information about a Vulkan extension

QVulkanFunctions

Cross-platform access to the instance level core Vulkan 1.2 API

QVulkanInfoVector

A specialized QList for QVulkanLayer and QVulkanExtension

QVulkanInstance

Represents a native Vulkan instance, enabling Vulkan rendering onto a QSurface

QVulkanLayer

Represents information about a Vulkan layer

QVulkanWindow

Convenience subclass of QWindow to perform Vulkan rendering

QVulkanWindowRenderer

Used to implement the application-specific rendering logic for a QVulkanWindow

QWhatsThisClickedEvent

Event that can be used to handle hyperlinks in a "What's This?" text

QWheelEvent

Contains parameters that describe a wheel event

QWindowStateChangeEvent

The window state before a window state change

Detailed Description

The Qt GUI page contains information about how to use the module.