Alexander Bruy
12ddfed76b
Merge pull request #37671 from alexbruy/rescale-raster
...
Rescale raster algorithm for Processing
2020-07-09 09:59:20 +03:00
signedav
588aff0938
Merge pull request #37672 from signedav/shortcut-edit
...
Return on shortcut paste when layer not editable
2020-07-09 08:49:20 +02:00
Alexander Bruy
3a2f5a3ffb
use enabled/disabled widget state instead of visibility to check when
...
precision should be applied
2020-07-09 08:22:53 +03:00
Alexander Bruy
23859b185a
fix wording and extend short help as suggested by Nyall Dawson
2020-07-09 07:15:26 +03:00
Alexander Bruy
1531cdb23d
when adding new field apply precision only when field type supports it
2020-07-09 06:43:03 +03:00
Nyall Dawson
cfd9afed71
[feature][labeling] Expose Justify text alignment option for use
...
in multiline point/polygon labels
Allows multiline labels to be "justify" aligned
2020-07-09 13:23:20 +10:00
Nyall Dawson
3e5155993d
Test mask
2020-07-09 13:23:20 +10:00
Nyall Dawson
445beba9b6
Add "justify" alignment mode for QgsTextRenderer
2020-07-09 13:23:20 +10:00
Nyall Dawson
52f774158e
Add method to convert a QgsTextBlock to plain text
2020-07-09 13:23:20 +10:00
Nyall Dawson
49a3c1047e
code cleanup
2020-07-09 13:23:20 +10:00
Nyall Dawson
77dfaae688
Add QgsTextRenderer methods to convert Qt alignment flags
2020-07-09 13:23:20 +10:00
Nyall Dawson
eaedff3c4c
Fix some warnings on msvc while building qgis_process tool
2020-07-09 11:14:12 +10:00
Juergen E. Fischer
f54c8fb7ee
debian packaging: split server into several packages
2020-07-09 01:34:39 +02:00
Juergen E. Fischer
b29f64f8cf
qgis_process is no windows gui app ( fixes #37465 )
2020-07-09 08:08:39 +10:00
Alessandro Pasotti
462ce2fe26
Browser fields sorting
2020-07-08 17:19:19 +02:00
Alessandro Pasotti
0981644c22
SIP: add factory for layer()
2020-07-08 17:19:19 +02:00
Alessandro Pasotti
f2858b24f2
Connections API: drop/add column
...
Also: expose it in the browser.
Implemented for:
- PG
- GPKG
- Spatialite
- MSSQL
2020-07-08 17:19:19 +02:00
Alessandro Pasotti
9125690340
Expose columns to browser for PG, SL, GPKG and MSSQL
...
First part of QEP https://github.com/qgis/QGIS-Enhancement-Proposals/issues/171
2020-07-08 17:19:19 +02:00
Alessandro Pasotti
f00d2099ba
Expose DB fields to the browser
2020-07-08 17:19:19 +02:00
Alexander Bruy
fbed3429f2
remove redundant check
2020-07-08 12:43:51 +03:00
Alexander Bruy
0473df652e
remove unused member variable
2020-07-08 12:43:51 +03:00
Alexander Bruy
bc8b55e1f7
add tests
2020-07-08 12:43:51 +03:00
Alexander Bruy
3e9b8290fa
optional NODATA parameter to override original NODATA value
2020-07-08 12:43:51 +03:00
Alexander Bruy
f8d3ac7e3a
[processing] rescale raster algorithm ( fix #26099 )
...
Rescales raster values to the new min-max range preserving shape of the
raster's histogram.
2020-07-08 12:43:51 +03:00
Alessandro Pasotti
1878fc7bfd
Merge pull request #37667 from elpaso/bugfix-gh37386-filewriter-python-leak
...
Fix QgsVectorFileWriter python issue (leak & functional)
2020-07-08 10:58:20 +02:00
signedav
d523eb99b7
fix wrong feedback message in case addFeatures had not been successful in paste and improvements of the message texts
2020-07-08 09:38:34 +02:00
signedav
ee660f7006
raise message and return if trying to paste or cut features on not editable layer
2020-07-08 09:31:56 +02:00
Nyall Dawson
e8c080aca5
[processing] Collect features algorithm doesn't care about geometry validity
2020-07-08 17:01:08 +10:00
Nyall Dawson
d9936debff
More mask updates
2020-07-08 17:00:39 +10:00
Nyall Dawson
fd1555dda1
More test updates
2020-07-08 17:00:39 +10:00
Nyall Dawson
48c322e983
Update tests
2020-07-08 17:00:39 +10:00
Nyall Dawson
ff14c6fdad
[FEATURE][layouts] Use QgsTextRenderer for drawing map grid text in layouts
...
Allows for grid annotations which use buffers, shadows, background shapes, etc!
2020-07-08 17:00:39 +10:00
Nyall Dawson
573e46b671
Add a character based text height calculation method to QgsTextRenderer
2020-07-08 17:00:39 +10:00
Alessandro Pasotti
26643a6c66
Fix QgsVectorFileWriter python issue (leak & functional)
...
Fixes #37386
2020-07-08 07:58:23 +02:00
jakimowb
fd6dcf3bf6
[Feature] Add contextMenuAboutToShow to QgsMapCanvas
...
Adds a contextMenuAboutToShow( QMenu *menu, QgsMapMouseEvent *event ) signal to QgsMapCanvas to allow plugins
a chance to add entries to the canvas context menu
Fixes #37559
2020-07-08 13:01:33 +10:00
Nyall Dawson
a49cb7c9f3
[api] Add vertical alignment control to QgsTextRenderer
2020-07-08 08:49:57 +10:00
Nyall Dawson
59c53bae40
Fix cppcheck warning
2020-07-08 08:49:57 +10:00
Nyall Dawson
629e86e2fa
Run text renderer test suite with scaling workaround enabled
...
In order to identify any issues when the scaling workaround is applied
2020-07-08 08:49:57 +10:00
Nyall Dawson
8789b27e8d
Mask updates
2020-07-08 08:49:57 +10:00
Nyall Dawson
10c044e8c8
Fix font scaling with mask effect
2020-07-08 08:49:57 +10:00
Nyall Dawson
75a6740aa3
Test mask updates
2020-07-08 08:49:57 +10:00
Nyall Dawson
6eee1fa69f
Don't apply font scaling workaround by default, but instead make it
...
opt-in through the render context flags
Avoids potential performance regression when rendering labels
2020-07-08 08:49:57 +10:00
Nyall Dawson
aabf979e02
Fix alignment
2020-07-08 08:49:57 +10:00
Nyall Dawson
b062fa2ea3
more scale work
2020-07-08 08:49:57 +10:00
Nyall Dawson
0dd1490fdc
[api] Apply a font scale workaround factor to QgsTextRenderer
...
This is a hack which has been in place in layouts/composer for a long
time in order to provide more consistent and reliable text rendering
at small font sizes or when "zoomed out". Without this hack the font
rendering and metric based calculations for these small font sizes
can be unstable, leading to font sizes "jumping" around as a layout
is zoomed into or out of.
2020-07-08 08:49:57 +10:00
Denis Rouzaud
9eef5d7803
fixes invalid relation in search form ( #37137 )
...
* fixes invalid relation in search form
fixes #34410
* fetch the relation if only one is present
2020-07-07 20:59:00 +02:00
Alessandro Pasotti
961e6e8d4d
Merge pull request #37628 from elpaso/connections-api-fields
...
DB Connections API: add fields method -> column info
2020-07-07 16:25:28 +02:00
Denis Rouzaud
ed000d432c
fix adding relation with multiple field pairs from dialog ( #37640 )
2020-07-07 14:23:58 +02:00
Ludovic
6247cde584
svg file reduced with svgcleaner
2020-07-07 13:32:51 +02:00
Denis Rouzaud
d14b349447
Show python code sample in PyQGIS doc, take 2 ( #37642 )
2020-07-07 11:37:18 +02:00