[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: QPainter::drawPoint()
From:       Ashley Winters <jql () accessone ! com>
Date:       1997-07-15 3:45:01
[Download RAW message or body]


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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic