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

QML Basic Types: More information is needed.

    XMLWordPrintable

Details

    Description

      In the QML documentation, "QML Basic Types" has been described or mentioned several times. But to me none appears to be complete. There are 2 important missing pieces of information for each basic type:

      1. What is the corresponding Qt class type (or C++ type)?
      2. Can it be used as invokable function return type, invokable function argument, signal function argument, property type?

      A more complete table like the following would be more helpful to Qt application developers:

      =====================================================================
      QML type, Description, Qt type, Used as property?, Used in functions?
      =====================================================================
      point, A point type has x and y attributes, QPoint, No, Yes
      ———————————————————————————————————————————————————————————————------
      ...

      Do we have this type of table?

      Attachments

        Issue Links

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

          Activity

            People

              docteam Qt Documentation Team
              jonathanz Jonathan Zhong
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes