timlinux
33f18396a2
Various changes relating to projection selector: Renamed QgsLayerProjectionSelector to QgsGenericProjectionSelector so that it can be used in other contexts too. Added setSelectedEpsg call to projection selector. Added setMessage() call to generic projection selector. Updated python bindings accordingly.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@9011 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-08-07 00:16:37 +00:00
timlinux
64bf591c8d
Use mapRenderer() instead of mapRender() for the QgsMapCanvas map renderer accessor.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@9002 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-08-06 12:42:23 +00:00
timlinux
fd41d31316
renamed misnamed QgsMapRender (verb) to QgsMapRenderer (noun) as part of cleanups for 1.0.0 release. Updated all related dependencies. Also removed some spurious debug messages
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@8997 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-08-05 21:11:58 +00:00
timlinux
a5b9209174
Fix for ticket #15 (Use term CRS instead of Projection throughout. Note this is a cosmetic fix only - internally class and var names still use the incorrect 'projection' nomenclature
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@8954 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-07-31 20:07:07 +00:00
jef
115ae82c5a
fix sip error
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@8781 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-07-15 08:21:08 +00:00
timlinux
928d63c78c
Replaced QgisAppInterface::getToolBox() with QgisAppInterface::addDockWidget and updated dependent code & python bindings. Note you may need to do a clean build after this commit for python bindings to build ok. The toolbox was removed in 0.11.0 and so the old getToolBox call was broken - this provides a replacement for that functionality.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@8774 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-07-14 20:19:52 +00:00
jef
4bdf54e25a
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/qgis@8665 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-06-21 15:34:01 +00:00
mhugent
41e4deac2d
possibility to add WMS layers through plugin interface
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@8593 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-06-05 09:30:48 +00:00
jef
5591ea14d8
add support for maptool doubleclick events
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@8542 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-05-29 15:59:57 +00:00
timlinux
44f36c1bb0
Multiple changes:
...
- added a call to get the file toolbar so that plugins providing 'add layer' type functionality can place their icons into the file toolbar along with other add layer icons.
- cleaned up the vector props ui so that action panel fills all available space, and that label settings dont use tabs but a property pane style ui.
- added an option to qgsoptions to enable / disable legend classification attributes list
- fix issue with detailed item delegate not being selectable in win
- updated style sheet so that system colour scheme is used for 'glossy' highlight
- fixed formatting issues in vector metadata list
- fixed python build error on mac where geos was not being linked to
- added grass list view to grass toolbox
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@8533 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-05-28 15:26:41 +00:00
mhugent
47f79b541d
Merge of rendercontext branch into trunk
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@8440 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-05-15 08:13:05 +00:00
jef
b8c2a743ac
add QgsRubberBand::getPoint to python interface (following up r8209)
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@8216 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-03-13 13:11:53 +00:00
wonder
9da6874399
Wrapped QgsEncodingFileDialog
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@8204 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-03-11 21:51:18 +00:00
timlinux
60f8e46b12
Added ability to set paper size to python api
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@8110 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-02-06 03:15:12 +00:00
wonder
9b8de1b27f
- QgisInterface's functions addRasterLayer/addVectorLayer return pointer to layer instead of just bool
...
- renamed QgisApp::addLayer to more appropriate QgisApp::addVectorLayer
- cleanups in loading of raster/vector layers in QgisApp
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@8055 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-01-27 04:11:27 +00:00
wonder
699f7d4cc8
more fixes to bindings
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@8037 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-01-24 14:34:05 +00:00
timlinux
e1056e75cb
Added missing sip file for quickprint
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@7988 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-01-17 01:01:02 +00:00
timlinux
4c20f9cc4c
Python bindings for quickprint and change print method to printMap
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@7987 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-01-17 01:00:18 +00:00
wonder
5e2eb4a7d9
Some small updates to bindings
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@7897 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-01-09 23:20:31 +00:00
wonder
efe44667c5
removed QgisPlugin from the bindings (not used anyway)
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@7895 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-01-09 22:40:21 +00:00
wonder
5b5203c90c
Moved all conversions between c++ templates and python objects to one file.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@7894 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-01-09 22:27:28 +00:00
mhugent
b8b154c249
updated python bindings for rubber band
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@7888 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-01-09 17:32:29 +00:00
mhugent
b7e083458e
Merge of advanced editing branch is now done
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@7886 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-01-09 16:54:55 +00:00
mhugent
44e41707ee
first part of advanced editing branch merge
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@7880 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-01-09 14:40:21 +00:00
mhugent
5f2d993ade
Patch that provides incremental screen update
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@7846 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-01-05 15:54:03 +00:00
jef
e3a29b2aaa
fix a warning in SIP
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@7374 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-11-11 14:51:19 +00:00
mhugent
09a075b4cb
Applied patch for legend refresh from plugins provided by Juergen
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@7296 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-10-24 07:23:24 +00:00
wonder
e94e9f62e1
Applied patch from Jurgen Fischer with some modifications.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@7235 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-09-30 23:45:36 +00:00
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
mhugent
227ce8147e
reverted patch from r7112 since we are in feature freeze
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@7114 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-07-30 07:58:57 +00:00
mhugent
3811c94196
applied patch from Juergen to refresh layer legend from plugin
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@7112 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-07-30 07:42:12 +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
6d09a3c6df
Fixed map overview handling
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6971 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-05-31 00:33:26 +00:00
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