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

Expose QQuickItemPrivate::paintOrderChildItems (or some other way to access items in visual order)

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • None
    • None

    Description

      When implementing a variety of things like hit testing, or customized/tweaked event delivery, it is almost always necessary to make use of QQuickItemPrivate::paintOrderChildItems to do so (as QQuickWindow itself does for event delivery).

      Similarly, the usual loop over it (checking isVisible / isEnabled / isCulled) would be nice to have in some sort of a reusable form. Maybe the right thing to do with this is to turn it into an iterator, and make that public.

      This would go a very very long way to stamping out use of private API that I've written (or seen) around the place.

      Attachments

        Issue Links

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

          Activity

            People

              qt.team.quick.subscriptions Qt Quick and Widgets Team
              w00t Robin Burchell
              Votes:
              5 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes