Nyall Dawson
e620b9cf63
Fix broken string
2019-03-13 16:57:14 +10:00
Nyall Dawson
1e5ae9cae7
Fix dox
2019-03-13 16:52:29 +10:00
Nyall Dawson
46e3304d2c
Fix naming collision
2019-03-13 16:52:29 +10:00
Nyall Dawson
32fbf0a92b
[processing][FEATURE] New parameter type for map scales
...
This adds a new parameter type specifically for map scales,
QgsProcessingParameterScale. The values are evaluated using
self.parameterAsDouble, which returns the map scale
denominator (matching the standard in other parts of the
QGIS API).
Scale parameters are displayed to users using the standard
QgsScaleWidget, which includes the combo box of predefined
scales and a shortcut button to match the current map scale.
2019-03-13 16:52:29 +10:00
Nyall Dawson
ca7008c285
Add API to allow QgsScaleWidget to accept NULL values
2019-03-13 16:52:29 +10:00
Nyall Dawson
7c582063c1
Add API to allow null values in QgsScaleComboBox
2019-03-13 16:52:29 +10:00
Nyall Dawson
cf1f06eee6
Layer CRS validation is NOT thread safe, and can cause crashes
...
when a layer with unknown CRS is loaded in a background thread
We can't queue the connection to prompt for CRS (or warn via
messagebar), because the slot uses a modifiable reference which
may be deleted before the queued slot is called.
We also can't do ANY gui related stuff when this occurs. Best
we can do is log a warning and move on...
2019-03-13 16:37:07 +10:00
nirvn
b97ef936be
[expression] Negative index support to point_n(), angle_at_vertex(), distance_to_vertex() functions
2019-03-13 11:20:04 +07:00
lbartoletti
ce9124710b
apply martin's review
2019-03-12 17:56:49 +01:00
lbartoletti
1ac18f919e
remove useless variable mSnappedToVertex
2019-03-12 17:56:49 +01:00
lbartoletti
2a2b7a6532
Needs to snap point too when CadDockWidget is enabled. Fixes #18138
2019-03-12 17:56:49 +01:00
Matthias Kuhn
857fe53773
[FEATURE] Merge pull request #9460 from m-kuhn/labeling_geometry_generator
...
➿ Geometry generators for labeling ➿
2019-03-12 14:15:51 +01:00
Matthias Kuhn
f60e0b6d60
Merge pull request #9491 from m-kuhn/ogr_provider_test_flaky
...
Disable flaky ogrprovider test
2019-03-12 14:15:21 +01:00
Julien Cabieces
1dc146a7ca
Change 'since' version to 3.4.6 ( #9480 )
2019-03-12 12:05:36 +01:00
Nyall Dawson
1029c6542c
Disable freaking annoying constantly failing unit tests
2019-03-12 20:08:03 +10:00
Matthias Kuhn
8c676ba0b3
Disable flaky ogrprovider test
2019-03-12 10:56:11 +01:00
Matthias Kuhn
de541d488c
Update placement options on geometry type change
2019-03-12 09:11:37 +01:00
nirvn
f83990f44f
[themes] Fix missing visual hint for disabled tabs
2019-03-12 15:07:15 +07:00
Matthias Kuhn
486bb75ca8
Set obstacle geometry to original geometry
2019-03-12 09:04:35 +01:00
Matthias Kuhn
e19527c369
Fix geometry generator type visibility glitch
2019-03-12 09:04:33 +01:00
Harrissou Sant-anna
4b9f4da929
Use Qt style "returns .." tense instead of "return .."
2019-03-12 14:42:36 +10:00
Nyall Dawson
d890084f63
Fix loss of layout item combo box filters
2019-03-12 08:16:52 +10:00
Nyall Dawson
41d8a9c20b
Fix test
2019-03-12 08:16:52 +10:00
Nyall Dawson
422d0f7a2e
Correctly sort items in QgsLayoutItemComboBOx
2019-03-12 08:16:52 +10:00
Nyall Dawson
9191841509
Spelling
2019-03-12 08:16:52 +10:00
Nyall Dawson
021d1ef237
[FEATURE][processing] New parameter types for layouts and layout items
...
Allows processing algorithms which operate on a specific layout
and layout item selection
2019-03-12 08:16:52 +10:00
Nyall Dawson
f9fb4085b2
Tweaks to layout item combo box
2019-03-12 08:16:52 +10:00
Nyall Dawson
0003e91f27
Add methods to resolve parameters to layouts/layout items
2019-03-12 08:16:52 +10:00
Nyall Dawson
ba82954ac5
[processing] Add new parameter type for layout item objects
2019-03-12 08:16:52 +10:00
Nyall Dawson
dd49720863
[processing] Add new parameter type for print layout names
2019-03-12 08:16:52 +10:00
Nyall Dawson
5ec43cfdc1
[processing] Add project to QgsProcessingParameterWidgetContext
2019-03-12 08:16:52 +10:00
Nyall Dawson
8d77a6bdcc
New gui class QgsLayoutComboBox
...
Shows a list of layouts
2019-03-12 08:16:52 +10:00
Nyall Dawson
cba22770dc
Move layout manager model from app to core and add unit tests
2019-03-12 08:16:52 +10:00
Nyall Dawson
0b270f98fb
Merge pull request #9454 from nastasi-oq/distribute-equispaced2
...
[layout] add new vertical and horizontal equispaced distributions
2019-03-12 06:29:33 +10:00
Alessandro Pasotti
8e39f0f57a
Merge pull request #9478 from elpaso/bugfix-21028-db-manager-sqlite-thread
...
[db-manager] Invalidate sqlite connection if it was created in anothe…
2019-03-11 21:28:43 +01:00
Matthias Kuhn
67555c8432
Fix geometry generator condition
2019-03-11 16:19:30 +01:00
Alessandro Pasotti
8fb112d26f
[db-manager] Invalidate sqlite connection if it was created in another thread
...
Fixes #21028 - DB manager: SQLite objects created in a thread can only be used in that same thread
2019-03-11 16:04:00 +01:00
Matthias Kuhn
6d465f017d
Move prepare step into qgspallabeling
2019-03-11 14:49:08 +01:00
Matthias Kuhn
05ff817a97
Update docs
2019-03-11 12:48:14 +01:00
Matthias Kuhn
6b42ccb737
Add geometry generator required fields to request
2019-03-11 12:47:49 +01:00
Matthias Kuhn
6eec3a7d5f
Fix double comparison warnings
2019-03-11 12:05:14 +01:00
Matthias Kuhn
da7b489202
Move expression preparation to prepare step
2019-03-11 12:05:13 +01:00
Matthias Kuhn
c8333d5f4d
Switch enumkeytovalue to existing functionality
2019-03-11 12:04:13 +01:00
Matthias Kuhn
1d36be8683
Nicer information message to adjust geometry
2019-03-11 11:24:43 +01:00
Matthias Kuhn
d3887c2af2
Distance area no longer needed
2019-03-11 11:24:43 +01:00
Matthias Kuhn
90dd8a0f4a
Obstacle geometry should be original geometry
2019-03-11 11:24:42 +01:00
Nyall Dawson
434600c294
Update src/core/qgspallabeling.cpp
...
Co-Authored-By: m-kuhn <matthias@opengis.ch>
2019-03-11 10:14:16 +01:00
Matteo Nastasi
ae0e12b1b9
received all PR suggestions
2019-03-11 09:59:25 +01:00
Matteo Nastasi
245e5bafe6
create a private method to compute equispaced distributions
2019-03-11 09:58:44 +01:00
Matthias Kuhn
75efd24240
Merge pull request #9475 from vpicavet/patch-1
...
Revert "drinking" mention on PR template
2019-03-11 08:24:05 +01:00