Hey Bastien, 2011/10/21 Bastien AMIEL <bastien.am...@opencubetech.com>: > item is a WStandardItem. > mitemModel is a WStandardItemModel. > > > Is there any difference between doing this : > item->setData(progression); > and this : > mitem->setData(item->index(), progression);
No, that is the same. > And what is the good signal to emit to update this cell when I changed the > data (item belongs to a row that use a custom WItemDelegate, I wrote only > the update function of this itemDelegate) ? Normally, views should update themselves automatically -- updating this item will fire the dataChanged() signal. A view will invoke the item delegate to update the item. > For information, it does update if other element are updated in the row. but > it does not if only this cell need an update. > > Any idea ? No -- that is odd but could be a bug. If you can reproduce it in a test case, I would certainly take a look at it. Regards, koen ------------------------------------------------------------------------------ The demand for IT networking professionals continues to grow, and the demand for specialized networking skills is growing even more rapidly. Take a complimentary Learning@Cisco Self-Assessment and learn about Cisco certifications, training, and career opportunities. http://p.sf.net/sfu/cisco-dev2dev _______________________________________________ witty-interest mailing list witty-interest@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/witty-interest