[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: Table Cells
From:       Kevin Krammer <kevin.krammer () gmx ! at>
Date:       2004-01-01 15:33:49
Message-ID: 200401011633.49716.kevin.krammer () gmx ! at
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


On Tuesday 30 December 2003 20:09, Allen Winter wrote:

> QTableItem::setForegroundColor() but no such functions exist.  And I don't
> understand how QTableItem::paint() works.

You create a subclass of QTableItem and overwrite/reimplement the paint 
method.
Your subclass can have all the methods you need to set alignment/color.
In paint() your either use the QPainter API directly or you use a 
QSimpleRichText instance to render the text for you.

Cheers,
Kevin

[Attachment #5 (application/pgp-signature)]

>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic