[Qt-interest] paint one image over other continously
Ulf-Alexander v. Ceumern-Lindenstjerna
ceumern at vrmagic.com
Fri Sep 25 10:40:59 CEST 2009
Well then don't overwrite the image data ?!
Here is what I would do:
Open a QPainter on the target image and use
QPainter::drawPixmap(...sourceImage...)
(http://doc.trolltech.com/4.5/qpainter.html#drawPixmap)
If you could provide more information about how exactly you are drawing
the image, more people would be able to help.
HTH, Ulf
> -----Original Message-----
> From: qt-interest-bounces at trolltech.com [mailto:qt-interest-
> bounces at trolltech.com] On Behalf Of Rahulkumar Tibdewal
> Sent: Friday, September 25, 2009 10:29 AM
> To: John McClurkin; qt-interest at trolltech.com
> Subject: Re: [Qt-interest] paint one image over other continously
>
> It's not a question of calling update(). Update will simply invoke
> paint event again. I want my previous image should not get
overwritten.
>
> Thanks
> Rahul
>
>
>
>
> -----Original Message-----
> From: qt-interest-bounces at trolltech.com [mailto:qt-interest-
> bounces at trolltech.com] On Behalf Of John McClurkin
> Sent: Thursday, September 24, 2009 8:45 PM
> To: qt-interest at trolltech.com
> Subject: Re: [Qt-interest] paint one image over other continously
>
> Rahulkumar Tibdewal wrote:
> > Hello All,
> >
> >
> >
> > I am developing the application where server can monitor the client
> > desktop. I am sending the images continuously from client to server
> so
> > that server can see client desktop.
> >
> > Images are sent whenever there is any change on client desktop. i.e.
> > only changing rectangle images are sent for performance reasons.
> >
> >
> >
> > My Question is how can I paint continuously appearing images from
> client.
> >
> > I want to paint one image over other to its proper location
> continuously
> > so that it appear and continuous visualization of desktop, I am not
> sure
> > how's that possible.
> >
> By calling update() on the server widget that displays the client
> desktop whenever a new image is received? Really, this question is too
> vague to allow people to help you.
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
> DISCLAIMER
> ==========
> This e-mail may contain privileged and confidential information which
> is the property of Persistent Systems Ltd. It is intended only for the
> use of the individual or entity to which it is addressed. If you are
> not the intended recipient, you are not authorized to read, retain,
> copy, print, distribute or use this message. If you have received this
> communication in error, please notify the sender and delete all copies
> of this message. Persistent Systems Ltd. does not accept any liability
> for virus infected mails.
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
More information about the Qt-interest-old
mailing list