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
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
Nyall Dawson
11686c7ad3
Fix typo in docs
2014-08-14 17:57:22 +10:00
Nyall Dawson
43c545c2f6
[composer] Fix docs for composer arrow
2014-08-14 17:57:22 +10:00
Juergen E. Fischer
a2a66eabfd
doxygen fixes
2014-08-13 19:15:24 +02:00
Nyall Dawson
0901627007
[FEATURE] Predefined custom color palette in QGIS options and color scheme
2014-08-13 13:31:45 +10:00
Denis Rouzaud
a30ddaabf4
more const-correctness and avoid ambiguity in overloaded function
2014-08-11 15:33:48 +02:00
Nyall Dawson
bfff4bd6b2
[FEATURE] New version of color button (QgsColorButtonV2) based off
...
QToolButton. Features:
- context menu items have been moved to the attached menu button
- new gui widget QgsColorSwatchGrid, which displays a grid of colors
- new class for QgsColorScheme, which generates colors to show in a
color swatch grid
- new class QgsColorSchemeRegistry, with a global instance containing
default color schemes. QgsColorButtonV2 accepts a color scheme
registry, to control which schemes to show in the popup menu as
color swatch grids.
- color button can have a default color
- color button can also be quickly set to a totally transparent color
- c++ and python unit tests for all core components
2014-08-11 20:37:52 +10:00
Nyall Dawson
fec27111ee
[FEATURE][composer] Allow more control over appearance of composer arrows:
...
- Line can be styled using line symbol style dialog
- Arrow head fill and outline colors can be specified
- Arrow head outline width can be specified
2014-08-06 20:24:41 +10:00
Nyall Dawson
0aeb357798
[composer] Locked items can't be selected by clicking them in the canvas.
2014-07-30 21:04:42 +10:00
Nyall Dawson
4506b81537
[FEATURE][composer] Implement an item tree panel for composer windows
...
(fix #4358 ). Allows for selection of items, hiding/showing items,
toggling lock status of items and double-clicking to edit item id.
2014-07-30 20:01:05 +10:00
Nyall Dawson
87e775a1e7
[composer] More improvements to item dispayName methods
2014-07-29 21:37:25 +10:00
Nyall Dawson
950c9b89f1
Follow up 3f0d0944
2014-07-29 20:48:40 +10:00
Nyall Dawson
200a3431e9
[composer] Add api method for toggling visibility of composer items
2014-07-28 20:22:23 +10:00
Nyall Dawson
3f076f0d30
[composer] Add function for getting a friendly display name for items
2014-07-28 19:46:12 +10:00
Nyall Dawson
d0e9d8d126
[FEATURE][composer] Allow specifying user stylesheets to apply to a HTML item's content
2014-07-27 22:18:45 +10:00