Nyall Dawson
1915a16bf3
Port extent parameter to new c++ API widget wrapper
2020-03-25 19:25:40 +10:00
Nyall Dawson
945ab528c1
Allow QgsExtentWidget to be optionally nulled
2020-03-25 19:25:40 +10:00
Nyall Dawson
945eb460fe
Allow dragging and dropping project layers to QgsExtentWidget to copy extent from layer
2020-03-25 19:25:40 +10:00
Nyall Dawson
9e4e32ffa4
Make highlightable line edit its own widget - QgsHighlightableLineEdit
2020-03-25 19:25:40 +10:00
Nyall Dawson
a2fb4722db
Fix crash on exit
2020-03-25 19:25:40 +10:00
Nyall Dawson
f231b4a0ce
Add "Condensed" mode for QgsExtentWidget
...
The default appearance is very large, so this mode exposes a more
compact widget (e.g. with the buttons replaced by a toolbutton with
menu entries)
2020-03-25 19:25:40 +10:00
Nyall Dawson
dbc022d8c9
Split guts of QgsExtentGroupBox out to QgsExtentWidget
...
This allows the widget to be used in places where a group box
is not desirable (e.g. when the widget is already in a group box)
2020-03-25 19:25:40 +10:00
Nyall Dawson
ab4016209a
More Travis fixes
2020-03-25 09:42:17 +10:00
Nyall Dawson
ffda225796
Travis fixes
2020-03-25 09:42:17 +10:00
Nyall Dawson
488c8c739a
Fix loss of callback when invalid geometry handling method is set through
...
source definition
2020-03-25 09:42:17 +10:00
Nyall Dawson
afbe727c1a
Allow serialization of QgsProcessingFeatureSourceDefinition through QgsXmlUtils
2020-03-25 09:42:17 +10:00
Nyall Dawson
9500020b0f
Fix exception when opening gdal algorithms
2020-03-25 09:42:17 +10:00
Nyall Dawson
2913bebcff
Make parameter panel a stacked panel
2020-03-25 09:42:17 +10:00
Nyall Dawson
2ce58cdb9d
Remove some unused ui files
2020-03-25 09:42:17 +10:00
Nyall Dawson
3d6e4963f6
[processing] Move base class of ParametersPanel to c++
2020-03-25 09:42:17 +10:00
Nyall Dawson
41fb4df77f
[processing] Move iterate button to c++
2020-03-25 09:42:17 +10:00
Nyall Dawson
21d12b4ed5
Remove unused processing icons
2020-03-25 09:42:17 +10:00
Nyall Dawson
3b26a0dece
Cleanup unused imports
2020-03-25 09:42:17 +10:00
Nyall Dawson
91d51914a0
Minor cleanup ParametersPanel
2020-03-25 09:42:17 +10:00
Nyall Dawson
6e2c21eb55
[processing] Cleanup handling of "iterate over source" buttons, move
...
creation completely to widget wrapper
2020-03-25 09:42:17 +10:00
Cédric Traizet
fb419b638d
OTB plugin modification for OTB 7.1
2020-03-25 08:22:46 +10:00
Nyall Dawson
9c4834d389
Extract guts of QgsDataSourceSelectDialog to a QWidget, so that this
...
widget logic can be used outside of a dialog
2020-03-24 20:38:17 +10:00
Vincent Cloarec
34d44c08ed
[MESH] Resampling from vertex values to face values ( #35264 )
...
[FEATURE] Implements resampling from values on vertices to values on faces with the neighbor average method. (note that resampling method for datasets defined on faces, e.g., the value on vertices is calculated from value on faces was added in the previous QGIS release)
The default method is set to "none" for resampling from vertices to faces and to "neighbor average" for resampling from faces to vertices. Then the default rendering is now always smooth.
2020-03-24 10:03:54 +01:00
Vincent Cloarec
20a7ed44ac
[FEATURE][MESH] coloring mesh vector dataset with color ramp shader ( #35216 )
...
fixes #33978 Allows user to color the mesh layer vector dataset (arrow, stream lines, traces) with color ramp shader depending on the magnitude of the vector.
2020-03-24 09:58:48 +01:00
Nyall Dawson
28467f2ad0
Sipify
2020-03-24 10:53:50 +10:00
Nyall Dawson
b0474d7fd3
[processing] Hookup backend API allowing features sources to be
...
limited to a specific maximum number of features, and allowing
per-source overriding of the default "invalid geometry" handling behavior
2020-03-24 10:53:50 +10:00
Nyall Dawson
7bba9de2b9
Add a 'select all' action to model designer
2020-03-23 19:25:32 +10:00
Nyall Dawson
681d12e549
Tweak snapping logic, and add explicit action to "Snap Selected Components to Grid"
...
This is useful when a user doesn't want to enable the auto snapping, but wants to line
up stuff nicely by hand
2020-03-23 19:25:32 +10:00
Nyall Dawson
78d445ee65
[FEATURE] Add numeric formatter "fraction" style
...
This style represents decimal numbers as vulgar fractions, e.g.
"3/4" instead of 0.75.
Options include using Unicode superscript and subscript characters
for nicer typography, e.g. ¹⁷/₂₃ (this is the default mode, disabling
this option uses the "17/23" format). An option also exists for
using dedicated unicode characters for specific fractions (where
a unicode character exists), e.g. ½ or ¾
Ultimately this allows for creation of scalebars with fractional
representations of distances, e.g. 0 ----- ½ ----- 1 km
(instead of 0 ------ 0.5 ------ 1km)
Fixes #21289
Sponsored by SLYR
2020-03-23 14:24:37 +10:00
Nyall Dawson
ab04656092
Fix "zoom to" actions fail to correctly set canvas extent
...
when canvas has a locked scale
In these particular actions, we should ignore the canvas scale
lock so that the canvas correctly zooms to the specified extent
and matches user expectations
In particular this fixes:
- zooming to bookmarks
- matching canvas extent to layout map extents
- zooming to layer and feature extents
- pushing layout map scales from layout maps to canvas
Also improve dox
2020-03-23 14:16:47 +10:00
gacarrillor
6fb84776c8
Ensure expected button order in QgsProcessingAlgorithmDialogBase
2020-03-23 11:37:50 +10:00
Nyall Dawson
d4f378a3d2
[processing] Fix incorrect tooltips show for output parameters
2020-03-23 10:16:26 +10:00
Nyall Dawson
d10267f3aa
Spelling
2020-03-23 03:08:50 +10:00
Nyall Dawson
b63018520e
Cleanup scalebar widget enabling code by adding flags to QgsScaleBarRenderer
...
subclasses, so that the subclass itself can indicate what settings
it respects and we can avoid all the hardcoded logic in the configuration
widget
2020-03-23 03:08:50 +10:00
Nyall Dawson
4079878dfb
Rename API methods as requested
2020-03-23 03:08:50 +10:00
Nyall Dawson
1887846a5c
[FEATURE][layouts] Add "hollow" scalebar style
...
This matches the "hollow" scalebar style from ArcMap, and is a style
used in South African mapping standards
Fixes #20390
Sponsored by SLYR
2020-03-23 03:08:50 +10:00
Nyall Dawson
e7cc8307e4
[FEATURE][layouts] Add "Stepped Line" scalebar style
...
Designed to match the appearance and behavior of the ArcMap equivalent,
this was a scalebar format which was previously impossible to replicate
in QGIS.
Also fixes #26589
Sponsored by SLYR
2020-03-23 03:08:50 +10:00
Nyall Dawson
2c01373d1a
Fix build
2020-03-22 16:41:31 +10:00
Nyall Dawson
1e3e205a98
Fix deprecation warning
2020-03-22 16:41:31 +10:00
Nyall Dawson
e82a2e4df1
[FEATURE][layouts] Also allow full fill symbols to be used for single box
...
and double box fill styles
Sponsored by SLYR
2020-03-22 16:41:31 +10:00
Nyall Dawson
9378dcd73f
[FEATURE][layouts] Allow scalebar line style to be set using
...
standard QGIS line symbols
Instead of the previous settings of scalebar line color/width/cap styles,
we now expose the option as a full line symbol for more advanced styling
Also some code cleanups
Sponsored by SLYR
2020-03-22 16:41:31 +10:00
Mathieu Pellerin
f3e2ef1fe7
[FEATURE][symbology] Add data-defined property to font family/style for font markers ( #35224 )
2020-03-22 12:24:09 +07:00
Mathieu Pellerin
07570562fc
[FEATURE][symbology] Add a font style setting for font markers ( #35197 )
2020-03-21 12:11:16 +07:00
Nyall Dawson
7994490336
Sipify
2020-03-21 08:32:39 +10:00
Nyall Dawson
b45203a6c4
Make a proper registry for scalebar renderers
2020-03-21 03:45:24 +10:00
lbartoletti
364dc3fd4f
Fix multi split for multilinestring ( #34510 )
...
* Fix multi split for multilinestring
2020-03-20 13:23:11 +01:00
Alexander Bruy
4284cc19d9
fix mesh layer SIP bindings
2020-03-19 11:49:31 +02:00
Alexander Bruy
16b4ef8e32
[processing] port expression parameter definition widget to C++
2020-03-19 11:49:13 +02:00
Alexander Bruy
972223b55e
[processing] port point parameter definition widget to C++
2020-03-19 11:49:13 +02:00
Alexander Bruy
f4e4adbef8
[processing] port CRS parameter defintion widget to C++
2020-03-19 11:49:13 +02:00