Uploaded image for project: 'Qt Design Studio'
  1. Qt Design Studio
  2. QDS-12209

There's no way to specify the Transition for StackView in no-code manner

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • QDS 4.4
    • Property View
    • None

    Description

      StackView(https://doc.qt.io/qt-6/qml-qtquick-controls-stackview.html) has these properties to specify the Transition when pushing and popping Components.

      1. popEnter(https://doc.qt.io/qt-6/qml-qtquick-controls-stackview.html#popEnter-prop)
      2. popExit(https://doc.qt.io/qt-6/qml-qtquick-controls-stackview.html#popExit-prop)
      3. pushEnter(https://doc.qt.io/qt-6/qml-qtquick-controls-stackview.html#pushEnter-prop)
      4. pushExit(https://doc.qt.io/qt-6/qml-qtquick-controls-stackview.html#pushExit-prop)
      5. replaceEnter(https://doc.qt.io/qt-6/qml-qtquick-controls-stackview.html#replaceEnter-prop)
      6. replaceExit(https://doc.qt.io/qt-6/qml-qtquick-controls-stackview.html#replaceExit-prop)

      They all take Transition(https://doc.qt.io/qt-6/qml-qtquick-transition.html) QML type.

      The problem is, firstly Transition doesn't exist in Components.

      and Transition which gets added in Transitions editor is only for States. To see it, you can try to add a Transition in Transition editor without modifying any properties in States.

      As a result, to use StackView, a user must code in Code Editor. There has to be a way to utilize StackView fully without manually coding.

      Attachments

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

        Activity

          People

            thohartm Thomas Hartmann
            mikio_hirai Mikio Hirai
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes