Understanding Qt Quick Demo - Photo Viewer example



  • Helo everyone, i'm new to Qml and i try to understand this Photo Viewer example, i can't understand why they use listview to layout item but also use listview or gridview as model. So my question is to understand how to display list of images and click to view it in fullscreen like Photo Viewer.
    Can anyone clarify this to me, i was spent one day to understanding this but actually i can't get it. Thank u guys for helping, i really appreciate it.



  • Perhaps you have lack of kowledge on how the listview and model view works . Try to read this https://qmlbook.github.io/en/ch06/index.html first so you can get a better understanding of the concept. Hope it helps.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.