Results 1 to 13 of 13

Thread: photo thumbnail viewer

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jun 2008
    Posts
    88
    Thanks
    4
    Thanked 4 Times in 3 Posts
    Qt products
    Qt3 Qt4
    Platforms
    MacOS X Unix/X11
    Wiki edits
    1

    Lightbulb photo thumbnail viewer

    I'm looking to create a grid based photo album viewer similar to the image I attached below from Adobe Lightroom (see the center tool).

    The idea being that you can scale the view which would change how many thumbnails are displayed on a given row. I also want to be able to rearrange the thumbnails in the grid and even have empty cells between images.

    I was thinking that there are a few ways to go about this but I wanted to see if anyone thought one way might be better than another.

    1. Use a QGraphicsView
    • not sure how to accomplish it with a QGraphicsView especially when it comes to zooming since the QGraphicsView zoom scales the painter and doesnt give you a real flow layout. (right?) though i probably dont need to use the graphics view to scale/zoom
    • I would think this would be the most flexible, allow interesting things like grouping thumbnails and such, not sure how to do it


    2. Use a QListView and turn on QListView::IconMode.

    • create thumbnail items and place holder items to simulate a grid?
    • probably use an item delegate for finer control


    3. Write it from scratch and use the example "FlowLayout"

    Any ideas?
    Attached Images Attached Images

Similar Threads

  1. HTML viewer
    By wj313 in forum Newbie
    Replies: 8
    Last Post: 13th June 2008, 19:02
  2. Problems with a thumbnail viewer for Konqueror
    By Valheru in forum KDE Forum
    Replies: 5
    Last Post: 22nd January 2008, 18:23

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.