本页内容

类和函数文档

用于查找类和函数参考文档的索引和列表链接。

类列表

All C++ Classes

如果您知道所需类的名称,请在此处查找。

All Classes by Module

Qt 中所有 C++ API 组件的列表。

All Modules

Qt 6 中所有模块的列表。

All Namespaces

一个 Qt 命名空间包含枚举类型、函数,有时还包含类。

All QML Modules

Qt 中所有 Qml 模块的列表。

All QML Types

此 Qt 版本中的 Qml 类型列表。

Annotated Class List

如果您不知道所需类的名称,但知道该类应执行什么功能,不妨在此处查找。

Groups Of Related Classes

如果您知道需要什么类型的类(GUI、绘图、I/O 等),请查看此处。

Inheritance Hierarchy

Qt API 中所有类的 C++ 类继承层次结构。

Obsolete Classes

已被标记为过时且不应在新代码中使用的 C++ 类和成员。

Obsolete QML Types

已弃用的 QML 类型列表,不应在新代码中使用。

函数列表

<QForeach>

用于执行 for 循环的辅助宏

<QFunctionPointer>

用于函数指针的便捷类型

<QOverload>

用于解析重载的函数

<QTypeInfo>

用于指定自定义类型信息的宏

<QWaylandQuickExtension>

用于创建与 QWaylandCompositorExtension 和 QWaylandObject 子类对应的Qt Quick 类型的文件包含宏

<QtAlgorithms>

包含基于模板的通用算法

<QtAssert>

用于开发和调试期间条件检查的宏

<QtClassHelperMacros>

类辅助宏

<QtCompilerDetection>

该文件包含各种特定于编译器的宏

<QtDarwinHelpers>

针对基于 Darwin 的操作系统的辅助宏

<QtEndian>

用于在数字的小端序和大端序表示之间进行转换的函数

<QtEnvironmentVariables>

用于处理环境变量的辅助函数

<QtGlobal>

该文件包含其他各类头文件

<QtMath>

该文件提供了各种数学函数

<QtMinMax>

用于将值限制在下界和/或上界的函数

<QtPreprocessorSupport>

预处理器专用的宏

<QtProcessorDetection>

该文件包含各种架构特有的宏

<QtResource>

用于管理 Qt 资源系统的宏

<QtSwap>

交换两个变量的值

<QtSystemDetection>

该文件包含各种特定于平台的宏

<QtTranslation>

标记待翻译的字符串

<QtVersion>

有关应用程序正在运行的 Qt 版本以及其编译所基于的版本的信息

<QtVersionChecks>

用于执行 Qt 版本检查的宏

<qtwebenginecoreglobal.h>

Qt WebEngine 核心模块的辅助函数

All Functions and Macros

按字母顺序列出的所有已文档化的 Qt 函数,并附有每个函数的声明位置链接。

qfloat16

提供 16 位浮点数支持

© 2026 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.