7 Commits

Author SHA1 Message Date
wonder
409fef558b One more place where where ownership must be transferred and it wasn't - resulting in segfaults on app's exit.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6910 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-04-24 09:14:05 +00:00
wonder
85eab3f9a8 Solved bugs with double deletion of map canvas items in Python bindings.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6909 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-04-23 14:58:15 +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
e7d6fbaf4c QgsVertexMarker: added possibility to change color and pen width
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6901 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-04-20 10:11:08 +00:00
wonder
32519431dd QgsMapCanvasItem is not to be derived from QObject - no need for that.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6750 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-03-03 11:13:57 +00:00
wonder
8d3dd5fef4 Changed deque<QString> to QStringList in QgsMapRender, updated canvas and bindings appropriately.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6749 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-03-03 10:53:53 +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