[Qt-interest] How to change text in itemview (not in model)?

Uwe Drechsel vym at InSilmaril.de
Mon Aug 2 22:23:13 CEST 2010


On Thu, Jul 29, Justus Best wrote:

> Hi,
> 
> My solution for this would be not to override the paint method,just 
> reimplement
> QString QStyledItemDelegate::displayText ( const QVariant & value, const 
> QLocale & locale ) const   [virtual]
> 
> and process QVariant::String.
> 

Thanks (also to Stephen), sounds good!

Uwe 

-- 
mathematician, n:
   Someone who believes imaginary things appear right before your i's.



More information about the Qt-interest-old mailing list