Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Understanding Qt Quick Demo - Photo Viewer example
Forum Update on Monday, May 27th 2025

Understanding Qt Quick Demo - Photo Viewer example

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
2 Posts 2 Posters 575 Views
  • 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 Offline
    Q Offline
    Quoc Cuong
    wrote on last edited by Quoc Cuong
    #1

    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
    0
    • johngodJ Offline
      johngodJ Offline
      johngod
      wrote on last edited by
      #2

      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
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved