25766 Commits

Author SHA1 Message Date
Matthias Kuhn
4d88ca7093 Fix warnings and small api doc improvement 2015-01-05 13:19:48 +01:00
Denis Rouzaud
bb16a44461 add QgsProjectionSelectionWidget to custom widgets 2015-01-05 11:41:50 +01:00
Denis Rouzaud
07c41fd282 add SIP for QgsProjectionSelectionWidget 2015-01-05 11:41:50 +01:00
Denis Rouzaud
5e670ff7b3 use custom widget for projection selection in options 2015-01-05 11:41:50 +01:00
Denis Rouzaud
f68cd5ea40 dedicated class for projection selection widget 2015-01-05 11:41:50 +01:00
Matthias Kuhn
df2cac7640 Merge pull request #1743 from naihil/master
[Qt5-compat] Change Q_WS_* macroses to Q_OS_*
2015-01-05 09:56:15 +01:00
Juergen E. Fischer
b905f6bb79 remove unused define (followup 841af773e) 2015-01-04 21:05:00 +01:00
Nyall Dawson
b396af0e37 Merge pull request #1751 from andreabedini/patch-1
Remove unused variable
2015-01-05 06:43:07 +11:00
Juergen E. Fischer
841af773e3 remove (outdated) internal spatialite 2015-01-04 16:18:01 +01:00
Sandro Santilli
41da5c35f8 Fix handling of rotation in partial-rendering of map (#11909) 2015-01-04 12:47:41 +01:00
Andrea Bedini
fbe755111a Remove unused variable 2015-01-04 17:27:38 +11:00
Juergen E. Fischer
2418ec7e87 fix windows build 2015-01-04 03:34:26 +01:00
Sandro Santilli
dee9c462e9 Fix feature highlight in presence of rotation (#11815) 2015-01-03 21:02:01 +01:00
Sandro Santilli
df49538298 Fix select by rectangle and by point in presence of rotation
Closes http://hub.qgis.org/issues/11865
and http://hub.qgis.org/issues/11930
2015-01-03 17:24:39 +01:00
Sandro Santilli
d7269595e1 Consider rotation in rubberband placement
Fixes artifacts on zoom by rectangle (#11910) and placement of
measure tool rubberband.
2015-01-03 17:08:58 +01:00
Sandro Santilli
888a9f0bfc Consider rotation in pre-rendering display of map items
See http://hub.qgis.org/issues/11909
2015-01-03 09:46:58 +01:00
Sandro Santilli
4d449f17cb Update sip bindings for QgsMapCanvasItem (after const-correctness) 2015-01-03 09:23:34 +01:00
Juergen E. Fischer
6f8f66eb49 indentation update 2015-01-03 01:50:39 +01:00
Sandro Santilli
0882e9ed3c const correct toMapCoordinates and toCanvasCoordinates 2015-01-02 23:54:28 +01:00
Sandro Santilli
dd957d97d3 Drop temporary solution for WMS legend (double-click in legend)
Now WMS legend is shown in layertree this isn't needed anymore.
See http://lists.osgeo.org/pipermail/qgis-developer/2014-December/036065.html
2015-01-02 23:31:01 +01:00
Sandro Santilli
7b6f28ce2f Specify that QgsMapCanvasItem::setRect/rect use map units 2015-01-02 21:29:52 +01:00
rldhont
2f75c3c884 [QGIS-Server][BUGFIX] GetLegendGraphics set layername
To have title instead of name in server getlegendgraphic response, the commit
 bb95a0f43a53602bd7ad1ea6783d251755c66019 update getlegendgraphic to set the
 tree layer name. This update set the layer name with layer title.

To fix it, I just store the layers name and reset them at the end of
 GetLegendGraphic request.
2015-01-02 14:50:45 +01:00
Nathan Woodrow
49d864f4fc Merge pull request #1735 from strk/wmslegend
Add support for map-contextual WMS legend
2015-01-02 23:40:49 +10:00
Nathan Woodrow
c0b94cf2bf Merge pull request #1744 from rldhont/expression_get_transform_geom
[FEATURE] Add get and trasnform geometry in Expression
2015-01-02 23:16:15 +10:00
rldhont
a0ffad2532 [FEATURE] Add get and transform geometry in Expression
In version 2.6, new keywords has been added to Expression :
* $currentfeature - returns the current feature
* $atlasfeature - returns the atlas feature
* getFeature - gets a matching feature from a layer

But I think, Expression lacks a few keywords :
* geometry - returns the feature's geometry
* transform -  returns the transformed geometry

These new keywords can be used with getFeature for some geometry tests like
 intersects, crosses, contains, etc

Tests has been added to geometry and transform in Expression
2015-01-02 12:02:55 +01:00
Juergen E. Fischer
2b7e49b9d1 actually make canvas rotation available (followup 916a27f7b) 2015-01-01 14:09:40 +01:00
Juergen E. Fischer
8cc8eae1c1 make messages button translatable 2015-01-01 13:36:53 +01:00
Juergen E. Fischer
6dc160d92f make button translatable 2015-01-01 13:23:37 +01:00
Nathan Woodrow
246de9f056 Add OTF text to CRS button when on the fly is enabled 2015-01-01 14:31:26 +10:00
Nathan Woodrow
c5b5eee183 Fix #10392 Fix #11713 - Fix selection of ellipsoide when opening project properties 2015-01-01 13:56:49 +10:00
Nathan Woodrow
4f4b891556 Format source 2015-01-01 13:27:46 +10:00
Nathan Woodrow
6484b874bd Button text for CRS picker 2015-01-01 13:26:30 +10:00
Nathan Woodrow
ffac1383b4 Add new messages icon, add messages text to log button
Move status bar add logic to qgisapp for QgsMessageLogViewer
2015-01-01 13:26:30 +10:00
Juergen E. Fischer
f32dfe99c2 fix warnings 2014-12-30 22:47:09 +01:00
Juergen E. Fischer
916a27f7b9 make canvas rotation support available in options 2014-12-30 22:47:09 +01:00
Juergen E. Fischer
bff64fdef9 indentation update 2014-12-30 22:47:09 +01:00
Julien Nabet
e6561cec68 Fix cppcheck reports:
[src/providers/ogr/qgsogrprovider.cpp:1071]: (error) Memory leak: oldlocale
[src/providers/ogr/qgsogrprovider.cpp:1268]: (error) Memory leak: oldlocale
[src/core/spatialite/spatialite.c:50598]: (error) Memory leak: reader
[tests/src/core/testqgscolorscheme.cpp:155]: (error) Memory leak: dummyScheme2
[src/core/spatialite/spatialite.c:40138]: (error) Memory leak: ln
2014-12-30 22:47:08 +01:00
Sandro Santilli
5a1df4a2d5 Fix panning from overview map with non-zero rotation
Closes http://hub.qgis.org/issues/11816
2014-12-30 11:59:02 +01:00
Nathan Woodrow
9d76247ac3 Fix #11928 - import os for las tools 2014-12-30 13:08:53 +10:00
Giuseppe Sucameli
46da379c48 Merge pull request #1705 from marcel-dancak/db_manager-spatialite-index-tables
db_manager: do not display index tables when browsing SpatiaLite databases
2014-12-29 22:53:45 +01:00
Sandro Santilli
5acd35e928 Do not assume mScheme is not null
Fixes crashes with ENABLE_MODELTEST set at build time on opening
options editor
2014-12-28 22:58:29 +01:00
Salvatore Larosa
b96d943383 [developers map] open link on external web browser instead of webview widget 2014-12-28 20:09:45 +01:00
Nathan Woodrow
1e7cc2ccbd Merge pull request #1634 from slarosa/usermap_about
Adds Developers Map in About dialog
2014-12-27 07:00:23 +10:00
Salvatore Larosa
2aa2292156 [developers map] add to popup whether developer is committer 2014-12-24 17:47:30 +01:00
Sandro Santilli
68743f9b8a Disable support for canvas rotation by default
Rotation support can be enabled at runtime exporting the
QGIS_ENABLE_CANVAS_ROTATION variable (set to any value)
2014-12-24 17:04:48 +01:00
Sandro Santilli
11f73e791c Reset rotation on new project
Closes http://hub.qgis.org/issues/11832
2014-12-24 17:04:31 +01:00
Anatoliy Golubev
ea00b36985 Change Q_WS_X11 to Q_OS_UNIX for Qt5 compatibility 2014-12-24 15:23:21 +03:00
mhugent
1bce9cc6fe Merge pull request #1310 from manisandro/adjust_crs_drop_from_browser
Try to use the project CRS when adding a layer from the browser
2014-12-23 14:07:17 +01:00
Sandro Santilli
32079ed3cf Fix LayerTreeModel use of beginInsertRows with embedded legends
See http://hub.qgis.org/issues/11905
2014-12-23 10:39:18 +01:00
Sandro Mani
2efda5def5 Add python bindings for added methods 2014-12-23 10:34:51 +01:00