[Qt-interest] Problem with QTableView (possible bug?)

David Heremans david.heremans at intersoft-electronics.com
Tue Feb 15 13:34:09 CET 2011


Hello

I'm using Ubuntu 10.04.2 LTS (x86_64 GNU/Linux) with the libqt4-dev
packages (the 4:4.7.0-0ubuntu2~lucid1~ppa1 backports).

I tried extending the Simple Tree Model Example to include a nice
decoration icon and allowing for updates to the data. I think I have
done this correctly however... If I connect a QTableView the newly added
data isn't displayed. A QListView, QtreeView and even a QComboBox work
as expected. I attached a screenshot of the output displayed on my screen.

I included a stripped down example of my code. Can somebody have a look
at it/try this out on some other platforms to see if they encounter the
same problem?
Either I'm completely missing something here or might this be a bug.

If more people report the problem I'll gladly open a bugreport.

regards,

David H
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tableview-remains-empty.png
Type: image/png
Size: 23503 bytes
Desc: not available
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20110215/fc28a5f9/attachment.png 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tableviewupdateproblem.tgz
Type: application/x-compressed-tar
Size: 8457 bytes
Desc: not available
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20110215/fc28a5f9/attachment.bin 


More information about the Qt-interest-old mailing list