2685 Commits

Author SHA1 Message Date
Alessandro Pasotti
1ac2c447f8 Fix model sync when fields change 2020-04-03 21:21:14 +10:00
Alessandro Pasotti
5d720fbb5f Enum class for ColumnDataIndex + constraints 2020-04-03 21:21:14 +10:00
Alessandro Pasotti
1ef0c6538f Code layout 2020-04-03 21:21:14 +10:00
Alessandro Pasotti
8ac0a3d7a7 Code layout 2020-04-03 21:21:14 +10:00
Alessandro Pasotti
61aff3a58b Added default ctor and model (re)setters 2020-04-03 21:21:14 +10:00
Alessandro Pasotti
794eb7e097 QgsFieldMappingModel plus tests and widget operations 2020-04-03 21:21:14 +10:00
Alessandro Pasotti
2ce67b3391 sipify 2020-04-03 21:21:14 +10:00
Alessandro Pasotti
a59cf9c8d2 Added setFields 2020-04-03 21:21:14 +10:00
Alessandro Pasotti
e7621be8be Field mapping widget 2020-04-03 21:21:14 +10:00
Matthias Kuhn
c6621a9faf
Merge pull request #35413 from suricactus/layer_toggle
FIX #33874 Turn on/off ALL selected layers with "Space" button
2020-04-03 11:41:53 +02:00
Vincent Cloarec
75ddf3c7a6
[FEATURE][MESH] plug mesh layer to QGIS temporal framework (#35466)
[FEATURE] Use temporal controller for the mesh layer time handling.
2020-04-03 08:21:15 +02:00
Nyall Dawson
740be229cb Typo 2020-04-02 02:29:54 +10:00
Nyall Dawson
d20a3bddc0 [FEATURE][processing] Port output parameter wrappers to new c++ API for modeler
This allows a range of new possibilities, including:
- models with static outputs for child algorithms, e.g. always saving
a child algorithm's output to a geopackage or postgres layer
- models with expression based output values for child algorithms, e.g.
generating an automatic file name based on today's date and saving
outputs to that file
2020-04-02 02:29:54 +10:00
Nyall Dawson
3976e14ae8 Refine arrow API to allow control over whether arrows join to incoming or outgoing sides 2020-04-02 02:29:54 +10:00
Nyall Dawson
c98cd8d1a8 Partial port of destination wrappers to c++ API 2020-04-02 02:29:54 +10:00
Nyall Dawson
50b723ce7b [FEATURE][processing] Add menu to the Model Designer "View" menu
allowing users to zoom direct to any group box present in the model

Allows for simplified navigation of complex models
2020-04-01 18:20:09 +10:00
Nyall Dawson
4fa9083cf6 [FEATURE][processing] Allow creation of group boxes in models
These are a visual guide, allowing designers to create logical groups
of algorithms relating to a single task ("eg 'Prepare data')

The title and color of the group boxes can be customized
2020-04-01 18:20:09 +10:00
Nyall Dawson
e788be93fa [processing][FEATURE] Add api for setting model component colors, and expose
the option to set manual colors for individual model comments
2020-04-01 18:20:09 +10:00
Mathieu Pellerin
ab6fe9d79a [FEATURE][layouts] Add import content from clipboard for fixed table items 2020-03-31 17:21:09 +07:00
Nyall Dawson
f268b09d1b Also show child input values 2020-03-31 19:35:51 +10:00
Nyall Dawson
5963b90f2c [processing][FEATURE] After running a model through the model designer,
show the obtained values for all child algorithm outputs within the designer
canvas

This gives users better tools for debugging models - they can see exactly
what values were output by the child algorithms and flowed into other
parts of their model
2020-03-31 19:35:51 +10:00
Nyall Dawson
cb990c69c2 Setup framework for receiving model child results after running through model designer 2020-03-31 19:35:51 +10:00
Martin Dobias
be98e2f0f6 [FEATURE] Raster layer contour renderer
This new renderer draws contour lines that are calculated on the fly
from the source raster band. It is possible to set interval of contour
lines and symbol used for drawing.

In addition there is support for "index contours" - contour lines
with higher interval, typically drawn with a wider line symbol.

If we generate contour lines on input raster block with the same size as our
output raster block, the generated lines would contain too much detail.
This detail can be reduced by the "downscale" factor - this will request
lower resolution of the source raster.
2020-03-31 08:51:54 +02:00
Alessandro Pasotti
e3b65a4f0e Sipify 2020-03-31 14:23:55 +10:00
Alessandro Pasotti
96bd6894ec Relation editor wdgs: fix ok/cancel button when embedded
Ok/Cancel button were shown even when embedded (followup #34827 )

Also add accessor for editorContext.
2020-03-31 14:23:55 +10:00
Nyall Dawson
e386573c0c [FEATURE][processing] Port multi-layer input parameter widget to new API
Allows
- expression based inputs
- rearrangement of inputs for multi-layer parameters in models, to set
specific layer orders
2020-03-31 01:06:48 +10:00
Nyall Dawson
a682405ccb [processing] Partial port of Multi Input parameter widget (standard and batch) 2020-03-31 01:06:48 +10:00
Nyall Dawson
8bca81838e [processing] Port Raster Band parameter to new widget wrapper API 2020-03-31 01:06:48 +10:00
Nyall Dawson
6557865b05 [processing] Multi-selection widget can open inline
Affects enum choices and multi-field selection for now
2020-03-31 01:06:48 +10:00
Ivan Ivanov
ef2cacfe89 Fixes on spelling and feedback received 2020-03-30 14:21:37 +03:00
Ivan Ivanov
7c9cd0b893 Distinguish between toggle all and toggle independently 2020-03-30 07:37:43 +03:00
Nyall Dawson
ef4344b674 Default to current layer when appropriate 2020-03-29 05:56:23 +10:00
Nyall Dawson
d40990e155 [feature][processing] Port Feature Source, Raster, Vector and Mesh Layer parameters to new API 2020-03-29 05:56:23 +10:00
Nyall Dawson
7269d682b3 [FEATURE][processing] Port map layer widget wrapper to new c++ api
This is a test run, after merged I'll port the other similar map layer
parameters (feature source, raster layer, vector layer, etc)
2020-03-28 12:04:43 +10:00
Ivan Ivanov
1dc0800a56 FIX #33874 Turn on/off ALL selected layers with "Space" button 2020-03-27 23:27:46 +02:00
Denis Rouzaud
4fe477f2b4
Merge pull request #35378 from 3nids/qgsexpressiontreeview
move tree view from the expression builder to a dedicated class
2020-03-27 08:22:05 +01:00
Denis Rouzaud
7d17e0baef add missing method 2020-03-27 07:09:38 +01:00
Denis Rouzaud
d97d2f7f0a more dox 2020-03-27 06:47:02 +01:00
Denis Rouzaud
b3259bf39d fix dox 2020-03-27 06:32:58 +01:00
Denis Rouzaud
4fc4bcfbec mark as deprecated 2020-03-27 06:09:13 +01:00
Denis Rouzaud
2b9c8dc019 fix typo and dox 2020-03-26 16:48:39 +01:00
Alessandro Pasotti
ff0b01251d
Merge pull request #35364 from nyalldawson/new_table_panel_prc
Allowing saving outputs direct to more database formats (and other nice stuff)
2020-03-26 16:30:27 +01:00
Denis Rouzaud
ed7c73fb3f add init methods for clarity 2020-03-26 14:55:50 +01:00
Denis Rouzaud
2857896fbd remove non working caching of field values 2020-03-26 14:55:41 +01:00
Denis Rouzaud
bb8bced5d6 move tree view from the expression builder to a dedicated class 2020-03-26 14:55:33 +01:00
signedav
7248c433b3
Merge pull request #35034 from signedav/attradd
Refresh features in Attribute Table on data change
2020-03-26 08:47:36 +01:00
Nyall Dawson
f131355065 Slight improvement in UI for saving to database table - add an
explicit "OK" button next to new table name when shown inline in
processing panel, to make it clear to users how to "lock in"
the new table name
2020-03-26 13:54:38 +10:00
Nyall Dawson
b106e723e2 [processing] Accept drag and dropped paths for output parameter values
from either explorer or browser (if you want to write to an existing
path, it's a great shortcut!)
2020-03-26 11:56:59 +10:00
Nyall Dawson
9d0efd3354 Set widget context for QgsProcessingMapLayerComboBox 2020-03-26 11:55:45 +10:00
Nyall Dawson
f1ca840e31 Make QgsNewDatabaseTableNameWidget a QgsPanelWidget, tweak toolbar size 2020-03-26 04:13:02 +10:00