Qt GUI C++ 类

Qt GUI 模块为采用 Qt 编写图形应用程序提供基本的使能器。 更多...

名称空间

QInputMethodEvent::Attribute

QInputMethodEvent::Attribute 类存储输入法属性

QIconEngine::AvailableSizesArgument

QOpenGLVertexArrayObject::Binder

QOpenGLVertexArrayObject::Binder class is a convenience class to help with the binding and releasing of OpenGL Vertex Array Objects

QPainterPath::Element

QPainterPath::Element class specifies the position and type of a subpath

QTextLayout::FormatRange

QTextLayout::FormatRange structure is used to apply extra formatting information for a specified area in the text layout's content

QPixmapCache::Key

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

QAbstractTextDocumentLayout::PaintContext

QAbstractTextDocumentLayout::PaintContext class is a convenience class defining the parameters used when painting a document's layout

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

QAbstractOpenGLFunctions

The base class of a family of classes that expose all functions for each OpenGL version and profile

QAbstractTextDocumentLayout

Abstract base class used to implement custom layouts for QTextDocuments

QAccessible

与可访问性相关的枚举和静态函数

QAccessibleEditableTextInterface

实现对具有可编辑文本的对象的支持

QAccessibleEvent

用于可访问性通知的基类

QAccessibleInterface

定义暴露有关可访问对象的信息的接口

QAccessibleObject

Implements parts of the QAccessibleInterface for QObjects

QAccessibleStateChangeEvent

Notfies the accessibility framework that the state of an object has changed

QAccessibleTableCellInterface

Implements support for the IAccessibleTable2 Cell interface

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

Notifies of cursor movements

QAccessibleTextInsertEvent

正在插入文本的通知

QAccessibleTextInterface

实现对文本处理的支持

QAccessibleTextRemoveEvent

Notifies of text being deleted

QAccessibleTextSelectionEvent

Signals a change in the text selection of an object

QAccessibleTextUpdateEvent

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

Describes a change in value for an accessible object

QAccessibleValueInterface

Implements support for objects that manipulate a value

QActionEvent

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

QBackingStore

用于 QWindow 的绘制区域

QBitmap

Monochrome (1-bit depth) pixmaps

QBrush

定义 QPainter 绘制形状的填充图案

QClipboard

Access to the window system clipboard

QCloseEvent

Contains parameters that describe a close event

QColor

基于 RGB、HSV 或 CMYK 值的颜色

QConicalGradient

Used in combination with QBrush to specify a conical gradient brush

QContextMenuEvent

包含描述上下文菜单事件的参数

QCursor

具有任意形状的鼠标光标

QDesktopServices

用于访问常见桌面服务的方法

QDoubleValidator

Range checking of floating-point numbers

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

包含描述进入事件的参数

QExposeEvent

Contains event parameters for expose events

QFileOpenEvent

当有打开文件或 URL 的请求时会发送的事件

QFocusEvent

Contains event parameters for widget focus events

QFont

Specifies a font used for drawing text

QFontDatabase

Information about the fonts available in the underlying window system

QFontInfo

有关字体的一般信息

QFontMetrics

字体规格信息

QFontMetricsF

字体规格信息

QGenericMatrix

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

QGenericPlugin

用于插件的抽象基类

QGenericPluginFactory

创建插件驱动程序

QGlyphRun

Direct access to the internal glyphs in a font

QGradient

Used in combination with QBrush to specify gradient fills

QGuiApplication

管理 GUI 应用程序的控制流和主要设置

QHelpEvent

用于在 Widget 中有关特定点请求有帮助信息的事件

QHideEvent

在 Widget 被隐藏后发送的事件

QHoverEvent

包含鼠标事件描述参数

QIcon

在不同模式和状态下的可缩放图标

QIconDragEvent

Indicates that a main icon drag has begun

QIconEngine

用于 QIcon 渲染器的抽象基类

QIconEnginePlugin

用于自定义 QIconEngine 插件的抽象基

QImage

独立于硬件的图像表示 (允许直接访问像素数据,且可以被用作描绘设备)

QImageIOHandler

定义用于 Qt 中所有图像格式的常见图像 I/O 接口

QImageIOPlugin

定义用于编写图像格式插件的接口

QImageReader

Format independent interface for reading images from files or other devices

QImageWriter

Format independent interface for writing images to files or other devices

QInputEvent

The base class for events that describe user input

QInputMethod

访问活动文本输入法

QInputMethodEvent

用于输入法事件的参数

QInputMethodQueryEvent

Event sent by the input context to input objects

QIntValidator

Validator that ensures a string contains a valid integer within a specified range

QKeyEvent

描述键事件

QKeySequence

封装作为快捷键使用的键序列

QLinearGradient

Used in combination with QBrush to specify a linear gradient brush

QMatrix4x4

Represents a 4x4 transformation matrix in 3D space

QMouseEvent

