[Qt-interest] changing the way semected items of a QTableView do appear

Castagne Nicolas nicolascastagne at yahoo.fr
Wed Nov 10 19:00:43 CET 2010


See also the attributes of QStyleOptionViewItem.
A QStyleOptionViewItem is passed to QItemDelegate::paint().

Best-
NC

--- En date de : Mer 10.11.10, TP <paratribulations at free.fr> a écrit :

> De: TP <paratribulations at free.fr>
> Objet: Re: [Qt-interest] changing the way semected items of a QTableView do appear
> À: qt-interest at trolltech.com
> Date: Mercredi 10 novembre 2010, 10h13
> TP wrote:
> 
> > What solution is the better?
> 
> Ok, I think I have perhaps the solution: using the paint()
> method of 
> QStyledItemDelegate.
> I will continue the story here.
> 
> -- 
> python -c "print ''.join([chr(154 - ord(c)) for c in
> '*9(9&(18%.\
> 9&1+,\'Z4(55l4('])"
> 
> "When a distinguished but elderly scientist states that
> something is
> possible, he is almost certainly right. When he states that
> something is
> impossible, he is very probably wrong." (first law of AC
> Clarke)
> 
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
> 


      




More information about the Qt-interest-old mailing list