Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
qtws26_logo

The Qt Event of the Year: Qt World Summit 2026

Save Your Spot >
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Screen Transitions in QT
Qt 6.12 LTS is out! See what's new in the release blog

Screen Transitions in QT

Scheduled Pinned Locked Moved Mobile and Embedded
11 Posts 4 Posters 11.3k 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.
  • ? Offline
    ? Offline
    A Former User
    wrote on last edited by
    #1

    Hi All,

    I have query regarding screen trasition in QT. I want push in/push out transition between two screens.

    Please refer below link for transition effect.

    http://wiki.forum.nokia.com/index.php/Mobile_Design_Patterns:_Screen_Transitions

    Can you please guide us how achieve screen transition or give me sample code or link so that i can understand the screen transition which are mostly used in mobile application.

    Thanks,
    Neel

    1 Reply Last reply
    0
    • ? Offline
      ? Offline
      A Former User
      wrote on last edited by
      #2

      Hi Neel,

      Refer to "this":http://wiki.forum.nokia.com/index.php/Extending_QStackedWidget_for_sliding_page_animations_in_Qt example.

      1 Reply Last reply
      0
      • ? Offline
        ? Offline
        A Former User
        wrote on last edited by
        #3

        Thanks for giving me link.
        I am not able to compile with my sample application.

        i want just simple example link in one dialog form there is three label and another dialog in which also three label and images are displayed in both qdialog form.

        If i press any Enter key then second dialog will be displayed with another three images in push in/push out transition effect.

        Thanks,
        Neel

        1 Reply Last reply
        0
        • ? Offline
          ? Offline
          A Former User
          wrote on last edited by
          #4

          Thats the simplest one available as an example. Just go through it and implement similar animations in your own code.

          1 Reply Last reply
          0
          • ? Offline
            ? Offline
            A Former User
            wrote on last edited by
            #5

            yes QtK is correct simple use QPropertyAnimation and supply the widget you want to push out and set the duration and position start the animation you are done with that.

            And if you want to animate two widget then use the QParallelAnimationGroup thats all . :-)

            1 Reply Last reply
            0
            • ? Offline
              ? Offline
              A Former User
              wrote on last edited by
              #6

              [quote author="gaba88" date="1294125679"]yes QtK is correct simple use QPropertyAnimation and supply the widget you want to push out and set the duration and position start the animation you are done with that.

              And if you want to animate two widget then use the QParallelAnimationGroup thats all . :-)[/quote]

              Welcome to QDN

              1 Reply Last reply
              0
              • ? Offline
                ? Offline
                A Former User
                wrote on last edited by
                #7

                Hello QtK

                Thanks for the warm welcome. :-)

                1 Reply Last reply
                0
                • ? Offline
                  ? Offline
                  A Former User
                  wrote on last edited by
                  #8

                  Thanks QTK.
                  I have done with my sample application and also my sample application works on embedded platform.
                  Thanks a lot again.

                  Thanks,
                  Neel

                  1 Reply Last reply
                  0
                  • ? Offline
                    ? Offline
                    A Former User
                    wrote on last edited by
                    #9

                    I have one question.
                    I have done my sample allpication without making .ui file in QDesigner i have made it in .cpp file manualy.
                    If i want to add my four .ui file then how can i achieve this transition between four .ui files rather than creating manually in .cpp file ?

                    can anybody explain me with examples ?

                    Thanks,
                    Neel

                    1 Reply Last reply
                    0
                    • ? Offline
                      ? Offline
                      A Former User
                      wrote on last edited by
                      #10

                      AFAIK you will have to code it in cpp. You can't set the transitions using Qt Creator UI yet.

                      1 Reply Last reply
                      0
                      • A Offline
                        A Offline
                        andre
                        wrote on last edited by
                        #11

                        Two approaches:

                        you can use your .ui files for the individual pages. These can be designed in designer, and then loaded as pages for your sliding view. That should work just fine.

                        You can extend the sliding-stacked-widget to a proper designer plugin. That way, you will be able to use it directly from designer itself.

                        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
                        • Unsolved