[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-edu-devel
Subject: Re: [kde-edu]: Porting from Qt3 bitBlt to Qt4.2
From: Kevin Krammer <kevin.krammer () gmx ! at>
Date: 2006-10-17 11:38:10
Message-ID: 200610171338.10134.kevin.krammer () gmx ! at
[Download RAW message or body]
[Attachment #2 (multipart/signed)]
On Tuesday 17 October 2006 13:30, Kevin Krammer wrote:
> On Tuesday 17 October 2006 13:07, Carsten Niehaus wrote:
> > Hi
> >
> > I want to get rid of this bitBlt but don't find out how.
> >
> > http://rafb.net/paste/results/AkL4w948.html
> >
> > QPaintDevice::drawPixmap seems to be the way to go, but that takes two
> > QRectF which I don't have or a QRect which I don't have or... What do I
> > do?
> >
> > This doesn't work and I am now really clueless...
> > p.drawPixmap(QRect(0,0,width(), height()), m_pixmap);
>
> Try to paint on the widget directly, according to the Qt4 docs QWidget not
> handles double buffering itself
s/not/now/
sorry
Cheers,
Kevin
--
Kevin Krammer, KDE developer
KDE user support, developer mentoring
[Attachment #5 (application/pgp-signature)]
_______________________________________________
kde-edu mailing list
kde-edu@mail.kde.org
https://mail.kde.org/mailman/listinfo/kde-edu
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic