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

It would be useful if QStateMachine had a signal to notify about configuration changes

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Unresolved
    • Icon: P3: Somewhat important P3: Somewhat important
    • 5.2.0
    • None
    • State Machine
    • None

      Currently there is no centralized mechanism for being notified of state changes; you'll have to do something like inherit QAbstract

      {State,Transition}

      , reimplement on

      {Entry,Exit,Transition}

      and only use those custom states in your state machine.
      If QStateMachine had a signal for this, custom states would not be necessary. The signal could e.g. be used to create a "trace" of the state machine's execution, by recording the configuration at each step.

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

            cmarcelo Caio Marcelo de Oliveira Filho
            kenthans Kent Hansen (Inactive)
            Votes:
            13 Vote for this issue
            Watchers:
            12 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes