How to define number of images in Qt image's carousel?

时间秒杀一切 提交于 2019-12-24 08:32:28

问题


Well, i saw a Qt Quick Image's Carousel Example in http://developer.qt.nokia.com/wiki/Qt_Quick_Carousel. I adapted for my specific situation and it worked!

Ok, but i'm with problems still. I want to show just 4 images each time, but i didn't see something about this. I'm reading also a QML documentation in http://doc.qt.nokia.com/4.7-snapshot/qml-tutorial.html...

Do someone know how can i to show just 4 images each time in the that example code?


回答1:


pathItemCount property from PathView will help you.



来源:https://stackoverflow.com/questions/9063737/how-to-define-number-of-images-in-qt-images-carousel

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!