Nyall Dawson
a49bf9f68f
Unit tests for item opacity
2018-12-11 09:45:37 +10:00
Nyall Dawson
d08ecc2b52
[layouts] Avoid rasterizing the whole layout when only a single item has opacity set
...
Instead, only rasterize that one item and pre-apply it's opacity
to the rasterized version. This keeps all the rest of the layout
content as vectors/text.
2018-12-11 09:45:37 +10:00
Jorge Gustavo Rocha
7f4123bfdd
Fixes duplicate QGIS entries in Ubuntu launcher
2018-12-10 17:49:55 +01:00
Denis Rouzaud
44d1d10eb3
Merge pull request #8262 from 3nids/fix17727
...
move value group box under help area [Expression builder] [needs-docs]
2018-12-10 08:17:58 -04:00
nirvn
24d4640bc7
[afs] Add halo/buffer support to label creation
2018-12-10 19:07:21 +07:00
Martin Dobias
ccb9a61bd9
Add extra note to position kit's source()
2018-12-10 10:20:22 +01:00
nirvn
ffded6f1d8
[afs] Picture marker & picture fill width/height use points as unit type
2018-12-10 16:09:39 +07:00
nirvn
74172fc176
[afs] Fix picture marker ratio calculation
2018-12-10 16:09:39 +07:00
nirvn
22a66ef390
[FEATURE][AFS] Create labels when settings provied by server
2018-12-10 16:09:39 +07:00
Alessandro Pasotti
cf0442dac6
Merge pull request #8630 from elpaso/bugfix-20674-db-manager-sqlite-aliased-queries
...
sqlite accept aliased queries from db manager
2018-12-10 08:39:44 +01:00
Nathan Woodrow
87d2da13fb
[FEATURE][needs-docs] Add new @alg decorator for nicer python processing scripts. ( #8586 )
...
@alg()
@alg.help()
@alg.input()
@alg.output()
2018-12-10 16:35:52 +10:00
nirvn
d136e922fb
[afs] fix listing of afs services for saved servers starting in a sub-folder
2018-12-10 10:37:43 +07:00
nirvn
be8438b28d
[afs] Fix wrong hard-coded OBJECTID reference, use the fetch object id name
2018-12-10 10:25:52 +07:00
Nyall Dawson
f5f4f530ce
Cleaner approach to base64 embedded widget handling
2018-12-10 11:39:00 +10:00
Nyall Dawson
2cca68ad8d
Improve SVG/Image embedding widget behavior
...
Don't show the raw base64 contents and instead show a user
friendly "Embedded file" string
2018-12-10 11:39:00 +10:00
Nyall Dawson
462ebed0d7
Fix help text for color format
...
Should be #AARRGGBB, not #RRGGBBAA (see http://doc.qt.io/qt-5/qcolor.html#setNamedColor )
2018-12-10 10:55:37 +10:00
Jon McCormack
9493f55117
fix processing plugin error when grass7 disabled
2018-12-10 10:02:09 +10:00
Alessandro Pasotti
a44b13ba67
Add test cases for aliased spatialite tables
...
Also update a failing test case since when
we changed the priority in QgsVectorLayerUtils
CreateFeature.
Test was blacklisted on travis in nov 2017
but here they are anyway.
2018-12-09 19:08:40 +01:00
Alessandro Pasotti
b5181f2c50
sqlite accept aliased queries from db manager
...
Fixes #20674 - DB Manager - load sql query as layer with geom column
Well, not sure it really fixes that particular issue because it
is not really well described, but for sure this fixes the general
case of "SELECT * FROM my_table AS my_alias"
2018-12-08 11:15:49 +01:00
Alessandro Pasotti
bc98f8667c
Fix mxe build
2018-12-07 21:42:35 +01:00
Peter Petrik
11f10c10c2
add documentation
2018-12-07 15:54:16 +01:00
Peter Petrik
7dc73790e0
MDAL 0.1.1, fix some minor build/memory issues
2018-12-07 15:54:16 +01:00
Peter Petrik
fa1ddb1f7a
fix spellcheck
2018-12-07 15:54:16 +01:00
Peter Petrik
28071728f1
[mesh] use MDAL 0.1.0 API in QGIS. Allows lazy loading of formats and effective transfer of data
...
introduce MeshDataBlock
use mesh block in rendering
calculate magnitude
use new mesh API
fix bug for memory layer
fix SIP, sip is unable to work with qvector<qgsmeshvertex>
fix tests
implement new MDAL min/max api
improve mesh documentation
fix travis build
2018-12-07 15:54:16 +01:00
Peter Petrik
d43f6376eb
[MDAL] update MDAL to 0.1.0 (new API)
2018-12-07 15:54:16 +01:00
sklencar
d6701f24eb
Access of QGeoPositionInfoSource from QgsQuickPostionKit ( #8622 )
2018-12-07 15:35:52 +01:00
Alessandro Pasotti
16922a3041
Merge pull request #8612 from elpaso/vector-legend-toggle-items
...
Add a toggle action to vector layer legend items [feature]
2018-12-07 09:36:14 +01:00
Alessandro Pasotti
465479056d
Move toggle action first and fix since 3.6
2018-12-07 08:07:18 +01:00
Nyall Dawson
733d4ed578
Test masks
2018-12-07 08:08:52 +10:00
Nyall Dawson
048d526542
Add unit tests, standardise method names
2018-12-07 08:08:52 +10:00
Nyall Dawson
a97d335f31
Fix tests, test mask updates
2018-12-07 08:08:52 +10:00
Nyall Dawson
88c8424704
Fix drawing of corner boxes in zebra grid style
2018-12-07 08:08:52 +10:00
Nyall Dawson
34f6e371a7
[FEATURE][layouts] Add new grid frame style "Zebra (Nautical)",
...
which shows nautical-style blocks in the grid corners when a
margin is set for the grid.
2018-12-07 08:08:52 +10:00
Nyall Dawson
11258c05b0
[FEATURE][layouts] Don't draw diagonals on line border grid style when a
...
margin is set
Instead, split this behaviour off into a new "Line border (Nautical)"
grid style. It's a very specific type of effect and won't always
be desirable when using margins with the line border style.
2018-12-07 08:08:52 +10:00
Nyall Dawson
3838ef3b3f
Fix grid margin handling for interior ticks mode
...
In this case the margin should push the ticks further inside the map frame
2018-12-07 08:08:52 +10:00
Nyall Dawson
470cd0b619
Code style fixes
2018-12-07 08:08:52 +10:00
Nyall Dawson
fd881db362
[layouts] Avoid temporary rendering artefacts when grid properties change
...
There's no need for the Qt item caching here, as map items have
their own internal cache handling.
2018-12-07 08:08:52 +10:00
konst
d794bdb74c
[FEATURE] [needs-docs] Add the grid frame MARGIN In the "Print Layout" map grid
2018-12-07 08:08:52 +10:00
Denis Rouzaud
20da34a2b5
add button to show the help and values widget
2018-12-06 16:04:35 -04:00
Nyall Dawson
e6ec1ec53e
[FEATURE][API] Add iterator for QgsGeometryCollection
...
Iterates over the geometries in the collection, allowing this type
of code:
gc = QgsGeometryCollection()
gc.fromWkt('GeometryCollection( Point(1 2), Point(11 12), LineString(33 34, 44 45))')
for part in gc:
print(part.asWkt())
2018-12-07 05:51:27 +10:00
Nyall Dawson
e23527bf92
Use TypeHint annotation to indicate correct return type when sip code returns SIP_PYOBJECT
...
Provides correct return type hints to IDEs (and hopefully PyQGIS docs too!)
2018-12-07 05:51:27 +10:00
Nyall Dawson
c6efa74b45
Fix cmake warning
2018-12-07 05:51:27 +10:00
Nyall Dawson
4bba8ae64d
[FEATURE][API] Add some nice PyQGIS API for working with geometry collections
...
- Calling removeGeometry with an invalid index will now raise an IndexError
- Calling collection[0] will return the first geometry in the collection,
collection[1] the second, etc. And negative indices return from the end
of the collection, so collection[-1] returns the last geometry in the collection.
- Geometries can be deleted by calling `del collection[1]` (deletes the
second geometry from the collection). Also supports negative indices
to count from the end of the collection.
2018-12-07 05:51:27 +10:00
nirvn
31b82de5e3
[FEATURE][AFS] Automatically convert ESRI picture fill symbols
2018-12-06 17:47:24 +07:00
Matthias Kuhn
def29e812d
Merge pull request #8601 from signedav/fix-ts-file
...
[Bugfix] .qgs-translation fix: do not create QgsProject before QgsApplication
2018-12-06 10:37:58 +01:00
Matthias Kuhn
ba88a1096f
Merge pull request #8604 from m-kuhn/geometry-validation-reenable-layer-savability
...
Save layer changes on successful repair
2018-12-06 09:12:31 +01:00
nirvn
0983f52063
[FEATURE] Raster fill can have images set to remote URLs
...
or as embedded files.
Just like the SVG and raster image marker, raster fill can now
be set to use HTTP(s) URLs or have files directly embedded
inside the symbol itself.
2018-12-06 11:56:38 +07:00
nirvn
901da9dd58
Make use of image cache when rendering raster image fill layers
2018-12-06 11:56:38 +07:00
Nyall Dawson
72783d55c8
Show messagebar feedback after successfully extracting svg/raster contents
2018-12-06 14:31:49 +10:00
Nyall Dawson
f3b72608a1
Add message bar to QgsSymbolWidgetContext
2018-12-06 14:31:49 +10:00