如何在Qt图像轮播中定义图像数? [英] How to define number of images in Qt image's carousel?

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

问题描述

好吧,我在h ttp://developer.qt中看到了Qt Quick Image的轮播示例。 nokia.com/wiki/Qt_Quick_Carousel 。我适应了我的具体情况,并且奏效了!

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张图片,但我对此一无所获。我还在 http://doc.qt中阅读QML文档。 nokia.com/4.7-snapshot/qml-tutorial.html ...

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?

推荐答案

PathView 中的pathview.html#pathItemCount-prop rel = nofollow> pathItemCount 属性会有所帮助你。

pathItemCount property from PathView will help you.

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

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