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

Allow custom bounds behaviors for Flickable

    XMLWordPrintable

Details

    • 37da30b83021869b2fd069ea49d72d89b16c2046

    Description

      Currently supported bounds behaviors are:

      Flickable.StopAtBounds
      Flickable.DragOverBounds
      Flickable.DragAndOvershootBounds
      

      These refer to Flickable content moving past the bounds, and do not cover all platform behaviors today – for example fading content (Jolla) and Flipable effect (Android). Flickable should offer API to make custom bounds behaviors as easy as possible. For example, a property describing distance past bounds could be used to control many different effects. The above 3 enum values might make sense for custom effects as well (for example, if the effect were a fade, you might only want it when attempting to drag past bounds and not when flicking past bounds). In that case an additional property might make sense, indicating whether a custom effect is in use.

      Attachments

        Issue Links

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

          Activity

            People

              Unassigned Unassigned
              mbrasser Michael Brasser
              Votes:
              4 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes