Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-131663

qdoc: Provide a standard way to prominently highlight that a QML type is a singleton

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Duplicate
    • Icon: P3: Somewhat important P3: Somewhat important
    • 6.11.0 FF
    • None
    • Build tools: qdoc
    • None
    • 0c8860e98 (dev)

      Examples:

       

      The types above are QML singletons, but the "brief" at the top of the type reference does not mention this fact at all. Rather, the reader must scroll down to the Detailed Description to find out that it's a singleton. This can be easy to miss.

       

      The information is a bit more prominent at https://doc.qt.io/QtApplicationManager/qml-qtapplicationmanager-intentclient.html because the first word in the brief is "Singleton".

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            docinfrastructure Documentation Infrastructure Team
            skoh-qt Sze Howe Koh
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes