2384 Commits

Author SHA1 Message Date
David Signer
7c541948f5 extentsChanged deprecated as reloadVisible (private) 2020-03-18 15:48:50 +01:00
David Signer
8562f785cf docs 2020-03-18 15:01:24 +01:00
David Signer
5475cfd18c style and docs 2020-03-16 17:20:07 +01:00
David Signer
00492ca966 filterFeatures functionality in attributetable filter model instead of the widget for re-filtering on main model data changed (e.g. add feature) 2020-03-16 10:51:55 +01:00
David Signer
18dddffeab reload visible filter on dataChange of table model and use the same (renamed) slot (extendsChanged to reloadVisibleChanged 2020-03-16 10:51:55 +01:00
Nyall Dawson
fd65c2d05a Fix mouse handles go out of sync after moving items with cursor keys 2020-03-12 13:14:33 +10:00
Nyall Dawson
1e67ee42fa [FEATURE][processing] Add action to model designer to delete all selected components 2020-03-12 13:14:33 +10:00
Nyall Dawson
a82bd1decd Implement an ugly workaround due to QGraphicsScene lack of event
propagation
2020-03-12 13:14:33 +10:00
Nyall Dawson
4169c7bd68 Improved appearance of resized components 2020-03-12 13:14:33 +10:00
Nyall Dawson
3b61938e24 [FEATURE][processing] Allow interactive resizing of model components
Allows for components to be freely resized via the standard mouse controls
2020-03-12 13:14:33 +10:00
Nyall Dawson
d97f02420e Batch multi item move undo commands 2020-03-12 13:14:33 +10:00
Nyall Dawson
9044acd149 Start work on model designer mouse handles 2020-03-12 13:14:33 +10:00
Nyall Dawson
b7b4ef232a Fix multi item moves, avoid unnecessary scene rebuilds 2020-03-12 13:14:33 +10:00
Nyall Dawson
e3f1c576a9 Snapping api work 2020-03-12 13:14:33 +10:00
Nyall Dawson
b22e669bbd Multi item selection work 2020-03-12 13:14:33 +10:00
Nyall Dawson
bb82c12791 [processing] Start re-working model designer to use view tools
Based heavily on the layout designer approach, which is working well..
2020-03-12 13:14:33 +10:00
Nyall Dawson
4dd598fbb5 Also warn for unsaved changes when opening a model through the model designer 2020-03-11 08:39:54 +10:00
Nyall Dawson
e9c594d388 Make Model Designer window title follow app conventions
Show unsaved changes via * prefix, show model name in title

Also less Python, more c++
2020-03-11 08:39:54 +10:00
Nyall Dawson
e7b5c26696 [FEATURE][processing] Add undo/redo support to model designer
Makes QGIS more forgiving for users!

Sponsored by NRCan
2020-03-11 08:39:54 +10:00
Nyall Dawson
6969db1966 Add API to show empty entries in QgsProviderConnectionComboBox 2020-03-10 19:10:52 +10:00
Sandro Mani
aca8e030bf
Merge pull request #33833 from kadas-albireo/vectorprops
Move QgsVectorLayerProperties and dependencies to GUI
2020-03-09 13:17:00 +01:00
Nyall Dawson
85e1fbed18 Protected->private 2020-03-09 21:04:51 +10:00
Nyall Dawson
35411af6f6 Add new GUI widget QgsDatabaseTableComboBox for selection of
available tables for a specific data connection

(providers must implement the connections API)
2020-03-09 21:04:51 +10:00
Nyall Dawson
e8e13ecb6f Add new GUI widget QgsDatabaseSchemaComboBox for selection of
available schemas for a specific data connection

(providers must implement the connections API)
2020-03-09 21:04:51 +10:00
Nyall Dawson
2bdb0cc27a Add new GUI widget QgsProviderConnectionComboBox for selection of
registered connections for a specific data provider

(providers must implement the connections API)
2020-03-09 21:04:51 +10:00
Sandro Mani
7c79610d64 Update sip bindings 2020-03-09 10:29:34 +01:00
Sandro Mani
84bd5797f7 Move QgsVectorLayerProperties and dependencies to GUI 2020-03-09 10:29:34 +01:00
Nyall Dawson
0b3f7a58c1 Hookup toggle to hide comments from model designer 2020-03-06 18:22:49 +10:00
Nyall Dawson
08b47a496b Fix missing icon, less Python 2020-03-06 18:22:49 +10:00
Nyall Dawson
b84bf68dab Bit less Python 2020-03-06 18:22:49 +10:00
Nyall Dawson
8845b535c5 More c++ ports 2020-03-06 18:22:49 +10:00
Nyall Dawson
df7dd5ba90 More model dialog Python -> c++ ports 2020-03-06 18:22:49 +10:00
Nyall Dawson
a0e6a374eb Port some more model designer Python code to c++ 2020-03-06 18:22:49 +10:00
Nyall Dawson
eefd04cbc1 Start creation of a c++ base class for modeler dialog 2020-03-06 18:22:49 +10:00
Nyall Dawson
266d920d99 Dox++ 2020-03-06 11:56:13 +10:00
Nyall Dawson
0af98f9f5b Nicer comment text appearance 2020-03-06 03:49:16 +10:00
Nyall Dawson
961557dacd UX improvements for comment editing 2020-03-06 03:49:16 +10:00
Nyall Dawson
13fc85d740 [FEATURE][processsing] Add support for comments attached to components
This allows users to create comments attached to model components (inputs,
algorithms or outputs). Comments are shown linked to the associated component,
and can be freely moved around the model.
2020-03-06 03:49:16 +10:00
Alessandro Pasotti
3246a92db8
Merge pull request #34827 from elpaso/parent-form-current-value-2
[feature] Get current parent form values in child forms
2020-03-05 10:51:43 +01:00
Nyall Dawson
70731d82d5 Port most of the remaining ModelerScene code to c++
ModelerScene is now a shell class, implementing the bare minimum
required for older Python API compatibility
2020-03-05 18:55:20 +10:00
Nyall Dawson
9ba699ee1c Port more of modeler scene to c++ 2020-03-05 18:55:20 +10:00
Nyall Dawson
5c44441cd3 Move some modeler scene code to c++, avoid hard link between scene
and dialog
2020-03-05 18:55:20 +10:00
Samweli
51b475f689 added checks for possible null temporal capabilities 2020-03-05 18:41:35 +10:00
Samweli
ccf8a03678 removed duplicate signal 2020-03-05 18:41:35 +10:00
Samweli
2517b566d1 suggested changes from the review 2020-03-05 18:41:35 +10:00
Samweli
b30ccf3289 fixed travis tests 2020-03-05 18:41:35 +10:00
Samweli
6352d6889c added abstract temporal class
updates on tests and abstract temporal class

updates on qgsabstracttemporal sip and tests

update qgsabstracttemporal test

updated docs

moved qgsabstracttemporal class to qgstemporalrangeobject class as per review suggestions

edits per review on qgs map canvas

remove access of private members from qgstemporalrangeobject

updated render context test and fix travis tests

added new temporal property class

added tests for temporal property

added tests for temporal property

added temporal widget ui

temporal support in raster layers, from wms provider

temporal properties in raster layer properties

added abstract temporal class

updates on tests and abstract temporal class

updates on qgsabstracttemporal sip and tests

update qgsabstracttemporal test

updated docs

temporal support in raster layers, from wms provider

update qgsabstracttemporal test

updated docs

moved qgsabstracttemporal class to qgstemporalrangeobject class as per review suggestions

edits per review on qgs map canvas

updated render context test and fix travis tests

added new temporal property class

added new map layer temporal properties sub classes with tests

updates on map layers temporal properties classes

fix travis tests

add read and write xml tests

added abstract temporal class

updates on tests and abstract temporal class

updates on qgsabstracttemporal sip and tests

update qgsabstracttemporal test

updated docs

edits per review on qgs map canvas

temporal properties in raster layer properties

temporal support in raster layers, from wms provider

moved qgsabstracttemporal class to qgstemporalrangeobject class as per review suggestions

edits per review on qgs map canvas

remove access of private members from qgstemporalrangeobject

updated render context test and fix travis tests

added new temporal property class

added new map layer temporal properties sub classes with tests

updated layer times ui

added advanced options in layer time constrains ui

fix for refreshing wms layer after temporal properties update

update on wms-t temporal properties

added support for bi-temporal WMS-T
2020-03-05 18:41:35 +10:00
Matthias Kuhn
923dabd86a
Merge pull request #34797 from lbartoletti/fix_key_conflict_for_close_editing_line
Use a different key sequence for close editing line. Fixes #34793
2020-03-05 08:09:01 +01:00
Alessandro Pasotti
af8a55b64a Code layout 2020-03-04 08:52:52 +01:00
Alessandro Pasotti
195efa42a1 Final touches to the parent form API 2020-03-04 08:52:52 +01:00