[Uml-devel] Patch for notewidget text draw

Achim Spangler Achim.Spangler at mnet-online.de
Wed Jan 25 06:38:09 UTC 2006

the notewidget text draw function printed each single word to the screen, 
instead of full lines. This resulted in my setup in loss of a part of the 
last char of each word, as the font dimensions of the selected font were not 
fully perfectly calculated.

I fixed the draw function, so that complete lines are now collected into an 
additional QString. As soon as a full line is found, the content of the line 
is drawn with one draw function call.

Please incorporate the attached patch.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: PatchNoteWidgetDraw.diff
Type: text/x-diff
Size: 5519 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/umbrello-devel/attachments/20060125/172ae3ee/attachment.bin>

More information about the umbrello-devel mailing list