Martin Dobias
c3db6d0988
Merge pull request #1556 from leyan/convertToRuleBasedSymbology
...
[FEATURE] Keep renderer settings when changing renderer type (where it is possible)
2014-09-13 17:58:45 +07:00
Martin Dobias
ffcd07b066
Joins: optionally use just a subset of fields from joined layer
2014-09-13 14:27:52 +07:00
Nyall Dawson
b44ef92b02
Default names for colors when adding to schemes
2014-09-13 08:41:11 +10:00
Martin Dobias
1a7dfa1a6b
[FEATURE] display rule-based renderer legend in a pseudo-tree (in layer tree model/view)
2014-09-12 11:40:15 +07:00
Martin Dobias
fba5c5a656
Move triggerRepaint() to QgsMapLayer, use it instead of deprecated clearCacheImage()
2014-09-11 23:52:21 +07:00
Nyall Dawson
e9d7b520db
Support dragging colors from QgsColorPreviewWidget
2014-09-11 21:56:48 +10:00
Nyall Dawson
c4c58ab342
Accept dropped colors on color widgets
2014-09-11 21:11:04 +10:00
Jürgen Fischer
6151459518
Merge pull request #1577 from RossGammon/master
...
Description: Fix qreal VS double issues.
2014-09-10 23:22:41 +02:00
Martin Dobias
071a5ec0c5
Fix #10912 (joined attributes are not correctly propagated in nested joins)
...
This commit makes QgsVectorLayerJoinBuffer listen to changes in fields
of joined vector layers in order to update the cache and inform parent layer
2014-09-09 20:17:51 +07:00
Leyan
9931dde90a
refactor to a more general convertFromRenderer function
2014-09-09 19:55:21 +08:00
Leyan
11d159cd85
Add factory annotation and use clone for rule based renderer
2014-09-09 19:47:28 +08:00
Leyan
45dfd53b4a
add sip
2014-09-09 19:47:28 +08:00
Ross Gammon
79b3a8f889
Description: Fix qreal VS double issues.
...
This patch tries to fix qreal VS double issues for ARM
There are two seperate issues, the first is trivial just a typecast on
a const.
The second is however less-trivial and needs to be checked
before merging. sip doesn't seem to like the type
QVector<double> on platforms where qreal is float but changing
the type to qreal may have knock-on impacts on the native code.
QGIS Issue: http://hub.qgis.org/issues/11148
Debian Bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=760535
Author: Peter Michael Green <plugwash@debian.org>
2014-09-05 20:51:13 +02:00
Martin Dobias
86b4fcc7be
Fix QgsLayerTreeModel naming conventions and update Python bindings
...
I was using a mixture of terms 'symbology items' and 'legend nodes' for the same thing which was confusing
2014-09-05 18:33:55 +07:00
Martin Dobias
4cac2f75bd
Visibility groups: also record visibility states of renderer categories (legend nodes) into groups
...
Visibility of a layer is not stored within the map layer, but visibility
of renderer categories (which turn into legend nodes) is stored inside renderer and
that one in turn inside map layer. This fact may result in surprising behavior
when change of visibility group for a composer map will affect other composer maps (and main canvas).
The only way to overcome the problem would be to have the possibility to use multiple renderers with one layer.
2014-09-05 11:28:08 +07:00
Nyall Dawson
1b773165f2
[composer] Update sip bindings, add missing sip bindings for
...
QgsComposerMapGrid (sponsored by NIWA, New Zealand)
2014-09-03 21:22:29 +10:00
Nyall Dawson
f68b2586b9
[composer] Improvements to grid annotation string formatting (sponsored
...
by NIWA, New Zealand):
- Don't show directional suffix for 0 or 180 latitudes or 180 longitudes
- Add padded coordinate modes
- Fix precision errors causing minutes/seconds > 60
- Wraparound longitudes to restrict them to the -180 to 180 degree range
2014-09-03 20:40:30 +10:00
Nyall Dawson
a64e7b134c
More const correctness, fix crash with atlas
2014-09-02 19:31:43 +10:00
Juergen E. Fischer
6d4dee914e
Save blendmode/composition mode in project file
2014-09-02 10:31:03 +02:00
Nyall Dawson
b5835972bb
[composer] Add zoomToExtent for QgsComposerMap, allows easily fitting a set extent into the map item without altering the item's shape
2014-09-01 16:05:27 +10:00
Martin Dobias
dd78f099ab
Fix doxygen warnings, fix missing bindings
2014-09-01 11:05:51 +07:00
Martin Dobias
d994e0a1b3
Fix #11006 (wrong size of symbols in print composer legend if map units are used)
2014-09-01 10:10:38 +07:00
Martin Dobias
216ecab1fc
More Python wrapper updates + fixes
2014-09-01 10:10:37 +07:00
Martin Dobias
68ed52e963
API fixes, added missing python wrappers
2014-09-01 10:10:37 +07:00
Martin Dobias
ee3d67bcf3
Update Python bindings
2014-09-01 10:10:37 +07:00
Martin Dobias
e6c6aa2137
Layer tree model support replacement of layer tree + layer node handles removal of layer cleanly
2014-09-01 10:10:36 +07:00
Martin Dobias
0fc7fc7b07
New flag to disable checkboxes for legend nodes in layer tree model
2014-09-01 10:10:36 +07:00
Martin Dobias
89941f6b0a
Moved QgsLayerTreeModelLegendNode (+derived classes) to a new file
2014-09-01 10:10:36 +07:00
Martin Dobias
6891aae19a
Use QgsLayerTreeModel as a source of data for legend rendering instead of QgsLegendModel
...
This is work in progress, customization of legend is not working yet
2014-09-01 10:10:36 +07:00
Martin Dobias
372b7311a8
Fixed bugs with feature count, maintenance of QgsLegendSymbolItemV2
2014-09-01 10:10:36 +07:00
Martin Dobias
cf955822a6
Identify renderer's categories/rules by key instead of index
2014-09-01 10:10:35 +07:00
Sandro Mani
788575e5cd
Update sip bindings, add method documentation
2014-08-25 22:31:23 +02:00
Nyall Dawson
7b84ccc9b1
[composer] Don't draw handles around locked items ( fix #11059 )
2014-08-25 22:58:42 +10:00
Nyall Dawson
d70235ffbe
[composer] Show selected items in bold in items tree panel ( fix #11057 )
2014-08-25 21:46:11 +10:00
Nyall Dawson
4d1595ce79
[composer] Remove destructive 'Load from template' action, replace with
...
non-destructive 'Add items from template' action
2014-08-25 20:46:58 +10:00
rldhont
324826e6d3
Bug #9797 Add a precision setting for GetFeatureInfo geometry attributes
...
Add precision to QgsGeometry method exportToWKT and use it in GetFeatureInfo
2014-08-22 13:45:52 +02:00
rldhont
75f596849c
Bug #10974 QGIS WFS Server provides too much precision
...
In the GetFeature request QGIS WFS Server uses the static method: QgsDoubleToString. This method returns double with a precision fixed to 17.
We do not need that much precision for coordinates. Firstly because we are not able to measure a position on earth with a lower micron precision. Secondly because it unnecessarily overload response.
I propose to add the ability to specify the precision in the QgsDoubleToString method.
2014-08-22 13:45:31 +02:00
Juergen E. Fischer
a05c4c8030
make custom widget tooltips translatable
2014-08-20 10:02:35 +02:00
Nyall Dawson
9d18220138
[FEATURE][composer] Allow remote urls to be entered as picture path
...
for picture items, and automatically fetch them. Sponsored by the
City of Uster, Switzerland.
2014-08-19 21:35:14 +10:00
Nyall Dawson
f93e536a00
Add a simplified class for fetching HTTP network content
2014-08-19 20:49:10 +10:00
Matthias Kuhn
1b205be604
Fix python bindings for QgsRelation.fieldPairs()
2014-08-18 14:56:45 +02:00
Juergen E. Fischer
621edef24e
make QgsMapLayerRegistry ctor private (it's a singleton)
2014-08-18 11:50:05 +02:00
Juergen E. Fischer
5e26fbd6eb
rename other canbeGeneralizedByMapBoundingBox methods to isGeneralizableByMapBoundingBox
2014-08-17 20:44:09 +02:00
Juergen E. Fischer
d9e8a940b9
fix polygon generalization artifacts, if last ring segment is one of two
...
segments exceeding the tolerance plus some cleanups
2014-08-17 18:52:16 +02:00
Juergen E. Fischer
07165eae79
indentation update
2014-08-17 13:37:34 +02:00
Nyall Dawson
b15b014b82
Allow importing and exporting to GIMP palette file (gpl) from color list
2014-08-17 21:05:21 +10:00
Nyall Dawson
b45735529b
Improvements to color list:
...
- Cleanup code
- Support copying and pasting multiple colors to list
- Support additional color list mime formats
2014-08-17 21:05:21 +10:00
Nyall Dawson
6d10ff3684
Support dropping multiple colors into a color list widget
2014-08-17 21:05:21 +10:00
Nyall Dawson
9ef4bd600f
[FEATURE] Project specific color scheme, set through default styles tab in project properties
2014-08-16 16:57:10 +10:00
Nyall Dawson
f7f4c74a56
Add method for editing color scheme colors
2014-08-16 14:39:29 +10:00