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

Allow StackView to display all items

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Done
    • P3: Somewhat important
    • 5.9.0 Alpha
    • None
    • Quick: Controls 2
    • None
    • def88e018576e6e2185ff6fa4b6e4fac885a6e10

    Description

      Hi,

      The StackView documentation has this simple image in it:
      http://doc.qt.io/qt-5/images/qtquickcontrols2-stackview-wireframe.png

      I want to do exactly that with a StackView. However, that isn't possible (or i haven't figured out how yet) because a StackView only has one item visible at any given time (except during transitions).

      In fact, this line: http://code.qt.io/cgit/qt/qtquickcontrols2.git/tree/src/quicktemplates2/qquickstackview_p.cpp#n534 does that if i'm right.

      Can the stack view be expanded to allow stacks like the image?
      Right now i can do what i want, but i can't use a StackView and have to go the custom route (PathView with a PathLine in it..) but that seems rather complicated for a simple principle like this.

      I guess i can also use a path view for the same effect.

      Attachments

        For Gerrit Dashboard: QTBUG-56801
        # Subject Branch Project Status CR V

        Activity

          People

            Unassigned Unassigned
            markg85 Mark
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes