Nyall Dawson
b1ffff826d
Fix build
2015-05-21 05:49:04 +10:00
Nyall Dawson
267d9528d5
Implicit sharing for QgsFeature
2015-05-21 00:55:57 +10:00
Nyall Dawson
d393d268e1
Fix up non-const getters for attributes and geometry in QgsFeature
...
(preparation for implicit sharing)
2015-05-20 21:46:15 +10:00
Nyall Dawson
c38ff519e2
Followup b8bc181, don't create unnecessary temporary image
2015-05-20 19:17:01 +10:00
Martin Dobias
3487471d24
Merge pull request #2035 from vmora/multivariate_legend
...
Avoid symbol cropping in legend
2015-05-20 10:58:06 +02:00
Nyall Dawson
c5b04efadb
Fix attributes from some symbols were not available for data defined
...
symbology (line marker, line pattern)
2015-05-19 17:01:40 +10:00
Mathieu Pellerin
f314522b73
[symbology] improve marker rotation along line to fix data-defined
...
angle support
2015-05-19 16:29:24 +10:00
Nyall Dawson
4b4075b5b9
[labeling] Fix setting a wrap character conflicts with newlines
...
in label text (fix #12750 )
2015-05-19 06:18:07 +10:00
Nyall Dawson
17962ef47b
Add QgsHistogram class for calculating numeric histograms from a
...
list of values or a vector layer's attribute.
2015-05-19 02:21:15 +10:00
Nyall Dawson
02774210eb
Add selected features only mode to QgsVectorLayer::getValues
...
and getDoubleValues
2015-05-17 23:28:59 +10:00
Nathan Woodrow
e249bfee94
[FEATURE] Allow changing vector layer data source
2015-05-17 19:54:35 +10:00
Nyall Dawson
c5bc778b1d
Const correctness for QgsDistanceArea
2015-05-14 20:03:13 +10:00
Martin Dobias
56ada166c4
PyQGIS: add conversion from QgsExpression::Node to subclasses
...
This makes it possible to investigate expression node tree within Python
2015-05-12 17:24:57 +01:00
vmora
b8bc1811d5
add option to cropTransparent to allow centering
...
use that in qgslayertreemodellegendnode
2015-05-12 10:12:02 +02:00
vmora
d13ace5a0d
Allow configurable icon sizes for legend tree nodes
2015-05-12 09:40:23 +02:00
Juergen E. Fischer
74f10b9b03
dxf export: fix detection of close polylines
2015-05-11 16:50:37 +02:00
Nyall Dawson
2863f20d67
Add a const geometry getter to QgsFeature
2015-05-11 19:46:32 +10:00
Nyall Dawson
eb716fc310
[symbology] Fall back to symbol style if data defined evaluation
...
fails or is null.
2015-05-09 19:56:27 +10:00
Nyall Dawson
14fd976f06
Implicit sharing for QgsDataDefined
2015-05-08 16:25:39 +10:00
Sandro Mani
45bdae461d
[FEATURE] Add scalebar sizing mode to fit a desired scalebar width ( fix #8995 )
2015-05-07 22:25:15 +10:00
Nyall Dawson
aab3b15991
Replace use of expressions for symbology data defined properties
...
with QgsDataDefined. Allows for direct use of fields and for
deactivating data defined properties without loss of expression/
specified field.
2015-05-06 18:35:59 +10:00
Nyall Dawson
6ad2f9f091
Some improvements to QgsDataDefined and QgsDataDefinedButton:
...
- enhanced methods for storing/retrieving QgsDataDefined in a
string map
- add method to QgsDataDefinedButton to update parameters for a
QgsDataDefined
- deprecate an unused method
- const correctness
2015-05-06 18:35:59 +10:00
Nyall Dawson
e05246d754
Const correctness for QgsGeometry methods
2015-05-04 21:00:23 +10:00
vmora
72cfe46f6a
[FEATURE] Add diagram nodes to legends ( fix #4255 )
2015-05-04 16:34:43 +10:00
Nyall Dawson
4a9a9361aa
Fix legend text not customisable for QgsSimpleLegendNode items
2015-05-04 16:34:30 +10:00
Juergen E. Fischer
edeafa95ac
indentation and minor sip updates
2015-05-03 17:10:32 +02:00
Nyall Dawson
bd9e02be95
Add alias support for expression functions
...
Standardise naming of all internal functions to lowercase with
underscore convention. Add aliases for old names to avoid
breakage.
2015-05-03 20:57:36 +10:00
Nyall Dawson
bb648306b6
Implicit sharing for QgsFields
2015-05-03 20:57:36 +10:00
Nyall Dawson
31e8611230
Add quartiles and IQR to QgsStatisticalSummary calculations
2015-05-03 20:48:22 +10:00
Nyall Dawson
154468bd84
Add QgsStatisticalSummary class for calculating stats from a list
...
of values.
2015-05-02 23:19:39 +10:00
Nyall Dawson
bb0e583f4b
Move methods for returning lists of values from a vector layer field
...
or expression to QgsVectorLayer. Add unit tests.
2015-05-02 20:32:16 +10:00
Nyall Dawson
fadaf12490
Implement implicit sharing for QgsField
2015-05-02 19:12:44 +10:00
Nyall Dawson
7314047698
Fix missing doc strings due to invalid doxygen tags
2015-04-30 17:26:58 +10:00
Nyall Dawson
721d9f5908
Formatting and code cleanups for QgsScaleExpression
2015-04-30 06:28:05 +10:00
vmora
0f35192f3f
Add cropTransparent to QgsImageOperation, for cropping transparent
...
borders from around an image
2015-04-27 18:23:03 +10:00
vmora
cf3a712711
Move prettyBreaks calculation to QgsSymbolLayerV2Utils
2015-04-27 18:22:48 +10:00
vmora
0c5063fee6
Add method to create a QgsDataDefined from a string.
...
Automatically analyses to determine whether the string refers to
a column or is an expression.
2015-04-27 18:22:36 +10:00
vmora
d4319621a5
Add an isField test for QgsExpression
...
Checks whether expression consists of solely a field reference
2015-04-27 18:22:18 +10:00
Nyall Dawson
b2ca7faf3e
Modernise diagram properties UI:
...
Switch to stacked widget, QgsScaleRangeWidget, QgsFieldExpression
widget, QgsDoubleSpinBoxes.
Rearrange and reword controls to clarify their behaviour.
2015-04-22 18:03:32 +10:00
Nyall Dawson
16af787192
Fix line placement flags for diagrams. Line placement options for
...
PAL are flags, not an enum
2015-04-22 18:03:24 +10:00
Nyall Dawson
774e5d3012
Fix crash on QgsDataDefined copy ( fix #12027 )
2015-04-22 06:00:59 +10:00
Juergen E. Fischer
d79268cbd7
indentation update
2015-04-17 09:51:24 +02:00
Nyall Dawson
cfe397e718
Better fix for ffd81f4, avoid unnecessary copies of geometry
2015-04-14 10:36:04 +10:00
Nyall Dawson
7c7ef6d8cd
Fix diagrams not respecting canvas rotation
...
Also fixes diagrams not showing for invalid polygons (fix #11955 )
2015-04-13 23:16:14 +10:00
Nyall Dawson
437fc82435
Followup 43f150d, fix labels always enabling with diagrams
2015-04-13 23:16:14 +10:00
Nyall Dawson
28b5217bb8
Merge pull request #1974 from vmora/graduated_by_size
...
[feature] graduated with varying size
2015-04-11 11:15:50 +10:00
vmora
84af60ad56
[feature] graduated with varying size
...
The graduated symbol renderer now allows to use varying size instead of
varying color.
The classification remains the same an tabbed size/color in the gui
allows the use to choose one type or the other.
2015-04-10 09:14:14 +02:00
Nyall Dawson
d7eec444a2
[FEATURE] Add checkbox to always show diagrams for a layer
...
Unlike the global labeling setting this applies only to diagrams,
and only for a single layer. Defaults to on. (fix #8706 )
2015-04-09 17:50:53 +10:00
Nyall Dawson
43f150dc71
Allow diagrams to be disabled without losing settings ( fix #11288 )
2015-04-09 17:50:29 +10:00
Nyall Dawson
134067716d
Fix diagrams not initially showing when toggling on/off layers
2015-04-09 17:50:18 +10:00