Sliding stacked widget (too many slots to be called out)
-
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
-
Such "flowing" UI's are more the domain of QML/Qt Quick than of Qt Widgets. Which are you using?
-
I want to use QT widgets only and try to achieve this
-
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.
-
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