Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Sliding stacked widget (too many slots to be called out)
Forum Updated to NodeBB v4.3 + New Features

Sliding stacked widget (too many slots to be called out)

Scheduled Pinned Locked Moved General and Desktop
5 Posts 3 Posters 2.8k 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.
  • K Offline
    K Offline
    Kewal
    wrote on last edited by
    #1

    I am just trying to create a stacked widget which slides through, What i am trying to achieve is the pages which we get to see in android or iphone or any other devices with icons sliding away to show next set of icons. If i want to associate buttons with different icons or bitmap images how should i be approaching it,. is there any class existing to do this. every new page will have different buttons with different icons and each button will give out will call out a different slot when clicked

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

      Such "flowing" UI's are more the domain of QML/Qt Quick than of Qt Widgets. Which are you using?

      1 Reply Last reply
      0
      • K Offline
        K Offline
        Kewal
        wrote on last edited by
        #3

        I want to use QT widgets only and try to achieve this

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

          Then you are on your own. You can use building blocks like the Qt animation framework, but it will be up to you to make the actual widgets animate over the screen. The reason that Nokia started the development of Qt Quick and QML is because such things are hard to do and hard to make work well and fast using Qt Widgets.

          1 Reply Last reply
          0
          • M Offline
            M Offline
            mbreier
            wrote on last edited by
            #5

            Hello,

            I know it is a rather old thread, but I had the same problem these days and for this problem just look on the following website:

            "http://www.developer.nokia.com/Community/Wiki/Extending_QStackedWidget_for_sliding_page_animations_in_Qt":http://www.developer.nokia.com/Community/Wiki/Extending_QStackedWidget_for_sliding_page_animations_in_Qt

            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