15509 Commits

Author SHA1 Message Date
Matthias Kuhn
95f63ec3b8 [dbmanager] Fix use before assign 2019-06-24 14:51:59 +02:00
Alexander Bruy
ff24ab53ef outputs can not be advanced 2019-06-24 20:09:57 +10:00
Alexander Bruy
625cc01fc3 [processing][feature][needs-docs] allow to define model parameters as
advanced
2019-06-24 20:09:57 +10:00
Martin Dobias
5f0558915f Pass uri in createProvider() as a reference, not a pointer 2019-06-23 20:36:01 +02:00
Alexander Bruy
94ec2dc72c
Merge pull request #30333 from alexbruy/postgis-layer
[processing] remove trailing semicolon from SQL before creating a layer (fix #30239)
2019-06-23 09:42:10 +03:00
Alexander Bruy
3039aeabd7
Merge pull request #30331 from alexbruy/random-points
[processing] assign correct ids to features in the random points in polygons algorithm (fix #26321)
2019-06-23 09:41:46 +03:00
Alexander Bruy
017f41f96c [processing] remove trailing semicolon from SQL before creating
layer (fix #30239)
2019-06-22 18:57:36 +03:00
Alexander Bruy
71fac3bbd2 [processing] assign correct ids to features in the random points in
polygons algorithm (fix #26321)
2019-06-22 16:58:56 +03:00
Alexander Bruy
53f1acd7bb [processing] set correct default for r.stream.extract algorithm (fix #30231) 2019-06-22 14:39:47 +03:00
Matthias Kuhn
3a30a5b6ba
Merge pull request #30320 from olivierdalang/fix_30260
fix #30260
2019-06-22 09:44:41 +02:00
olivierdalang
395486b694 fix #30260 2019-06-22 00:26:00 +02:00
olivierdalang
8f629cab5e [FEATURE][processing] new algorithm point to layer 2019-06-22 05:49:28 +10:00
Martin Dobias
90910b0447 Patch QgsProviderMetadata in Python to avoid API break
In C++ we do not support QgsProviderMetadata(key, description, createFunc) anymore,
but for python code we can have a patched class that still supports createFunc.

Why not keep the variant with createFunc in C++ as well? Because... SIP!
With newly added virtual methods in QgsProviderMetadata, SIP started to generate
a sip-specific subclass to handle derived classes in Python, however due to the variant
with PyObject* and custom MethodCode it was getting confused about what constructors
are available in C++ and failing to compile.
2019-06-21 18:27:36 +02:00
Martin Dobias
8c4ef42ec9 Remove description() from QgsProviderGuiMetadata - it is not needed there 2019-06-21 17:00:08 +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
Matthias Kuhn
0640e51e48
Merge pull request #10005 from ghtmtt/processing_climb
[Processing] climb along line algorithm
2019-06-21 16:13:15 +02:00
Juergen E. Fischer
88cb4d4eda dxf export: fix export of curved geometries 2019-06-21 13:14:46 +02:00
Nyall Dawson
4e5d95cf18
Update python/gui/auto_generated/symbology/qgsstylesavedialog.sip.in 2019-06-21 20:31:59 +10:00
Nyall Dawson
689b82da53 When saving a new symbol to the style, default to tagging it with
the current tag filter (if set)
2019-06-21 18:06:33 +10:00
Harrissou Sant-anna
059277ceca Remove some dialogs geometry size settings
replaced with automatic restoring
2019-06-21 16:54:54 +10:00
Nyall Dawson
78bfb4a18b Allow saving label settings from layer settings 2019-06-21 15:52:56 +10: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
65230abc16 Sync column sizes in all style item list widgets 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
4ea55fceaa Split symbol list off to its own reusable widget 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
Tom Elwertowski
35da038860 macOS needs path to GEOS framework for PAL 2019-06-21 07:04:11 +10:00
Martin Dobias
437f635949 Revert api changes in gui registries to fix some tests 2019-06-20 16:00:06 +02:00
Martin Dobias
ab261b675e Doxy fix + remove extra QgsProviderMetadata constructor 2019-06-20 14:50:30 +02:00
Denis Rouzaud
51572e9e83
Merge pull request #30269 from 3nids/fix28962
do not use unique_ptr for QGraphicsItem
2019-06-20 14:20:03 +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
78f69ad5a6 Added sip files for newly added classes 2019-06-19 23:09:13 +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
Larry Shaffer
ebd4f0d8ca
Add layer tree layer contextual menu mark, floating on right of viewport
This accomplishes several things:
- Offers an indication to user that there are layer-related actions
- Single click access to contextual menu
- Offers an indication to user where layers are located when viewport is
  horizontally scrolled to right, and layer names are not visible
2019-06-19 10:06:37 -06:00
Larry Shaffer
a06a96cf7c
Reset minimum section size to layer tree veiwport width on resize
Since last column is resized to content (instead of stretched), the
active selection rectangle ends at width of widest visible item in tree,
regardless of which item is selected. This causes layer indicators to
become 'inactive' (not clickable and no tool tip) unless their rectangle
enters the view item's selection (active) rectangle. Always resetting
the minimum section size relative to the viewport ensures the view
item's selection rectangle extends to the right edge of the viewport,
which allows indicators to become active again.
2019-06-19 10:05:59 -06:00
Denis Rouzaud
6dfe113d67 do not hold a pointer to an QGraphicsItem within a QGraphicsItem
since map canvas is deleting them all, this is causing a crash when trying to delete the already deleted item in the parent item
2019-06-19 16:20:32 +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