Moved raster load stuff to a group at the end of qgisapp.cpp file.
Removed generically useable raster fns from qgisapp to static methods of qgsrasterlayer.
Some renaming of variable names etc.
Added addRaster(QgsRasterLayer *) private method to qgisapp - which is intended for use via plugins that want to load 'ready made' / symbolised raster layer into the mapCanvas.
git-svn-id: http://svn.osgeo.org/qgis/trunk@1576 c8812cc2-4d05-0410-92ff-de0c093fc19c
In the next release I will softcode global font selection in qgsoptions, but I dont have time to do that right now.
git-svn-id: http://svn.osgeo.org/qgis/trunk@1573 c8812cc2-4d05-0410-92ff-de0c093fc19c
In release 0.5 this will be extended to provide simple point vector file data capture / digitising facility. This will be implemented by means of a plugin which will utilise the aforementioned xyClickCoordinate(QgsPoint) signal.
git-svn-id: http://svn.osgeo.org/qgis/trunk@1569 c8812cc2-4d05-0410-92ff-de0c093fc19c
has been tested and it compiles under unix. Future changes to the code must
be aware of multiplatform issues.
git-svn-id: http://svn.osgeo.org/qgis/trunk@1563 c8812cc2-4d05-0410-92ff-de0c093fc19c
Implemented state handling of 'showInOverview' property in project io.
git-svn-id: http://svn.osgeo.org/qgis/trunk@1554 c8812cc2-4d05-0410-92ff-de0c093fc19c
Removed overview stuff from debug only version of qgisapp.
Did plumbing for enableing disabling layers in overview from popup context menu.
Whoopdeedooo. :-)
All that remains to do now is sort out syncronisation of layer ordering between main map canvas and overview canvas.
git-svn-id: http://svn.osgeo.org/qgis/trunk@1543 c8812cc2-4d05-0410-92ff-de0c093fc19c
Add transparency slider to raster popup menu.
Adding 'show in overview' mpopup menu option to raster (incomplete).
git-svn-id: http://svn.osgeo.org/qgis/trunk@1539 c8812cc2-4d05-0410-92ff-de0c093fc19c
GPSBabel is running, show the messages printed to GPSBabel's stderr if
something goes wrong
git-svn-id: http://svn.osgeo.org/qgis/trunk@1537 c8812cc2-4d05-0410-92ff-de0c093fc19c
devices for now, routes and waypoints and Magellan support will come in
the near future.
git-svn-id: http://svn.osgeo.org/qgis/trunk@1536 c8812cc2-4d05-0410-92ff-de0c093fc19c
** fixed German translation
** added translation support to external help applications (grid_maker and gpsimporter)
git-svn-id: http://svn.osgeo.org/qgis/trunk@1535 c8812cc2-4d05-0410-92ff-de0c093fc19c
Implemented QgsMapLayerRegistry - s singleton object that keeps track of loaded layers. When a layer is added an entry is made in the registry. When a layer is removed, the registry emits a layerWillBeRemoved signal that is connected to any mapvcanvas, legend etc that may be using the layer. The objects using the layer can then remove any reference they make to the layer - after which the registry deletes the layer object.
This fixes a problem with adding an overview map which caused qgis to crash when a layer was removed because it was trying to delete the same pointer twice.
Added a better implementation of the overview map below map legend.
Refactoring in qgis app - all private members now adhere to qgis naming conventions (prefixed with m).
Import Note *** ONLY THE MAPLAYER REGISTRY SHOULD DELETE LAYERS NOW ***
git-svn-id: http://svn.osgeo.org/qgis/trunk@1530 c8812cc2-4d05-0410-92ff-de0c093fc19c