Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Unsolved Understanding Qt Quick Demo - Photo Viewer example

    QML and Qt Quick
    2
    2
    447
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Q
      Quoc Cuong last edited by Quoc Cuong

      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.

      1 Reply Last reply Reply Quote 0
      • johngod
        johngod last edited by

        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.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post