1573 Commits

Author SHA1 Message Date
Marco Hugentobler
0e55b3bf0f Fix loading of curved multitypes 2015-05-29 18:00:24 +02:00
Marco Hugentobler
82d18e7e61 Update python binding for QgsGeometry 2015-05-29 11:40:20 +02:00
Juergen E. Fischer
dd53fda846 indentation update 2015-05-29 08:57:54 +02:00
Nyall Dawson
e7219050a1 Avoid unnecessary detach of QgsFeature when renderering non-curved
geometries
2015-05-29 06:46:42 +10:00
Matthias Kuhn
8eca38ca5f Attribute table performance when deleting features
This fixes performance issues with the attribute table visible when deleting a
large number of features.

The attribute table tries to behave smart in the following way:

 * It tries to remove only the deleted rows as long as they are in one or a few
   single blocks
 * If there are more than 100 rows to delete and it starts to delete blocks
   of a size smaller than 10 it assumes that the selection to delete is widely
   distributed and that a reload of the whole model is less expensive than a
   differential update.

Fix #10167
2015-05-27 22:28:23 +02:00
Nyall Dawson
ec01d7698e More Coverity memory leak fixes 2015-05-27 23:03:00 +10:00
Nathan Woodrow
f2144918d2 Less verbose template function message.
args='auto' and group='custom' as default
2015-05-27 22:39:12 +10:00
Nathan Woodrow
e6403da7b2 Remove adding $ to front of custom functions
Fixes calling no argument functions
2015-05-27 21:27:24 +10:00
Martin Dobias
205daae008 Support overriden layer styles also in the composer legend 2015-05-26 18:59:30 +07:00
Marco Hugentobler
b5801afe29 Update python bindings for QgsGeometry 2015-05-26 11:42:52 +02:00
Radim Blazek
0c4ea1f6e5 new class QgsAnimatedIcon 2015-05-26 10:59:55 +02:00
Juergen E. Fischer
d40d481bd3 avoid warning about not created test difference image 2015-05-25 21:43:55 +02:00
Juergen E. Fischer
98c601d1ba fix typos 2015-05-25 20:12:02 +02:00
Marco Hugentobler
68fe5f5791 [FEATURE:] New geometry classes 2015-05-25 08:53:49 +02:00
Juergen E. Fischer
cec5bdeb0d fix some warnings 2015-05-24 18:48:22 +02:00
Nyall Dawson
e7b7549c29 [FEATURE] New statistical summary dock widget
Can display summary statistics (eg mean, standard deviation, ...)
for a field or expression from a vector layer.
2015-05-23 04:35:11 +10:00
Nyall Dawson
1078daf712 Add option to get null count from QgsVectorLayer::getDoubleValues 2015-05-23 04:35:11 +10:00
Nyall Dawson
ef0d413819 Data defined font marker character 2015-05-22 20:00:19 +10:00
Matthias Kuhn
a2ae8b4e38 Add unit tests for postgres provider
basically to get a framework to test the expression compiler
2015-05-22 11:57:16 +02:00
Matthias Kuhn
9b6e23d3af Add convenience method QgsVectorLayer::getFeatures( expression ) 2015-05-22 11:57:16 +02:00
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