4 Commits

Author SHA1 Message Date
wonder
aba6e0cdc9 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/qgis@7129 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-08-06 23:33:00 +00:00
wonder
5d7545c622 Added QgsMapToolEmitPoint which emits a signal when a point on map canvas is clicked.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6989 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-06-09 10:54:46 +00:00
wonder
301cd6c988 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/qgis@6908 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-04-23 14:57:08 +00:00
wonder
bbd36b107f Merged refactoring branch back to trunk.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6415 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-01-09 02:39:15 +00:00