Results 1 to 2 of 2

Thread: QTableWidgetItems, String + Image

  1. #1

    Default QTableWidgetItems, String + Image


    I want to create QTableWidgetItems similar to the file/dir items in the static file dialog window, where an icon of a dir is next to the dir name, or an icon of a file is next to the file name. What should I use to do this?

    Or is there a way to modify the file list in the static file dialog window, so that a sequence of similarly named files are listed as one file, i.e. file1, file2, file3, file4 are listed as file1-4?
    Last edited by shooogun; 9th April 2008 at 03:22.

  2. #2

    Default Re: QTableWidgetItems, String + Image

    Figured it out guys (this Qt stuff is easy :P er... maybe)

    I have to use QDirModel + QTableView instead of QTableViewWidget.

Similar Threads

  1. Finding marks on scanned image for alignment
    By caduel in forum Qt Programming
    Replies: 1
    Last Post: 23rd September 2007, 02:10
  2. Help needed handling image data
    By toratora in forum General Programming
    Replies: 2
    Last Post: 11th May 2007, 09:24
  3. Create pixmap image from string
    By Morea in forum Qt Programming
    Replies: 5
    Last Post: 17th November 2006, 16:38
  4. How and when to repaint a widget ?
    By yellowmat in forum Newbie
    Replies: 7
    Last Post: 3rd April 2006, 16:36
  5. Question about updating an image on screen
    By SkripT in forum Qt Programming
    Replies: 1
    Last Post: 24th February 2006, 19:01


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.