如何在Qt图像轮播中定义图像数

如何在Qt图像轮播中定义图像数

本文介绍了如何在Qt图像轮播中定义图像数?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

好吧,我在h 。我适应了我的具体情况,并且奏效了!

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!

好,但是我仍然遇到问题。我每次只想显示4张图片,但我对此一无所获。我还在 ...

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...

有人知道我如何每次只能显示4张图像吗?该示例代码?

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

推荐答案

属性会有所帮助你。

pathItemCount property from PathView will help you.

这篇关于如何在Qt图像轮播中定义图像数?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-12 09:16