<p dir="ltr">SailfishView is based in PathView, so read <a href="http://doc.qt.io/qt-5/qml-qtquick-pathview.html">http://doc.qt.io/qt-5/qml-qtquick-pathview.html</a><br>
You can define delegate as Loader and depends on slideshowview currentIndex change loader sourceComponent. </p>
<div class="gmail_quote">05 дек. 2015 г. 6:09 пользователь "yurumi" <<a href="mailto:yurumi@gmx.de">yurumi@gmx.de</a>> написал:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Thanks Andrey and Lucien! Although in my case it feels strange to have a<br>
SlideshowView that shows delegates which contain ListViews that show<br>
delegates, the proposed solution works.<br>
<br>
I have a follow up question: In case the components included in the<br>
SlideshowView are completely different, how can I "dynamically" choose<br>
the appropriate delegate (assuming every delegate has it's own qml file)?<br>
<br>
SlideshowView{<br>
    ...<br>
    model: ListModel {<br>
        id: articleCategoryModel<br>
        ListElement { articleCategory: "unread" }<br>
        ListElement { articleCategory: "favorite" }<br>
        ListElement { articleCategory: "archived" }<br>
    }<br>
<br>
    delegate: {// Choose delegate dependent on articleCategory //}<br>
    ...<br>
}<br>
<br>
Cheers,<br>
Thomas<br>
<br>
<br>
On 01.12.2015 09:51, Lucien Xu wrote:<br>
> Or SlideshowView<br>
> <a href="https://sailfishos.org/develop/docs/silica/qml-sailfishsilica-sailfish-silica-slideshowview.html/" rel="noreferrer" target="_blank">https://sailfishos.org/develop/docs/silica/qml-sailfishsilica-sailfish-silica-slideshowview.html/</a><br>
><br>
> It is built on top of PathView, but is easier to use<br>
><br>
> ----- Mail original -----<br>
>> De: "Andrey Kozhevnikov" <<a href="mailto:coderusinbox@gmail.com">coderusinbox@gmail.com</a>><br>
>> À: "Sailfish OS Developers" <<a href="mailto:devel@lists.sailfishos.org">devel@lists.sailfishos.org</a>><br>
>> Envoyé: Mardi 1 Décembre 2015 00:55:04<br>
>> Objet: Re: [SailfishDevel] Carousel of Pages<br>
>><br>
>> PathView?<br>
>><br>
>> ------ Исходное сообщение ------<br>
>> От: "yurumi" <<a href="mailto:yurumi@gmx.de">yurumi@gmx.de</a>><br>
>> Кому: "Sailfish OS Developers" <<a href="mailto:devel@lists.sailfishos.org">devel@lists.sailfishos.org</a>><br>
>> Отправлено: 01.12.2015 2:59:26<br>
>> Тема: [SailfishDevel] Carousel of Pages<br>
>><br>
>>> Hi everyone,<br>
>>><br>
>>> for my application (sailabag) I would like to achieve a carousel<br>
>>> effect:<br>
>>> There are three Pages (unread articles, archived articles and<br>
>>> favorites). The user should swipe left / right to switch between the<br>
>>> categories, maybe in an endless loop.<br>
>>><br>
>>> I couldn't find something appropriate in the Silica Reference<br>
>>> (pageStack.pushAttached was the closest hit). Has anyone a smart<br>
>>> solution for this kind of effect?<br>
>>><br>
>>> Cheers,<br>
>>> Thomas<br>
>>> _______________________________________________<br>
>>> SailfishOS.org Devel mailing list<br>
>>> To unsubscribe, please send a mail to<br>
>>> <a href="mailto:devel-unsubscribe@lists.sailfishos.org">devel-unsubscribe@lists.sailfishos.org</a><br>
>> _______________________________________________<br>
>> SailfishOS.org Devel mailing list<br>
>> To unsubscribe, please send a mail to<br>
>> <a href="mailto:devel-unsubscribe@lists.sailfishos.org">devel-unsubscribe@lists.sailfishos.org</a><br>
> _______________________________________________<br>
> SailfishOS.org Devel mailing list<br>
> To unsubscribe, please send a mail to <a href="mailto:devel-unsubscribe@lists.sailfishos.org">devel-unsubscribe@lists.sailfishos.org</a><br>
w<br>
_______________________________________________<br>
SailfishOS.org Devel mailing list<br>
To unsubscribe, please send a mail to <a href="mailto:devel-unsubscribe@lists.sailfishos.org">devel-unsubscribe@lists.sailfishos.org</a></blockquote></div>