Results 1 to 2 of 2

Thread: Help with a dynamic list of pictures/text

  1. #1
    Join Date
    Jun 2011
    Posts
    19
    Thanks
    3

    Default Help with a dynamic list of pictures/text

    Hey guys,

    Im still new to the Qt programming environment, and I was wondering what the best way to implement a sort of view which contains a list of songs.

    Each row would look like the following

    <picture of album> <name of song> <track length>
    <picture of album>.......<artist>...........<genre>


    I was considering using a table view with Qlabels as delegates, but I hear that is pretty inefficient, especially If i did not intend to edit items.

    Whats the best way to display this sort of view?


    Thanks!

  2. #2
    Join Date
    Mar 2011
    Location
    Hyderabad, India
    Posts
    1,882
    Thanks
    3
    Thanked 452 Times in 435 Posts
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows
    Wiki edits
    15

    Default Re: Help with a dynamic list of pictures/text

    QTableView should be ok, if want a plain non-hierarchical view, if you want a hierarchical view use QTreeView
    I was considering using a table view with Qlabels as delegates, but I hear that is pretty inefficient, especially If i did not intend to edit items.
    Editable / Non-Editable does not matter.

Similar Threads

  1. Dynamic List Box
    By somnathbanik in forum Newbie
    Replies: 2
    Last Post: 4th April 2011, 13:17
  2. Get text from dynamic lineedit
    By wirasto in forum Qt Programming
    Replies: 1
    Last Post: 13th January 2010, 18:56
  3. How to do internationalization of dynamic text?
    By montylee in forum Qt Programming
    Replies: 8
    Last Post: 17th April 2009, 22:00
  4. Designer plugin & dynamic value list for text input
    By janus in forum Qt Programming
    Replies: 0
    Last Post: 4th April 2009, 12:41
  5. dynamic text?
    By vonCZ in forum Newbie
    Replies: 2
    Last Post: 20th June 2007, 11:41

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.