1883 Commits

Author SHA1 Message Date
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
Matthias Kuhn
d57c1842b7 Rename snapToGridEnabled to snapToLayerGridEnabled 2018-09-07 16:21:37 +02: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
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
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
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
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
493bdb1bf2 f 2018-09-05 11:01:32 +02:00
Matthias Kuhn
5acd33b32d Work in progress 2018-09-05 11:01:32 +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
Matthias Kuhn
1bfc2785c9 Remove unrequired qgsfeature.h includes 2018-09-04 14:55:21 +02:00
Nyall Dawson
d563034583 Address review comments 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
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
Nyall Dawson
8f1fb1e648 Fix messageboxes are shown with wait mouse cursor in style manager import dialog 2018-08-31 19:49:09 +10:00
Matthias Kuhn
212cd20791 Transfer ownership of item 2018-08-26 14:10:46 +02:00
Matthias Kuhn
6ae03afdfa Add license headers 2018-08-26 14:10:46 +02:00
Matthias Kuhn
9ad3515a0b Better dox 2018-08-26 14:10:46 +02:00
Matthias Kuhn
1e81e03a18 Add QgsSnapToGridCanvasItem 2018-08-26 14:10:46 +02:00
Matthias Kuhn
aae6559130 Allow disabling snapping on maptools 2018-08-26 14:10:46 +02:00
Matthias Kuhn
9e387e48fc Make map tool snap to grid crs aware 2018-08-26 14:10:46 +02:00
Matthias Kuhn
8fc08d8c13 Snap nodes in digitizing map tools to grid 2018-08-26 14:10:46 +02:00
Nyall Dawson
c7845ddbb4 Deprecate unused QgsAbstractDataSourceWidget progress report signal
QgsProxyProgressTask should be used instead for progress reporting
2018-08-20 15:01:52 +10:00
Alessandro Pasotti
6a4aee82db Code layout 2018-07-31 13:06:48 +02:00
Alessandro Pasotti
222fe2362e Add properties to QgsHighlight for easier animations 2018-07-31 10:23:27 +02:00
Nyall Dawson
1a7ade7575 [FEATURE] Better UI for embedding SVG files
Adds a common widget for SVG sources, with a tool button with
some handy options:
- select file (old behaviour), pick a file from disk
- embed file (pick a file from disk, is embedded into project/symbol)
- extract embedded file (for embedded files, allows you to save these
back to a disk based svg file)
- from url (opens a dialog prompting for a url, exposing
the previously hidden functionality that svgs can be retrieved
from a remote url (eg github))

Sponsored by SMEC/SJ
2018-07-24 03:54:44 +10:00
Martin Dobias
6614d89643 Add missing interface method for Data Source Manager toolbar 2018-07-23 15:19:57 +02:00
Nyall Dawson
9887508d1e Fix crash when editing graduated symbol in style dock
Fixes #18909
2018-07-20 16:54:53 +10:00
nirvn
68290a2ddc [maptips] fix font not respecting user settings
(this is important for non-Latin users out there)
2018-07-19 14:22:40 +07:00
nirvn
3e6db63ca4 [maptips] fix additional wrongly sized widget scenarios 2018-07-19 08:45:39 +07:00
Nyall Dawson
f57c548ec3 Fix documentation test failures 2018-07-16 11:38:13 +10:00
Nyall Dawson
7f9b0f8b01 Fix version added string 2018-07-16 11:38:13 +10:00
Nyall Dawson
68aae3a0e6 Replace processing modeler toolbox with common widget/model 2018-07-16 11:38:13 +10:00
Nyall Dawson
45d856e903 Dox 2018-07-16 11:38:13 +10:00