1132 Commits

Author SHA1 Message Date
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
Matthias Kuhn
1395367e58 [FEATURE] Expression field (Virtual field) 2014-07-24 08:57:21 +02:00
Nyall Dawson
17d6da9adb [FEATURE][composer] Holding shift while drawing new lines constrains lines to horizontal/vertical/diagonals, while drawing rectangles constrains items to squares. Holding control switches to a draw-from-center mode. Sponsored by City of Uster, Switzerland. 2014-07-23 21:36:58 +10:00
Nyall Dawson
3bcff891b5 Fix build errors 2014-07-22 09:21:30 +10:00
Nyall Dawson
68e03cbc87 [FEATURE][composer] Data defined url for composer html items. Sponsored by City of Uster, Switzerland. 2014-07-21 23:19:01 +10:00
Nyall Dawson
460cee1bde [composer] Switch to using data defined button for picture source expression 2014-07-21 20:52:11 +10:00
Nyall Dawson
66031f67c0 [composer] documentation improvements 2014-07-19 22:14:22 +10:00