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

Show property documentation in QML even if property is not defined in the QML element

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.0.0
    • 5.0.0
    • Documentation
    • None
    • f0556c76c90abd84c92382650bf6dae69432bb30

    Description

      if there is a documentation snippet inside a QML element, like:

      Item {
      id: button
      /*! \qmlproperty bool BLA::1.0::Button::checked
      
              If the button is checked, then \c checked is true. The property is set to
              \c false by default.
      
              Property default is false
      
      */
      }
      

      I would expect this checked property to appear in the Button docs, even if the property is not actually defined there.
      this would give us much more fliexbility to workaround qtdoc current limitations.

      Attachments

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

        Activity

          People

            gbk Martin Smith (Qt)
            lscunha Leonardo Sobral Cunha (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes