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

QStateMachine docs do not note that custom Events are not allowed

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 4.7.3
    • Core: State Machine
    • None

    Description

      The state machine has code like:

      if (transition->eventType() >= QEvent::User)

      { qWarning("QObject event transitions are not supported for custom types"); return; }

      This limitation is not explained in the docs. I am also curious to know why custom transitions are not allowed.

      Attachments

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

        Activity

          People

            thiago Thiago Macieira
            steveire Stephen Kelly (Personal)
            Votes:
            4 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes