1830 Commits

Author SHA1 Message Date
pierreloicq
fe049d372c classify symmetric squashed (17 commits) to rebase easily on master; 13 may 2018 2018-09-14 16:36:11 +10:00
Nyall Dawson
84d4853115 Use model for symbol list view in symbol panel
Fixes hi-dpi issues
2018-09-14 09:19:32 +10:00
Martin Dobias
2085dfa6ae [FEATURE] 3D identify tool working on 3D entities
Until now the tool only considered terrain. This commit adds support
for 3D renderers created from vector layers, so it is possible to
correctly identify polygons and linestrings in 3D.
2018-09-13 13:36:24 +02:00
Nyall Dawson
6935027ead [processing] Fix API break in widget wrapper
Fixes #19820
2018-09-13 05:40:39 +10: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
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
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
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
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
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
Nyall Dawson
8caecbb85c Fix some dox 2018-07-16 11:38:13 +10:00
Nyall Dawson
101c98fd17 Move toolbox tree view to c++ class 2018-07-16 11:38:13 +10:00
Nyall Dawson
810cb9c0f7 Start replacing python model 2018-07-16 11:38:13 +10:00