styles docker

Pierre Stirnweiss pstirnweiss at googlemail.com
Thu May 12 12:58:23 BST 2011


i am trying to debug the styles docker in words. when clicked it should
display a list of available styles, written with the corresponding character
style. This preview is actually a pixmap generated as follow: a text
document is used to apply the character style on the name of the style. This
document is laid out (using the calligra layout engine). then the text
document is painted on a pixmap. This pixmap is returned to the ListView (as
decoration role). Before the new layout engine, this was working fine. Now
it is not.
I am trying to pinpoint where exacltly the problem lies. My question is as
follow: is there a way to save or display this pixmap (in the sense of
kDebug() << variable; allows you to look at values,...) so i can look into
the generated pixmap?

Pierre
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/calligra-devel/attachments/20110512/f360f955/attachment.htm>


More information about the calligra-devel mailing list