Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. View/Page transitions
Qt 6.11 is out! See what's new in the release blog

View/Page transitions

Scheduled Pinned Locked Moved QML and Qt Quick
3 Posts 3 Posters 3.7k Views 1 Watching
  • 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.
  • B Offline
    B Offline
    borge
    wrote on last edited by
    #1

    Hey guys.

    I'm an Android developer who is a Qt/QML newbie and have some difficulties wrapping my head around some things that just works out of the box in Android.

    We're basically developing a tablet application that needs to run in fullscreen on different screen sizes. Our different views, which each correspond to a fullscreen page which the user navigates between, are defined in separate qml files. We're looking to define most if not all of the UI using QML only.

    So far we have been using a Loader to handle the navigation between views, but as we started looking at adding transitions to this (slide in, slide out), it didn't seem like the right choice. We also had a look at Page and PageStack, but we were unable to run the window in fullscreen using this for some reason.

    Could someone point me in the right direction what the best practice is to handle such a basic use case? Is there a way to have transitions with the Loader, or is Page/PageStack the way to go, or is there a third solution?

    Thanks in advance.

    Cheers, Andreas

    1 Reply Last reply
    0
    • Z Offline
      Z Offline
      ZapB
      wrote on last edited by
      #2

      I would first pursue the Page/PageStack option and try to figure out why that is not working for you.

      Nokia Certified Qt Specialist
      Interested in hearing about Qt related work

      1 Reply Last reply
      0
      • S Offline
        S Offline
        srikanth_trulyit
        wrote on last edited by
        #3

        Page/PageStack is preferred way to maintain application pages. Check with PageStackStatus.Activating and animate the content ( assuming that you divided your page logically). To get fine grain control to your animations, load the page immediately without transition.
        See "Pagestack.push":http://doc.qt.nokia.com/qt-components-symbian/qml-pagestack.html#push-method

        About pagestack fullscreen issue, check the width,height and ensure to anchor it to fill its parent.

        1 Reply Last reply
        0

        • Login

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