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

The Declarative State Machine Framework documentation says that State inherits after QAbstractState, while it really extends QState

    XMLWordPrintable

Details

    • User Story
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 6.4.0
    • XML: SCXML
    • None

    Description

      Documentation says that State inherits after QAbstractState, but when looking at source code I've found that it inherits after QState. Is there any reason to hide the fact that State is a QState subclass?

      It matters when you want to create a C++ class with state properties accessible from QML. Class QState has some interesting functions that could be useful in C++ code (but maybe also problematic), so I wonder if they were deliberately "disabled" this way or if it's just a mistake in the documentation?

      Attachments

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

        Activity

          People

            ulherman Ulf Hermann
            qdoc Michal Policht
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes