[Qgis-user] Problem on resizing QgisCanvas

Bijay Panda bijaykumar.mail at gmail.com
Sun Mar 29 22:32:53 PDT 2009


Hi All,
I am using Qgis 1.1.0.Actually i am using
QgsMapCanvas<http://doc.qgis.org/stable/classQgsMapCanvas.html#fe038b642bd804e350979c7e201a056b>in
my Qt GUI.
When user resizes the GUI,
QgsMapCanvas<http://doc.qgis.org/stable/classQgsMapCanvas.html#fe038b642bd804e350979c7e201a056b>get
resized along with the GUI.But the layers on it goes
invisible.Drawings
are not visible inside the mapCanvas.It gives the error like
*QPainter::begin: Cannot paint on a null pixmap
QPainter::end: Painter not active, aborted

I got stuck here really.Can any one please help me out.


*
-- 
Thanks & Regards
Bijay Kumar Panda
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20090330/148350dd/attachment.html>


More information about the Qgis-user mailing list