このページでは

要素への名前付け

一般的に、タイトルコマンドは、その直後に続くテキストを、最初の改行までをその引数として扱います。タイトルが長すぎて複数行にまたがる場合は、各行の末尾(最後の行を除く)にバックスラッシュを付けてください。

コマンド

\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。

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