Curt Nowak wrote: > I'm trying to set up a QItemDelegate that shows a QComboBox as its editor and > manages non-primitives internally. I modified the StarDelegate example so > that it uses QComboBoxes for editors and works with java.awt.Point as > "complex" objects. Unfortunately the table data never changes. However, if I > use primitives instead it works perfectly fine. I just don't get it. >
Hi, Curt. This is a bug in Qt Jambi causing the QTableWidget to be incompatible with any type not known to Qt Jambi. The bug will be fixed for the next patch release. Meanwhile, the only suggestions I have is that you either 1. Use QTableView and your own item model, as I believe these should not suffer from the bug. 2. Convert your AWT Point objects to QPoint for setting them as data in the model. Since QPoint is a specially handled class, it will avoid the bug. Thank you for the report. -- Eskil _______________________________________________ Qt-jambi-interest mailing list [email protected] http://lists.trolltech.com/mailman/listinfo/qt-jambi-interest