包含鼠标事件描述参数

QMoveEvent

包含用于移动事件的事件参数

QMovie

采用 QImageReader 播放电影的方便类

QNativeGestureEvent

Contains parameters that describe a gesture event

QOffscreenSurface

表示底层平台的离屏表面

QOpenGLBuffer

用于创建和管理 OpenGL 缓冲对象的函数

QOpenGLContext

表示本机 OpenGL 上下文,使 OpenGL 能够渲染在 QSurface

QOpenGLContextGroup

表示共享 OpenGL 资源的上下文组

QOpenGLDebugLogger

Enables logging of OpenGL debugging messages

QOpenGLDebugMessage

Wraps an OpenGL debug message

QOpenGLExtraFunctions

Cross-platform access to the OpenGL ES 3.0, 3.1 and 3.2 API

QOpenGLFramebufferObject

Encapsulates an OpenGL framebuffer object

QOpenGLFramebufferObjectFormat

Specifies the format of an OpenGL framebuffer object

QOpenGLFunctions

Cross-platform access to the OpenGL ES 2.0 API

QOpenGLFunctions_1_0

All functions for OpenGL 1.0 specification

QOpenGLFunctions_1_1

All functions for OpenGL 1.1 specification

QOpenGLFunctions_1_2

All functions for OpenGL 1.2 specification

QOpenGLFunctions_1_3

All functions for OpenGL 1.3 specification

QOpenGLFunctions_1_4

All functions for OpenGL 1.4 specification

QOpenGLFunctions_1_5

All functions for OpenGL 1.5 specification

QOpenGLFunctions_2_0

用于 OpenGL 2.0 规范的所有函数

QOpenGLFunctions_2_1

用于 OpenGL 2.1 规范的所有函数

QOpenGLFunctions_3_0

All functions for OpenGL 3.0 specification

QOpenGLFunctions_3_1

All functions for OpenGL 3.1 specification

QOpenGLFunctions_3_2_Compatibility

All functions for OpenGL 3.2 compatibility profile

QOpenGLFunctions_3_2_Core

All functions for OpenGL 3.2 core profile

QOpenGLFunctions_3_3_Compatibility

All functions for OpenGL 3.3 compatibility profile

QOpenGLFunctions_3_3_Core

All functions for OpenGL 3.3 core profile

QOpenGLFunctions_4_0_Compatibility

All functions for OpenGL 4.0 compatibility profile

QOpenGLFunctions_4_0_Core

All functions for OpenGL 4.0 core profile

QOpenGLFunctions_4_1_Compatibility

All functions for OpenGL 4.1 compatibility profile

QOpenGLFunctions_4_1_Core

All functions for OpenGL 4.1 core profile

QOpenGLFunctions_4_2_Compatibility

All functions for OpenGL 4.2 compatibility profile

QOpenGLFunctions_4_2_Core

All functions for OpenGL 4.2 core profile

QOpenGLFunctions_4_3_Compatibility

All functions for OpenGL 4.3 compatibility profile

QOpenGLFunctions_4_3_Core

All functions for OpenGL 4.3 core profile

QOpenGLFunctions_4_4_Compatibility

All functions for OpenGL 4.4 compatibility profile

QOpenGLFunctions_4_4_Core

All functions for OpenGL 4.4 core profile

QOpenGLFunctions_4_5_Compatibility

All functions for OpenGL 4.5 compatibility profile

QOpenGLFunctions_4_5_Core

All functions for OpenGL 4.5 core profile

QOpenGLFunctions_ES2

All functions for OpenGL ES 2

QOpenGLPaintDevice

Enables painting to an OpenGL context using QPainter

QOpenGLShader

Allows OpenGL shaders to be compiled

QOpenGLShaderProgram

Allows OpenGL shader programs to be linked and used

QOpenGLTexture

Encapsulates an OpenGL texture object

QOpenGLTextureBlitter

Convenient way to draw textured quads via OpenGL

QOpenGLTimeMonitor

Wraps a sequence of OpenGL timer query objects

QOpenGLTimerQuery

Wraps an OpenGL timer query object

QOpenGLVersionProfile

Represents the version and if applicable the profile of an OpenGL context

QOpenGLVertexArrayObject

Wraps an OpenGL Vertex Array Object

QOpenGLWindow

Convenience subclass of QWindow to perform OpenGL painting

QPageLayout

Describes the size, orientation and margins of a page

QPageSize

Describes the size and name of a defined page size

QPagedPaintDevice

Represents a paintdevice that supports multiple pages

QPaintDevice

可以采用 QPainter 进行描绘的对象的基类

QPaintDeviceWindow

也是 QPaintDevice 的 QWindow 方便子类

QPaintEngine

Abstract definition of how QPainter draws to a given device on a given platform

QPaintEngineState

Information about the active paint engine's current state

QPaintEvent

包含用于描绘事件的事件参数

