From kde-devel Tue Jul 15 03:45:01 1997 From: Ashley Winters Date: Tue, 15 Jul 1997 03:45:01 +0000 To: kde-devel Subject: Re: QPainter::drawPoint() X-MARC-Message: https://marc.info/?l=kde-devel&m=88665863014579 I snipped, but it's *still* a biggie. On Tue, 15 Jul 1997, Uwe Thiem wrote: > Ashley Winters was heard to say: > > On Mon, 14 Jul 1997, Uwe Thiem wrote: > > > Ken Hollis was heard to say: > > > > Uwe: > > > > > Am I a bit touched or does QPainter::drawPoint() do nothing? > > > > > > > > This has been the case for me using Qt 1.2 or the beta. I am experiencing > > > > the same thing, and I don't know if it has to do with X, or with the > > > > library itself. Doing drawLine(x,y,x,y) works for me as well. > > > > Does the connect example show you a dot for the dragged mouse points? > > It uses QPainter::drawPoint() for the mouse points. If it does show them > > to you (it does for me), I would surmise that there is no bug with Qt. > > The only difference I see is that the connect example uses a QPoint. > > > > Connect shows up correctly. But I must admit I don't understand connect. > In ConnectWidget::mouseMoveEvent() it uses QPainter::draw.Point() but > in ConnectWidget::paintEvent() it uses QPainter::draw.Line(). Maybe because > the Trolls know the bug. ;-) Nope, we're not *that* fortunate :) drawLine() draws the colored lines between the dots. drawPoint() draws the dots the mouse makes as it gets dragged around. > Uwe > > --------------------------------------------------------------------------- > Uwe Thiem Tel: +264 - 061 - 244511 > P.O.Box 30955 Fax: +264 - 061 - 244511 > Windhoek Email: uwe@uwix.alt.na > Namibia > ********************************** > You can still escape from the GATES of hell: Use Linux! enormously wealthy ^ Ashley Winters