10 Commits

Author SHA1 Message Date
wonder
d73452e241 Added QgsMapTool::keyReleaseEvent()
Added missing binding for QgsMapTool::keyPressEvent()
 ... will ever people add the bindings for newly added functions? :-/



git-svn-id: http://svn.osgeo.org/qgis/trunk@10118 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-02-06 15:42:35 +00:00
wonder
c223b010f9 PyQGIS: missing QgsMapTool bindings
git-svn-id: http://svn.osgeo.org/qgis/trunk@9706 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-11-25 21:37:38 +00:00
timlinux
b40ceb2d62 API cleanups for QgsRect that got overlooked...
git-svn-id: http://svn.osgeo.org/qgis/trunk@9605 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-11-09 00:14:12 +00:00
timlinux
8f60bc5095 More api cleanups mainly affecting gui
git-svn-id: http://svn.osgeo.org/qgis/trunk@9233 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-08-31 18:28:22 +00:00
jef
5e58eb576b update sip binding after r8656:
replaces QgsMapCanvas::restoreMapTool(), which shouldn't be public, with a
signal and handles it in QgisApp.



git-svn-id: http://svn.osgeo.org/qgis/trunk@8665 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-06-21 15:34:01 +00:00
jef
7384134467 add support for maptool doubleclick events
git-svn-id: http://svn.osgeo.org/qgis/trunk@8542 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-05-29 15:59:57 +00:00
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