QT 3/Win Free

Christian Ehrlicher Ch.Ehrlicher at gmx.de
Wed Jan 19 09:25:41 CET 2005


> For drawing table cell boundaries, LyX sets the style of a QPen in the
> following way:
> 
>   QPen pen = ...;
>   pen.setColor("LightSteelBlue");
>   pen.setStyle(QPen:DotLine);
>   pen.setWidth(0);
> 
> As a result, a thin blue dotted line should be drawn when using this
> pen. But instead, a black (sometimes red) solid line is draw (the color
> may depend on former drawing operations).

I've attached a small patch to fix this problem. It happens because
ExtCreatePen can't create pens with a width of 0.

Christian

-- 
Sparen beginnt mit GMX DSL: http://www.gmx.net/de/go/dsl
-------------- next part --------------
A non-text attachment was scrubbed...
Name: qpainter_win.cpp.patch
Type: application/octet-stream
Size: 5721 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kde-cygwin/attachments/20050119/0c0226f0/qpainter_win.cpp.obj


More information about the kde-cygwin mailing list