[Qgis-user] Dynamic Reload Plugin

Brent Graham brentgraham40 at hotmail.com
Sat Jul 28 23:06:02 PDT 2012



I tried the plugin builder it kept giving me errors, Can someone make a plugin with the following code?
from PyQt4.QtCore import *
timer = QTimer()
timer.setInterval(45000)
QObject.connect(timer, SIGNAL("timeout()"),
qgis.utils.iface.mapCanvas().refresh)
timer.start()

 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20120729/e3eefa45/attachment.html>


More information about the Qgis-user mailing list