8465 Commits

Author SHA1 Message Date
Nyall Dawson
5c42c7636b [FEATURE] Show a histogram for values behind curve editor
in property assistant

Makes it easier to set suitable curves. Populated in the
background for a nice reponsive widget!
2017-02-22 11:16:54 +10:00
Nyall Dawson
0faf7c395f Allow value fetching and histogram calculation to be canceled 2017-02-22 11:16:54 +10:00
Nyall Dawson
cc9b5a47b7 [FEATURE] Interactive curve editing for property overrides
This adds a new interactive "curve" to the assistant widgets.
It allows you to fine tune exactly how input values get
mapped to output sizes/colors/etc.

Think GIMP or Photoshop curves, but for your data...
2017-02-22 11:16:54 +10:00
Nyall Dawson
dcf6104753 Allow QgsPropertyTransformers to have an associated QgsCurveTransform 2017-02-22 11:16:54 +10:00
Nyall Dawson
5c3198daea Implement a photoshop-esque curve transformer
Handles scaling of input values to output values by using
a curve created from smoothly joining a number of set
control points.

This assists in creation of curve type transforms, typically
seen in raster image editing software (eg the curves dialog
in GIMP or Photoshop). Transforms are created by passing a
number of set control points through which the transform curve
must pass. The curve is guaranteed to exactly pass through
these control points. Between control points the curve is
smoothly interpolated so that no disjoint sections or
"corners" are present.
2017-02-22 11:16:54 +10:00
Denis Rouzaud
7812d4fb17 remove the-prefix from source code
this might result in variables having the same name as some methods
2017-02-21 18:14:58 +01:00
Juergen E. Fischer
72342557c3 use constant for raster iterator default (followup baa5d90, f924578) 2017-02-21 13:46:11 +01:00
Nyall Dawson
4ad077e391 Merge pull request #4163 from nyalldawson/clang_tidyu
Fix a bunch of suggestions from clang-tidy
2017-02-21 10:38:24 +10:00
Juergen E. Fischer
baa5d90ddc [FEATURE] allow to configure maximum request size for WMS requests (fixes #16182)
Hardwired setting was 2000, which is still default.
2017-02-21 01:01:29 +01:00
Nyall Dawson
7daa4b591e Fix a bunch of suggestions from clang-tidy
And add a new CLANG_TIDY_EXE cmake option. If this is set to the
path to the clang_tidy executable then a bunch of clang-tidy
checks will be run during compilation.
2017-02-21 08:49:29 +10:00
Matthias Kuhn
741e11df97 Add missing sip bindings 2017-02-20 09:06:02 +01:00
Matthias Kuhn
7e6695b0a0 Expose QgsRelation to QML
API changes for consistency:
  - setRelationName has been renamed to QgsRelation::setName
  - setRelationId has been renamed to QgsRelation::setId
2017-02-20 08:45:54 +01:00
Matthias Kuhn
382b213ed1 Remove "the"-prefix from method signatures 2017-02-20 08:45:54 +01:00
Juergen E. Fischer
0d1ab702fc processing: improve saga detection on windows 2017-02-19 22:24:25 +01:00
Alexander Bruy
f66b0baf16 Merge pull request #4144 from alexbruy/processing-results-viewer
[processing] convert results viewer to dock
2017-02-17 09:10:55 +02:00
Alexander Bruy
441f6e6e6e Merge pull request #4120 from arnaud-morvan/processing_fix_boolean_wrapper
[processing] fix boolean widget wrapper in batch dialog
2017-02-16 14:45:25 +02:00
Alexander Bruy
aa862810e3 Merge pull request #4146 from jdugge/master
[processing] gdal translate fixes
2017-02-16 14:44:36 +02:00
Alexander Bruy
f587ae5f30 Merge pull request #4150 from alexbruy/processing-graphs
[processing] improve graphs
2017-02-16 14:42:08 +02:00
Alexander Bruy
e77ccba1ae remove old code 2017-02-16 13:16:20 +02:00
Alexander Bruy
3b7fdf4cbf move results viewer icon to QGIS icons directory 2017-02-16 13:16:12 +02:00
Alexander Bruy
5fa0713747 [processing] convert results viewer to dock 2017-02-16 13:16:12 +02:00
Matthias Kuhn
35d9b83aa5 Merge pull request #4138 from nyalldawson/touch
Rework map touch tool
2017-02-16 12:00:16 +01:00
volaya
7f1ff08ebb Merge pull request #4116 from ghtmtt/r_prov
[processing] small fix for R provider
2017-02-16 11:13:16 +01:00
volaya
cdb35d6288 Merge pull request #4119 from arnaud-morvan/processing_postgis_wrappers
[processing] Add PostGIS widget wrappers
2017-02-16 11:12:30 +01:00
Martin Dobias
5f5c1ddb15 Use a path resolver class instead of QgsProject::instance() in map layers
A new class QgsPathResolver is introduced for conversion between absolute
and relative paths when reading/writing XML.

Cleaned up code in layer definition file support (.qlr) to better handle
relative/absolute path conversion.
2017-02-16 09:56:11 +08:00
Alexander Bruy
1d68c164e2 don't open output file automatically 2017-02-15 20:07:24 +02:00
Alexander Bruy
58b9c82e20 remove old imports 2017-02-15 20:07:24 +02:00
Alexander Bruy
b3ab5543dd [processing] update polar plot 2017-02-15 20:07:24 +02:00
Alexander Bruy
19289ccc4e [processing] update mean and std.dev plot 2017-02-15 20:07:24 +02:00
Alexander Bruy
2abc3f7233 [processing] update raster layer histogram 2017-02-15 20:07:24 +02:00
Alexander Bruy
e0131a7526 [processing] update vector layer histogram 2017-02-15 20:07:24 +02:00
Alexander Bruy
a352773887 [processing] update vector layer scatterplot 2017-02-15 20:07:23 +02:00
Alexander Bruy
46a9891e5c [processing] update bar plot 2017-02-15 20:07:07 +02:00
Matteo Ghetta
34b277a09b [processing] test poly_from_extent (#4149) 2017-02-15 13:29:14 +01:00
Juergen E. Fischer
d2a2b18f95 QgsFeature: add pythonic notes to api doc and add QgsFeature.attribute(fieldIdx) binding 2017-02-15 00:08:27 +01:00
lbartoletti
3703bf7396 Move midpoint to QgsGeometryUtils 2017-02-15 08:48:12 +10:00
lbartoletti
e851b68c53 Add some utils functions for QgsPointV2 (distance3D, midpoint) 2017-02-15 08:48:08 +10:00
jdugge
f2ac88ba25 Update translate.py 2017-02-14 22:43:13 +01:00
Juernjakob Dugge
063c80ee1d GDAL translate algorithm: Default value for EXPAND, make PROJWIN optional 2017-02-14 21:56:55 +01:00
Alexander Bruy
620ad41150 Merge pull request #4127 from arnaud-morvan/processing_fix_postgis_dberror
[processing] Fix infinite recursion in DbError.__str__
2017-02-14 16:40:18 +02:00
Alexander Bruy
1430e93340 [processing] improve SAGA version check. Fix getCopy() method 2017-02-14 12:55:33 +02:00
Nyall Dawson
3215173692 Fix failing equality operator test 2017-02-14 13:48:11 +10:00
Nyall Dawson
3ca0b90a97 Update sip bindings 2017-02-14 13:48:11 +10:00
Nyall Dawson
c4ec256dc2 Tweaked numeric assistant for rotation properties 2017-02-14 13:48:11 +10:00
Nyall Dawson
76e27818a5 [FEATURE] Interactive color assistant for data defined colors 2017-02-14 13:48:11 +10:00
Nyall Dawson
a380bda68b Show size assistant for stroke width properties 2017-02-14 13:48:11 +10:00
Nyall Dawson
516bdfeed9 Fix build 2017-02-14 13:48:11 +10:00
Nyall Dawson
d457a894b3 Remove QgsDataDefined
Now completely replaced by QgsProperty and the properties framework
2017-02-14 13:48:11 +10:00
Nyall Dawson
be46f78d7c Remove QgsDataDefinedButton
Now completely replaced by QgsPropertyOverrideButton
2017-02-14 13:48:11 +10:00
Nyall Dawson
1b5bf1d289 Deprecate QgsScaleExpression
Has now been completely replaced by QgsSizeScalePropertyTransformer
2017-02-14 13:48:11 +10:00