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

    • Icon: User Story User Story
    • Resolution: Unresolved
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • 6.4.0
    • State Machine: SCXML
    • None

      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?

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

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

              Created:
              Updated:

                There are no open Gerrit changes