QPainter

在 Widget 和其它描绘设备上,履行低级描绘

QPainterPath

Container for painting operations, enabling graphical shapes to be constructed and reused

QPainterPathStroker

Used to generate fillable outlines for a given painter path

QPalette

Contains color groups for each widget state

QPdfWriter

Class to generate PDFs that can be used as a paint device

QPen

定义 QPainter 如何绘制线条和形状的轮廓

QPicture

用于记录和重演 QPainter 命令的描绘设备

QPixelFormat

Class for describing different pixel layouts in graphics buffers

QPixmap

可以用作描绘设备的离屏图像表示

QPixmapCache

应用程序范围像素图缓存

QPlatformSurfaceEvent

用于通知有关本机平台表面事件

QPointingDeviceUniqueId

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

QPolygon

Vector of points using integer precision

QPolygonF

Vector of points using floating point precision

QQuaternion

Represents a quaternion consisting of a vector and scalar

QRadialGradient

Used in combination with QBrush to specify a radial gradient brush

QRasterPaintEngine

启用描绘操作硬件加速 (在 Qt for Embedded Linux 中)

QRasterWindow

Convenience class for using QPainter on a QWindow

QRawFont

Access to a single physical instance of a font

QRegExpValidator

Used to check a string against a regular expression

QRegion

为描绘器指定裁剪区域

QResizeEvent

Contains event parameters for resize events

QRgba64

Struct contains a 64-bit RGB color

QScreen

用于查询屏幕特性

QScrollEvent

发送

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

QStandardItem

Item for use with the QStandardItemModel class

QStandardItemModel

Generic model for storing custom data

QStaticText

当文本及其布局很少更新时,启用优化文本绘制

QStatusTipEvent

用于在状态栏展示消息的事件

QStyleHints

Contains platform specific hints and settings

QSupportedWritingSystems

当采用内部 Qt fontdatabase (字体数据库) 注册字体时使用

QSurface

Qt 中可渲染表面的抽象

QSurfaceFormat

表示 QSurface 的格式

QSyntaxHighlighter

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

Contains parameters that describe a Tablet event

QTextBlock

用于 QTextDocument 中文本片段的容器

QTextBlockFormat

Formatting information for blocks of text in a QTextDocument

QTextBlockGroup

Container for text blocks within a QTextDocument

QTextBlockUserData

Used to associate custom data with blocks of text

QTextCharFormat

Formatting information for characters in a QTextDocument

QTextCursor

Offers an API to access and modify QTextDocuments

QTextDocument

保持格式化文本

QTextDocumentFragment

表示一块来自 QTextDocument 的格式化文本

QTextDocumentWriter

Format-independent interface for writing a QTextDocument to files or other devices

QTextFormat

Formatting information for a QTextDocument

QTextFragment

Holds a piece of text in a QTextDocument with a single QTextCharFormat

QTextFrame

Represents a frame in a QTextDocument

QTextFrameFormat

Formatting information for frames in a QTextDocument

QTextImageFormat

Formatting information for images in a QTextDocument

QTextInlineObject

Represents an inline object in a QAbstractTextDocumentLayout and its implementations

QTextItem

All the information required to draw text in a custom paint engine

QTextLayout

Used to lay out and render text

QTextLength

Encapsulates the different types of length used in a QTextDocument

QTextLine

Represents a line of text inside a QTextLayout

QTextList

Decorated list of items in a QTextDocument

QTextListFormat

Formatting information for lists in a QTextDocument

QTextObject

Base class for different kinds of objects that can group parts of a QTextDocument together

QTextObjectInterface

Allows drawing of custom text objects in QTextDocuments

QTextOption

一般富文本特性的描述

QTextTable

Represents a table in a QTextDocument

QTextTableCell

Represents the properties of a cell in a QTextTable

QTextTableCellFormat

Formatting information for table cells in a QTextDocument

QTextTableFormat

Formatting information for tables in a QTextDocument

QTouchDevice

Describes the device from which touch events originate

QTouchEvent

包含描述触摸事件的参数

QTransform

Specifies 2D transformations of a coordinate system

QValidator

Validation of input text

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.0 API

QVulkanFunctions

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

QVulkanInstance

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

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

QWindow

表示在底层窗口系统中的窗口

QWindowStateChangeEvent

The window state before a window state change

QIconEngine::ScaledPixmapArgument

QAbstractTextDocumentLayout::Selection

QAbstractTextDocumentLayout::Selection class is a convenience class defining the parameters of a selection

QAccessible::State

QTextOption::Tab

QTouchEvent::TouchPoint

Information about a touch point in a QTouchEvent

QTextBlock::iterator

QTextBlock::iterator class provides an iterator for reading the contents of a QTextBlock

详细描述

The Qt GUI module provides classes for windowing system integration, event handling, OpenGL and OpenGL ES integration, Vulkan 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.