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

PathView doesn't work as expected

    XMLWordPrintable

Details

    • 0da1b076bf4e33f239ebe9dc4d8f5363ee24110b

    Description

      The PathView component doesn't work as expected - this may be partly because I don't understand how to use it... Run the attached QML file and you'll see this:

      1. The component is initially drawn with the top left corner of item 0 in the position specified by startX and startY. When you click on the component, it jumps so that item 0 is centred on this point.

      2. Initially, item 0 is in the start position with item 1 to the right of it and item 7 to the left of it. In order for PathView to be used as a carousel, the item to the left of item 0 should be the last item of the data model - item 29 in my example file.

      3. Click on the red box on the top right of the screen. The currentItem changes to a new item before the animation. Again, in order to use PathView as a carousel, the item that changes should ideally be the one furthest from currentItem, so in my example file, it would be the item at the centre bottom position. It may be useful to add a property allowing the item that changes to be set explicitly.

      4. Click on the red box on the top left of the screen. Item 8 is animated into view and when the animation is complete, it jumps so that the item is positioned at x,y is equal to startX, startY.

      Attachments

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

        Activity

          People

            martjone Martin Jones (closed Nokia identity) (Inactive)
            clivewhitear Clive Whitear
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes