call update(PaintUpdate); instead of update(); See documentation of WPaintedWidget.
Wim. 2012/8/8 Mohammed Rashad <[email protected]>: > Hi > > This may have a simple solution but I dont know. > > I had painted on WSvgImage some polygons and lines and the svgImage can be > written to a file and I can see the data > > but I cant display WSvgImage as a widget > > I currently use WPaintedWidget which is very good. but each time of update() > it clears and draws again > > and I dont need all WPainterPath to be redrawn. based on a flag I select > which to draw > > Is this possible? > > All I think is to declare painter as a class variable. but its not working > > -- > Regards, > Rashad > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > witty-interest mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/witty-interest > ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ witty-interest mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/witty-interest
