命名事物

通常,标题命令将其之后的每一行(直到第一个换行符)视为其参数。如果标题太长,必须跨越多行,则在除最后一行外的每一行末尾使用反斜杠。

命令

\title

\title命令设置了文档页面的标题,或者允许您覆盖它。

/*!
    \page signalandslots.html

    \title Signals & Slots

    Signals and slots are used for communication between
    objects. The signals and slots mechanism is a central
    feature of Qt, and probably the part that differs most
    from the features provided by other frameworks.

    ...
*/

参见\subtitle

\subtitle

\subtitle命令为文档页面设置副标题。

/*!
    \page qtopiacore-overview.html

    \title Qtopia Core
    \subtitle Qt for Embedded Linux

    Qt/Embedded, the embedded Linux port of Qt, is a
    complete and self-contained C++ GUI and platform
    development tool for Linux-based embedded development.
    ...
*/

参见\title

© 2024 The Qt Company Ltd. 本文档的贡献者是各自版权的拥有者。此处提供的文档是根据自由软件基金会发布的GNU自由文档许可版1.3的条款许可的。Qt及其相关标志是芬兰以及全球其他国家的The Qt Company Ltd.的商标。所有其他商标均为各自所有者的财产。