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

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

      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.

        For Gerrit Dashboard: QTBUG-23922
        # Subject Branch Project Status CR V

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes