1015 Commits

Author SHA1 Message Date
Nyall Dawson
d96c7386b1 Allow creation of color parameters with no opacity control 2019-07-01 06:32:21 +10:00
Nyall Dawson
38bb5fb260 [FEATURE][processing] New parameter type for colors
Allows for algorithms which require a color value as an input
2019-07-01 06:32:21 +10:00
Blottiere Paul
ee6642477e
Merge pull request #30071 from lbartoletti/wms_tile_buffer
[server]New parameter for WMS service: tile_buffer
2019-06-28 16:22:05 +02:00
Nyall Dawson
99d6524407 Dox++ 2019-06-28 09:45:48 +10:00
Nyall Dawson
03af890132 Address review comments 2019-06-28 09:45:48 +10:00
Nyall Dawson
6aeedfe20b [FEATURE][layouts] Expose choice of arrangement of legends (i.e.
symbols to the left OR symbols to the right of legend text), and
alignment for group/subgroup/item text

Allows creation of right-to-left locale friendly legends. Additionally,
we default to this right-to-left style alignment when creating new
legends under a RTL based locale.
2019-06-28 09:45:48 +10:00
Nyall Dawson
da79b6f0e6 [FEATURE][labels] New text "background" setting for marker symbol backgrounds
Allows for rendering a marker symbol in the background of labels
(complementing the existing shapes/SVG choices). This allows use
of QGIS marker symbology as a background symbol behind labels (e.g.
for highway shield labels)
2019-06-28 08:28:55 +10:00
Nyall Dawson
ef97fefbaa [layouts] Add API to set expression variables at a multiframe level 2019-06-28 07:12:40 +10:00
Martin Dobias
cf2d87837b
Merge pull request #30234 from PeterPetrik/providers
[QEP 149] Introduce static data providers
2019-06-26 08:18:21 +02:00
nirvn
0e4f0c8555 [symbology] Fix broken centroid fill's force point inside polygon 2019-06-26 12:05:07 +07:00
Martin Dobias
8e56f51c23 Merge remote-tracking branch 'origin/master' into providers 2019-06-25 22:11:51 +02:00
Martin Dobias
87ff0dc558 Move qgis 4 todo out of doxygen comment 2019-06-25 16:27:41 +02:00
Martin Dobias
d155b1c877 Further updates from review 2019-06-25 15:38:07 +02:00
Martin Dobias
aead182b21 Change FilterType to enum class + rename values to FilterXXX 2019-06-25 14:53:56 +02:00
nirvn
efeb8b5e32 [raster] Allow raster providers to hint whether resampling is beneficial
For some providers, such as tiled WMTS/XYZ/AMS, resampling is not
always visually beneficial and can lead to larger downloads
2019-06-25 14:42:36 +07:00
Alessandro Pasotti
063d29b256
Add NMEA GST Message for GPSInformation.Accuracies (#30274)
* Update sentence.h

* Update sentence.h

* Update sentence.h

* Update sentence.c

* Update parse.h

* Update parse.h

* Update sentence.h

* Update parse.c

* Update qgsnmeaconnection.cpp

* Update qgsnmeaconnection.cpp

* Update qgsnmeaconnection.cpp

* Update info.h

* Update qgsnmeaconnection.h

* Update qgsnmeaconnection.h

* Update parse.c

* Update parse.c

* Update parse.c

- Corrected Buffer Sizecomparison to 6
- defined Variable for buffer_size

* Astyle

* Fix docstrings
2019-06-25 09:41:29 +02:00
rldhont
15961c2207 Fix SIP file not up to date: core/auto_generated/qgsfieldproxymodel.sip
Introduced by 39fb9ce84a4b1743ddccb6a2cf842f06d17eb124 Merge branch 'master' into on-screen-navigation
2019-06-24 15:41:27 +02:00
Martin Dobias
5f0558915f Pass uri in createProvider() as a reference, not a pointer 2019-06-23 20:36:01 +02:00
Martin Dobias
8ed0bb38d1 Start using QgsProjectStorageGuiRegistry + its providers (gpkg projects work again)
Also deprecate gui methods in QgsProjectStorage but keep compatibility
2019-06-21 16:28:21 +02:00
Matthias Kuhn
db18ef260f
Merge pull request #30281 from nyalldawson/text_symbol
Handle text formats in style manager
2019-06-21 16:14:16 +02:00
Matthias Kuhn
5e1ca35373
Merge pull request #10020 from m-kuhn/teamplates_on_welcome_page
Templates on welcome page
2019-06-21 16:13:28 +02:00
Juergen E. Fischer
88cb4d4eda dxf export: fix export of curved geometries 2019-06-21 13:14:46 +02:00
Nyall Dawson
850ea71c4d More wip 2019-06-21 15:52:56 +10:00
Nyall Dawson
d4d77808f9 Style model work 2019-06-21 15:52:56 +10:00
Nyall Dawson
aa658e5d07 Allow label settings gui widget to work widget layers 2019-06-21 15:52:56 +10:00
Nyall Dawson
0fd4984b3b [FEATURE] Allow storage of label settings in style manager
Just like the earlier change which allows for text formats to
be managed in style manager, this change allows for layer-wide
label settings to be stored and managed in styles.

So while a text format includes just the font settings and other
appearance related settings, Label Settings also includes layer-type
specific settings such as label placement, priority, rendering
settings.
2019-06-21 15:52:56 +10:00
Nyall Dawson
6f172da7e0 Fix dox 2019-06-21 15:52:56 +10:00
Nyall Dawson
554d23b324 Improve handling of favorites in QgsStyleModel and proxy model
Fixes favorite entities sometimes incorrectly filtered out
2019-06-21 15:52:56 +10:00
Nyall Dawson
e0446a7165 Preview icons for text symbols 2019-06-21 15:52:56 +10:00
Nyall Dawson
9647a18c13 Move label preview background color setting to QgsTextFormat
So that we can utilise it outside of labeling
2019-06-21 15:52:56 +10:00
Nyall Dawson
40e4789ba1 [API] Add support for text renderer formats to QgsStyle 2019-06-21 15:52:56 +10:00
Martin Dobias
ab261b675e Doxy fix + remove extra QgsProviderMetadata constructor 2019-06-20 14:50:30 +02:00
Martin Dobias
c396d70d14 Doxygen fixes and api break fixes 2019-06-20 14:15:07 +02:00
Martin Dobias
7659dd8b8b Misc fixes for provider registry/metadata deprecated functions 2019-06-20 12:32:44 +02:00
Martin Dobias
6918bac9df Revert API break and move WidgetMode back to QgsProviderRegistry 2019-06-20 10:49:36 +02:00
Nyall Dawson
3bd3aba25b [needs-docs] [labeling] Allow data defined control over line placement options
Allows users to override the line placement settings (e.g.
above/below/on line options) on a per-feature basis. Somehow
this one was the only(?) setting from labeling which
was missing a data defined control...
2019-06-20 10:24:16 +07:00
Martin Dobias
a6b837b745 code layout fixes 2019-06-20 00:09:20 +02:00
Martin Dobias
f6049e01d0 Misc fixes to get the branch compiling & running with Python
- grass data item provider fixes
- removed QgsProviderMetadata constructor (with std::function / PyObject) due to sip errors (api break)
- reverted DataCapability move to Qgis - back to QgsDataProvider (avoiding api breaks)
- WidgetMode enum documentation
- sipify monkey patching fix
- renamed WidgetMode's "None" to "Normal" value - in python None has special meaning (api break)
2019-06-19 23:02:11 +02:00
Éric Lemoine
0b87041b31 Improve the extentBuffer API docs 2019-06-19 09:32:44 +02:00
Peter Petrik
62d615c2cd [QEP 149] Introduce static data providers [API BREAK]
- adds QgsProviderGuiRegistry and QgsProviderGuiMetadata
- adds QgsProjectStorageGuiRegistry
- requires providerMetadataFactory for dynamic data providers
- requires providerMetadataGuiFactory for dynamic data providers (GUI only)
- removes QgsProviderRegistry::WidgetMode
2019-06-18 15:15:36 +02:00
Éric Lemoine
23872fcc41 Improve the API docs 2019-06-18 14:48:23 +02:00
Nyall Dawson
de672e3127 Allow storing layer WKB type in QgsMimeDataUtils::Uri 2019-06-17 18:17:10 +10:00
Nyall Dawson
52d22b8050 QgsDataSourceURI doxygen improvements 2019-06-16 10:00:59 +10:00
Alex
a02a4ede6e Allow calculating aggregates using a subset of fids only 2019-06-16 07:00:26 +10:00
Nyall Dawson
78a606188c Expose some more auth manager methods to Python
These methods either
- only wrap QSettings values (so there's no added security gained
by not exposing them -- it's currently easily possible to achieve
the same results via direct QSettings manipulation)

OR

- are required to allow fully automated QGIS deployment/startup
scripts which rely on auth manager functionality
2019-06-14 08:54:44 +10:00
Nyall Dawson
d56ddc25fb Minor refactor of QgsMapLayerProxyModel 2019-06-13 04:57:37 +10:00
Nyall Dawson
760af67d0f Cleanup handling of QgsMimeDataUtils::Uri corresponding to project layers
And add tests
2019-06-13 04:57:37 +10:00
Alessandro Pasotti
e740688faa
Merge pull request #30151 from elpaso/bugfix-gh30115-value-relation-widget-match-name-if-id-fails
When loading a QLR, try to match the layer name if id does not
2019-06-11 11:20:30 +02:00
Alessandro Pasotti
2d45ba8d68 Move the QgsProject singleton problem one step up 2019-06-11 09:22:31 +02:00
Alessandro Pasotti
103ef762ca Factor out generateId for layers and fix QLR mutiple layers id import 2019-06-10 17:58:22 +02:00