Nyall Dawson
8fa8167d7b
Add a simple dialog for configuring text formatting
2016-10-24 12:02:00 +10:00
Nyall Dawson
76c12ba94c
Split QgsLabelingGui off into QgsTextFormatWidget
...
New widget allows for setting just the formatting properties
of text
2016-10-24 12:02:00 +10:00
Nyall Dawson
0b88de2487
New widget QgsTextPreview for previewing all formatting for QgsTextRenderer
...
Switch the labeling gui to use this widget, which has the benefits:
- previews all label settings, including shadow and background
- previews at a specified scale, so that any sizes using map units
will be correct
2016-10-24 12:02:00 +10:00
Nyall Dawson
08143475ed
[FEATURE] QgsTextRenderer class for rich text rendering
...
Moves all the drawing code out of labeling into a new class
which just handles rendering text. This allows other parts
of the code to utilise all the advanced formatting options
that labeling supports, eg rendering text with shadows,
buffers and backgrounds.
2016-10-24 12:02:00 +10:00
Nyall Dawson
5495f20589
Minor refactor of label drawing
...
Remove use of scale factors from PAL layer settings and use
render context factors directly
2016-10-24 12:02:00 +10:00
Nyall Dawson
aac2622816
Remove option to show label shadow rectangles from GUI
...
...and instead just make it #ifdef out
2016-10-24 12:02:00 +10:00
Nyall Dawson
4d5e7536d9
Flip QgsPalLayerSettings to use QgsTextRenderer classes
2016-10-24 12:02:00 +10:00
Nyall Dawson
5f241d6288
Implicitly shared text settings classes
2016-10-24 12:02:00 +10:00
Nyall Dawson
687c66f5d6
Add Points as valid render unit (for font sizes)
2016-10-24 12:02:00 +10:00
Nyall Dawson
796711031b
Merge pull request #3663 from nyalldawson/clazy3
...
Clazy qt5 optimisations - round 2
2016-10-24 11:59:54 +10:00
Nyall Dawson
5eb875d63b
[processing] Add algorithm to strip null geometries
2016-10-24 11:24:37 +10:00
Nyall Dawson
44289084e9
Optimise passing of variables by ref/value
2016-10-24 10:36:23 +10:00
Nyall Dawson
3272964f58
Fix classes which violate the rule-of-three
...
(identified using clazy analyser)
2016-10-24 10:36:22 +10:00
Nyall Dawson
12a7bb34e8
[processing] Fix qgis zonal stats algorithm
2016-10-24 08:41:16 +10:00
Matthias Kuhn
96a649e37f
Add missing bindings
2016-10-23 21:14:42 +02:00
Matthias Kuhn
54b953f433
Cleanup and modernize QgsProject code
2016-10-23 20:54:41 +02:00
Juergen E. Fischer
28abbf9513
add *.py to .gitattributes
2016-10-23 08:38:36 +02:00
Paolo Cavallini
66b66ed450
Update r.mapcalc.txt
...
Better description of r.mapcalc
2016-10-23 07:42:51 +02:00
Matthias Kuhn
1445647065
QgsVectorDataProvider API cleanup
2016-10-22 23:03:57 +02:00
Nyall Dawson
a3968a29bd
Fix clazy qmap-with-pointer-key warnings
...
From the clazy docs:
Finds cases where you're using QMap<K,T> and K is a pointer.
QMap has the particularity of sorting it's keys, but sorting
by memory address makes no sense. Use QHash instead, which
provides faster lookups.
2016-10-22 22:46:16 +10:00
Nyall Dawson
a51bebdacc
Fix missing doc warning
2016-10-22 13:19:32 +10:00
Nyall Dawson
3cc9b5d962
Indentation
2016-10-22 09:03:24 +10:00
Bas Couwenberg
85818c684c
Fix copyright in 2017
...
Match copyright header with python code.
2016-10-21 23:14:29 +02:00
Alexander Bruy
bde0f6ee2e
Merge pull request #3650 from nirvn/processing_spatialite_sql
...
[processing] add a "Spatialite execute SQL" algorithm
2016-10-21 15:22:00 +03:00
nirvn
bd7149ce16
[processing] fix broken modeler under pyqt5/python3 ( fixes #15734 )
2016-10-21 10:11:22 +07:00
nirvn
d83e650ae4
[processing] make spatialite connector work with python3
2016-10-21 10:05:03 +07:00
nirvn
772f2019c1
[processing] add a spatialite execute SQL algorithm
2016-10-21 10:05:03 +07:00
Alexander Bruy
89fa21e5fa
[processing] more complete support for int64 fields (follow up 8d2cc8806b)
...
(cherry picked from commit 649d41f1ecd4b8d22110e11cb9e693231bec8ed2)
2016-10-20 21:02:37 +03:00
Germán Carrillo
62a9436178
Using QVariant.Type enum instead of numbers for readability.
...
(cherry picked from commit 6df926dfe6e3e8f7ac330fbb9206dc69492da6ed)
2016-10-20 21:02:37 +03:00
Germán Carrillo
4730d25012
Fixing issue with 'Eliminate sliver polygons' and fields of type long.
...
(cherry picked from commit be25a29da196fac687f95abffb71e34138e3d20c)
2016-10-20 21:02:37 +03:00
Juergen E. Fischer
2013984297
fix translation strings
2016-10-20 18:16:37 +02:00
Matthias Kuhn
85c105d6b0
Move management of avoidIntersectionLayers to QgsProject
2016-10-20 12:56:35 +02:00
Matthias Kuhn
5c919fbcca
Move topological editing setting management fully to QgsProject
2016-10-20 12:56:35 +02:00
Denis Rouzaud
64d3c788f1
Use toolbar or status bar for snapping config
2016-10-20 12:56:35 +02:00
Matthias Kuhn
f3482d2ce2
Rename visibility presets to map themes part 2 ( #3641 )
2016-10-20 12:55:48 +02:00
Matthias Kuhn
bb225f562b
Improve db_manager README
2016-10-20 12:54:54 +02:00
Matthias Kuhn
e0d8db721c
Rename README to README.md
2016-10-20 12:49:56 +02:00
Alexander Bruy
b9c2ab2b74
Merge pull request #3646 from alexbruy/processing-otb-test
...
[processing] add tests for OTB algorithms
2016-10-20 12:30:34 +03:00
Alexander Bruy
a3ebc7bdb6
[processing] add test for ParameterSelection
2016-10-20 12:13:51 +03:00
Alexander Bruy
8f7183b2a4
[processing] add icon for zonal statistics tool
2016-10-20 12:13:51 +03:00
Alexander Bruy
7bd4315970
[processing] expose zonal statistics from Zonal statistics plugin in toolbox
2016-10-20 12:13:51 +03:00
Sandro Santilli
7971815343
Do not pass None to len()
2016-10-20 10:51:30 +02:00
Sandro Santilli
06976a2e87
Make Extent and Extent CRS GDAL parameters optional
...
Specify what the default is when extent CRS is not specified.
Allow using "auto" to have extent automatically set to min covering extent.
Fixes #15685
2016-10-20 10:51:30 +02:00
Alexander Bruy
ea0ad5dd21
Merge pull request #3592 from alexbruy/processing-interpolation
...
[processing] add interpolation tools
2016-10-20 11:31:43 +03:00
Alexander Bruy
df90e6b964
[processing] remove unused test data
2016-10-20 11:28:34 +03:00
Alexander Bruy
2778a8fe8c
[processing] minor formatting fixes to the OTB README
2016-10-20 11:28:34 +03:00
Alexander Bruy
fd8379c140
[processing] remove unused file
2016-10-20 11:28:33 +03:00
Nyall Dawson
bc30cdf41d
Followup c9251c, fix crash
2016-10-20 17:32:39 +10:00
Manuel Grizonnet
7b22f5d8da
TEST: add a test for otb conversion application (simpler than bandmath)
2016-10-20 09:23:43 +03:00
Alexander Bruy
d4f410a307
Install OTB in QGIS Travis CI script to be able to run OTB test
2016-10-20 09:23:09 +03:00