4 Commits

Author SHA1 Message Date
wonder
497280c4d2 Fixes to compile the bindings also with SIP 4.7.
In this SIP version, additional classes used when converting
to a subclass don't get #included automatically so let's
#include them globally with %ModuleHeaderCode


git-svn-id: http://svn.osgeo.org/qgis/trunk@7129 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-08-06 23:33:00 +00:00
wonder
9289a37f56 Added QgsMapToolEmitPoint which emits a signal when a point on map canvas is clicked.
git-svn-id: http://svn.osgeo.org/qgis/trunk@6989 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-06-09 10:54:46 +00:00
wonder
7e367f30b8 Solved problems with destruction of map tools - canvas mustn't be deleted before map tool,
however in Python the destruction had to be done explicitly to acheive right order.
New solution is that QgsMapTool is derived from QObject and on construction, QgsMapCanvas
is set as its parent. This way canvas is always deleted after deletion of map tools.

Also, because of this, I've divided QgsMeasure to QgsMeasureTool and QgsMeasureDialog
(problem with 2 parents with QObject as a base).


git-svn-id: http://svn.osgeo.org/qgis/trunk@6908 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-04-23 14:57:08 +00:00
wonder
46a2d125a2 Merged refactoring branch back to trunk.
git-svn-id: http://svn.osgeo.org/qgis/trunk@6415 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-01-09 02:39:15 +00:00