Results 1 to 2 of 2

Thread: Ultimate Newbie: List of JPG images with text by side

  1. #1
    Join Date
    Sep 2009
    Posts
    1
    Qt products
    Qt4
    Platforms
    Unix/X11

    Question Ultimate Newbie: List of JPG images with text by side

    Hi to all: First post :-)

    I'm a total newbie into QT, so please bear with me

    I'm trying to find out how I can achieve the following:

    A list with two columns: The first column is a JPG image, and the second column is a label with several lines. This is for each row.

    Then the list can be bigger than the screen so it will have an vertical scroll bar.

    Basically, a scrollable list like the image list for Picasa:

    Image , Label
    Image , Label

    The image are a JPG files always with the same size, and should be clickable to open a "status" window.

    I'm thinking in using the QGraphicsScene class and adding QImage and QLabel.

    Is this going to work, or is it a simpler way. Any ideas are welcome.

    TIA!

  2. #2
    Join Date
    Dec 2007
    Posts
    628
    Thanks
    3
    Thanked 89 Times in 87 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Ultimate Newbie: List of JPG images with text by side

    Please refer to following example.
    http://doc.trolltech.com/4.5/itemviews-chart.html
    Notice the list on the left side of the dialog.

Similar Threads

  1. Unhandled exception in qatomic
    By NewGuy in forum Qt Programming
    Replies: 14
    Last Post: 23rd July 2013, 09:49
  2. Replies: 1
    Last Post: 15th January 2009, 10:34

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.