13750 Commits

Author SHA1 Message Date
Nyall Dawson
f598e2d527 Typo 2018-09-11 06:01:06 +10:00
Nyall Dawson
97a964af4a Add method QgsCategorizedSymbolRenderer::matchToSymbols which
matches existing categories to symbol names from a QgsStyle
object and copies matching symbols to these categories
2018-09-11 06:01:06 +10:00
signedav
d80ad3d34f form_mode for qmlwidgetwrapper expression 2018-09-10 18:08:26 +02:00
Denis Rouzaud
4b7da692d6 run sipify all 2018-09-10 11:41:57 -04:00
Matthias Kuhn
41184bf961
Merge pull request #7835 from m-kuhn/expressionCodeCompletion
Code completion for expression builder [FEATURE]
2018-09-10 13:42:41 +02:00
Matthias Kuhn
cf82c13324 Rename conversionFactor to scaleFactor 2018-09-10 13:36:33 +02:00
Matthias Kuhn
89526a02e0 Add QgsCoordinateTransform::conversionFactor
directly copied from QgsMapSettings
2018-09-10 12:58:54 +02:00
Nyall Dawson
8ecb943a43 Fix some tiny browser icons on hidpi screens 2018-09-10 19:36:03 +10:00
signedav
a5fc39100a no case default and removed unused doc 2018-09-10 08:16:06 +02:00
Matthias Kuhn
273e99877b
Merge pull request #7805 from m-kuhn/vectordataproviderfeaturepool
Refactor QgsFeaturePool
2018-09-10 07:53:55 +02:00
Harrissou Sant-anna
2d1dbe7f74 Add precision to args=-1 usage 2018-09-10 15:25:42 +10:00
Harrissou Sant-anna
b2e4041757 Add handlesnull parameter to custom function template help 2018-09-10 15:25:42 +10:00
Denis Rouzaud
89830f614e
create QgsMapLayer::LayerFlags for Searchable, Identifiable and Removable (#7815)
* create QgsMapLayer::LayerFlags for Searchable, Identifiable and Removable

this brings back the information previously saved in the project node back to the layer node
this will allow to embed this information in layer styles

* skip unexisting flag node to avoid setting wrong value for flag

* mark QgsProject::(set)requiredLayers as deprecated

* better API docs

* use new API in current code

* more docs and more old API fixes

* fix bad conversion

* more old API fix

* add missing SIP_OUT

* s/testFlags/testFlag

* fix var name

* adapt project test to test flags

* remove debug calls

* fixeS
2018-09-08 07:54:21 -04:00
Nyall Dawson
f979c8e80a Make some protected members private 2018-09-08 20:57:28 +10:00
Matthias Kuhn
203660a3c8 Update some bits 2018-09-08 12:29:23 +02:00
Matthias Kuhn
cebaa81996 Code completion for expression builder [FEATURE] 2018-09-08 11:50:03 +02:00
Nyall Dawson
13ab5e51ac Fix build warning 2018-09-08 18:10:31 +10:00
Nyall Dawson
1c5250b147 [processing] Fix some exceptions in batch dialog after refactoring
Fixes #19779, #19786
2018-09-08 17:51:42 +10:00
Matthias Kuhn
32ee71634f
Merge pull request #7711 from m-kuhn/mapToolSnapToGrid
Snap to grid for maptools [FEATURE]
2018-09-08 08:20:49 +02:00
John Kastner
0cc9501df7 Remove try-except block in voronoi.py fixes #19798
This block was swallowing all exceptions within the voronoi method.
Removing the block causes exceptions throw in the method to propagate up
the stack and eventually become visible in log files.
2018-09-08 14:38:25 +10:00
Loïc Bartoletti
808963bfae Fix error with standardPixmap. signature requires QStyleOption 2018-09-08 07:42:01 +10:00
Luigi Pirelli
8fa5b04c03 typo 2018-09-08 07:41:11 +10:00
Luigi Pirelli
7944f6704b added test for RangePanel widget 2018-09-08 07:41:11 +10:00
Luigi Pirelli
bc8a4605d4 Fix Range wrapper to allow Range parameters to be added in modeler. Not yet fully integrated as input paramter 2018-09-08 07:41:11 +10:00
Denis Rouzaud
6e7ff283ed
add missing SIP_OUT (#7831) 2018-09-07 12:29:09 -04:00
Matthias Kuhn
d57c1842b7 Rename snapToGridEnabled to snapToLayerGridEnabled 2018-09-07 16:21:37 +02:00
Matthias Kuhn
7f63d41b44
Merge pull request #7822 from m-kuhn/constCorrectQgsGeometryError
Const correctness for QgsGeometry::Error
2018-09-07 15:00:40 +02:00
Matthias Kuhn
84cdff12bb Fix docs 2018-09-07 14:50:19 +02:00
Matthias Kuhn
e637fd5e66 Add doxymentation 2018-09-07 13:19:52 +02:00
Luigi Pirelli
e611756f09 fix error because constant is not iterable 2018-09-07 20:40:35 +10:00
Luigi Pirelli
95a4c00584 fix reference to widget as instance attribute not through a method 2018-09-07 20:40:35 +10:00
Matthias Kuhn
8ba442f14a Const correctness for QgsGeometry::Error 2018-09-07 10:58:13 +02:00
Nyall Dawson
0ea283190b Better (finer) proxy task progress reporting for batch execution 2018-09-07 12:19:48 +10:00
Nyall Dawson
45bc2a0798 [processing] Use multi-step feedback for batch execution
Gives better indication of total progress vs showing just
current algorithm progress
2018-09-07 12:19:48 +10:00
Nyall Dawson
db1600871a [processing] Use a proxy task for batch processing execution 2018-09-07 12:19:48 +10:00
Nyall Dawson
1002824cc6 [metasearch] Minor UI updates to conform to HIG (#7810)
* [metasearch] Use QgsFilterLineEdit for keyword search box

* [metasearch] Remove version number from dialog title

This is no longer required now that the plugin is bundled with
QGIS - the version number now follows QGIS version numbering

* Capitalization, ellipsis

* [metasearch] Use a question messagebox
2018-09-06 20:49:57 -04:00
Etienne Trimaille
c65fe0e07c do not display metadata related to spatial extent if the layer is not spatial 2018-09-07 09:38:25 +10:00
Nyall Dawson
da3907876e Sipify 2018-09-07 09:36:54 +10:00
Juergen E. Fischer
a823046b5f followup spelling fixes 2018-09-07 00:33:13 +02:00
Martin Dobias
1839daaa18
Merge pull request #7777 from PeterPetrik/mesh_vector_on_grid
[mesh] [feature] allow render vectors/arrows on the user-defined grid
2018-09-06 15:32:54 +02:00
signedav
21a772ff6c spelling american
initialization not initialisation
2018-09-06 13:24:30 +02:00
signedav
13089664e8 spelling and missing case in qgsquick 2018-09-06 13:02:01 +02:00
Matthias Kuhn
09cb22f9a0 Doxymentation 2018-09-06 12:37:10 +02:00
Nyall Dawson
f83b3ecc84 Show helper text in expression builder for CRS values in modeler 2018-09-06 18:11:24 +10:00
Nyall Dawson
7b85fd9961 Allow setting expression format help string for QgsExpressionLineEdit 2018-09-06 18:11:24 +10:00
Nyall Dawson
06d37fced4 [processing] Port CRS widget wrapper to c++ classes 2018-09-06 18:11:24 +10:00
Harrissou Sant-anna
f5bf15bed9 Update some documentation formatting 2018-09-06 17:10:17 +10:00
signedav
5f4acded15 some more fixes
Removed QmlExpression from api
On activation of template box, we overwrite the text in the GUI
The preview is loaded including expression values on start
Takes expression instead of currentText from ExpressionWidget - means it delivers fields in quotes
2018-09-06 07:57:17 +02:00
Matthias Kuhn
ba5cfc356d Add RAII class QgsReadWriteLocker 2018-09-06 07:46:23 +02:00
Tom Kralidis
dd3bbf01ce
Merge pull request #7809 from nyalldawson/metasearch_local
[FEATURE][metasearch] Add FILE:GEO to known link types
2018-09-05 21:19:48 -04:00