Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt for MCUs
  4. Qt Ultra Lite : StackView Alternative
QtWS25 Last Chance

Qt Ultra Lite : StackView Alternative

Scheduled Pinned Locked Moved Solved Qt for MCUs
4 Posts 2 Posters 902 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    Sachin_Og
    wrote on 2 Jul 2020, 05:19 last edited by
    #1

    I believe currently in version 1.2 stackView is not supported.
    If so what is the alternative to it.
    I want to load different pages based on some signals. This can be easily done with stack but what can I use to achieve similar functionality in QUL.

    -Thanks

    J 1 Reply Last reply 2 Jul 2020, 06:33
    0
    • S Sachin_Og
      2 Jul 2020, 05:19

      I believe currently in version 1.2 stackView is not supported.
      If so what is the alternative to it.
      I want to load different pages based on some signals. This can be easily done with stack but what can I use to achieve similar functionality in QUL.

      -Thanks

      J Offline
      J Offline
      J.Hilk
      Moderators
      wrote on 2 Jul 2020, 06:33 last edited by
      #2

      @Sachin_Og
      mmh
      https://doc.qt.io/QtForMCUs/qtul-qtquick-controls-api-differences.html

      SwipeView?


      Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


      Q: What's that?
      A: It's blue light.
      Q: What does it do?
      A: It turns blue.

      1 Reply Last reply
      5
      • S Offline
        S Offline
        Sachin_Og
        wrote on 2 Jul 2020, 07:09 last edited by
        #3

        Thank you @J-Hilk that is what I was looking for.
        Also is it possible to disable swiping and change the index only based on signal using only setCurrentIndex.
        For example : The signal can be a button click and I dont want to change page index on anything other than that.

        J 1 Reply Last reply 2 Jul 2020, 07:10
        0
        • S Sachin_Og
          2 Jul 2020, 07:09

          Thank you @J-Hilk that is what I was looking for.
          Also is it possible to disable swiping and change the index only based on signal using only setCurrentIndex.
          For example : The signal can be a button click and I dont want to change page index on anything other than that.

          J Offline
          J Offline
          J.Hilk
          Moderators
          wrote on 2 Jul 2020, 07:10 last edited by
          #4

          @Sachin_Og IIRC
          https://doc.qt.io/QtForMCUs/qml-qtquick-controls-swipeview.html#interactive-prop

          set that to false


          Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


          Q: What's that?
          A: It's blue light.
          Q: What does it do?
          A: It turns blue.

          1 Reply Last reply
          4

          4/4

          2 Jul 2020, 07:10

          • Login

          • Login or register to search.
          4 out of 4
          • First post
            4/4
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved