[PATCH] KCapacityBar - Request
Rafael Fernández López
ereslibre at kde.org
Sun Jun 29 12:01:28 BST 2008
Hi,
This the patch that I would like to commit after 4.1.0 is tagged:
http://media.ereslibre.es/2008/06/kdelibs-capacitybar.diff (updated)
The update has been (in relative terms to the older patch posted here):
http://media.ereslibre.es/2008/06/kdelibs-capacitybar-relative.diff
You can see now how it would be hell easy to draw the widget on delegates, for
instance, just calling:
capacityBar.drawCapacityBar(painter, rect);
and you are done.
I haven't set it as static, since we would need to be creating an object on
each call, and the paintEvent() method is called very frequently. Also, if
being static, it would need to have more parameters.
Comments, OK to commit when 4.1.0 is tagged ?
Regards,
Rafael Fernández López.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20080629/fa1bf76b/attachment.sig>
More information about the kde-core-devel
mailing list