Hello,
how could I add pictures to a tableview? I would like to add it to this program
http://3adly.blogspot.com/2010/07/sq...nd-sqlite.html
The pictures should be stored in a directory.
Thank you for you help
Goof
Hello,
how could I add pictures to a tableview? I would like to add it to this program
http://3adly.blogspot.com/2010/07/sq...nd-sqlite.html
The pictures should be stored in a directory.
Thank you for you help
Goof
You can get an icon in the table view by having the model return a valid QIcon/QPixmap for the Qt::DecorationRole of the cells. You will need to customise a model to do this. If you want the entire table view cell to be an image then you will also need to provide a QStyledItemDelegate for the column to override how the table view item is drawn.
Please could you give me an example for this:
picture.jpg | text |text1 |text2
Thank you very much
Some one else perhaps.... I'm more concerned with the flood crisis in my corner of the world.
http://www.abc.net.au/news/stories/2...12/3111075.htm
Bookmarks