13765 Commits

Author SHA1 Message Date
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
Nyall Dawson
689126b18a [FEATURE][metasearch] Add FILE:GEO to known link types
Adds GIS File link type to known link types, and for records with
a FILE:GEO link enables a new "Add GIS File" action. Clicking this
adds the linked GIS file to the current project.
2018-09-06 09:44:04 +10:00
Yuki
cedfaa7c16 fix hasYMax variable 2018-09-06 06:52:23 +10:00
Nyall Dawson
30059e63d6 Fix freaking American (WRONG!!1!111!!) spelling conventions 2018-09-06 06:51:17 +10:00
Nyall Dawson
ca1c655ec6 Minor API improvements to QgsStyleManagerDialog 2018-09-06 06:51:17 +10:00
Denis Rouzaud
8fdcbdd36c
distinct files for QgsMapLayerStyle and QgsMapLayerStyleManager (#7806) 2018-09-05 22:28:38 +02:00
Chris Mayo
70a37bf981 Tidy installer_data.py and utils.py
- Fix unused and missing imports
- Only import configparser is needed for Python 3
- Unnecessary string u prefix for Python 3
- Comment typo
2018-09-06 05:56:09 +10:00
signedav
4504845311 moved QmlExpression back to header 2018-09-05 17:07:43 +02:00
signedav
76df5b022d docs and replacement of qmlexpression 2018-09-05 15:59:01 +02:00
signedav
ae3176fef7 docstrings and beautification 2018-09-05 11:01:33 +02:00
signedav
ccdd4df5ce expressions on qml widget 2018-09-05 11:01:33 +02:00
signedav
abbe5c5205 expressions 2018-09-05 11:01:33 +02:00
signedav
6ac41b42d9 preview 2018-09-05 11:01:32 +02:00
signedav
e8e32fab64 Configuration and display
works in basic - no attributs. no handy configurator.
2018-09-05 11:01:32 +02:00
Matthias Kuhn
f41aaa79cb Yay, more QML! 2018-09-05 11:01:32 +02:00
Matthias Kuhn
493bdb1bf2 f 2018-09-05 11:01:32 +02:00
Matthias Kuhn
5acd33b32d Work in progress 2018-09-05 11:01:32 +02:00
Peter Petrik
c89b7722a3 fix review items from Nyall 2018-09-05 09:00:30 +02:00
Matthias Kuhn
17279a42e2 Only include qgsvectorlayer.h where required 2018-09-05 08:54:11 +02:00
Matthias Kuhn
ded7978fab
Merge pull request #7790 from m-kuhn/featureid
Move QgsFeatureId to own header
2018-09-04 21:31:00 +02:00
Luigi Pirelli
580ecafa32
Merge pull request #7396 from luipir/rastercalculator_model_fix
[processing] Rebirth RasterCalculator in Modeler. Fixes #19302
2018-09-04 18:13:04 +02:00
Matthias Kuhn
507649ddbd Readd qgsfeature.h to CMakeLists.txt 2018-09-04 16:19:26 +02:00
Matthias Kuhn
db45686804 Adjust core_auto.sip 2018-09-04 15:55:29 +02:00
Luigi Pirelli
7d1471a715 more compact if 2018-09-04 15:46:42 +02:00
Matthias Kuhn
1bfc2785c9 Remove unrequired qgsfeature.h includes 2018-09-04 14:55:21 +02:00
nirvn
8398aae04b [needs-docs][processing] Use input layer data type for gdal algorithms
when appropriate:
- warp (i.e. reproject)
- translate (i.e. file format conversion)
- rearrange bands
- clip by extent/mask
2018-09-04 16:20:03 +07:00
Nyall Dawson
d563034583 Address review comments 2018-09-04 19:06:07 +10:00
Nyall Dawson
3c2499ba95 Add some notes on deprecated class handling 2018-09-04 19:06:07 +10:00
Nyall Dawson
e76b761dd0 Correctly associate layer with dynamic properties 2018-09-04 19:06:07 +10:00
Nyall Dawson
8082497724 Fix evaluation of Python wrapper values 2018-09-04 19:06:07 +10:00
Nyall Dawson
70c1680754 Automatically handle adding data defined button for dynamic properties
Also exposes this capability to modeler - so that model algorithms
can use data defined parameters within their child algorithms.

TODO:
- tests
- setting the associated vector layer
2018-09-04 19:06:07 +10:00
Nyall Dawson
a717b85e2e [FEATURE][processing] New modeler parameter widget
A new widget which handles parameter values for child algorithms
within a model. Instead of the previous approach of requiring
individual widget wrappers to handle creation of a suitable
model widget, we do all this automatically for them.

This widget uses a stacked widget with a toolbutton to select
the parameter's source, instead of the previous combo box approach
(which didn't scale well for large models). I.e. users select
first whether the value is taken from a static value, a
model input, or an output from a different child algorithm. The
widget then changes appearance and behavior based on this
choice.

Additionally, a new option is present for all parameters
of using a "precalculated expression". This expression is
evaluated once before the child algorithm is executed
and used during the execution of that algorithm.
2018-09-04 19:06:07 +10:00
Nyall Dawson
644ef6a752 [processing] Initial work on porting base GUI classes to c++
- Add abstract base class for Processing widget wrappers to c++
- Add wrapper factory interface to c++
- Make QgsProcessingGuiRegistry also register widget wrapper
factories, and be responsible for creation of new c++
processing widget wrapper instances
- Start on private c++ implementation of boolean widget wrapper,
including unit tests
2018-09-04 19:06:07 +10:00
Alessandro Pasotti
aae41c068f Fix documentation for editFormConfig
It returns a copy: you need to change
it and use setEditFormConfig to make
modifications.
2018-09-04 07:57:57 +02:00
nirvn
5cd28034bd address comments, fix test 2018-09-04 10:07:07 +07:00
nirvn
65d9911e8b Rephrase short help 2018-09-04 10:07:07 +07:00