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

SignalTransition: guard should also be allowed to take a predicate function

    XMLWordPrintable

Details

    Description

      Just like signal handlers, the guard property should also be able to take a function, so that the signal parameters do not appear to be "magically" injected into the scope.

      It would also make sense to check if we can get rid of the setContextProperty call in signaltransition.cpp.

      Attachments

        Issue Links

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

          Activity

            People

              fabiankosmale Fabian Kosmale
              fabiankosmale Fabian Kosmale
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes