2400 Commits

Author SHA1 Message Date
Nyall Dawson
517aa9667b [processing] Port DestinationSelectionPanel to c++
This is basically a 1:1 port (+some fixes relating to incorrect signal
emissions and many more tests)
2020-03-17 07:24:40 +10:00
nirvn
35c11288a0 Make use of nice new tech for the new spatialite layer dialog:
- Use a provider connection combo box to list connections
- Use database provider connection functions to store a
new connection
2020-03-16 21:15:18 +07:00
Nyall Dawson
3966d3f06e Wrap QgsNewDatabaseTableNameWidget in a dialog class for convenience 2020-03-16 19:42:02 +10:00
Nyall Dawson
30fbf24f8f Add API to show empty entries in QgsDatabaseTableComboBox 2020-03-14 16:57:14 +10:00
Nyall Dawson
cf310c5d45 Add API to show empty entries in QgsDatabaseSchemaComboBox 2020-03-14 16:57:14 +10:00
Nyall Dawson
059e29328f Move raster temporal properties to new tab, fix inconsistent margins
in all raster layer properties pages, and make clicking the temporal
indicator icon go straight to the layer's temporal property page
2020-03-13 18:06:02 +10:00
Nyall Dawson
9063b37113 Remove unused files 2020-03-13 18:06:02 +10:00
Nyall Dawson
c040952354 Minor refactor of temporal controller dock widget
- Split widget from dock widget for flexibility
- Move dock widget class to app and only expose QgsTemporalControllWidget in public api
2020-03-13 18:06:02 +10:00
Alessandro Pasotti
6b3679b2ef
Merge pull request #34968 from elpaso/tablewidget
[api] New database table name widget
2020-03-12 21:35:54 +01:00
Nyall Dawson
6f92b12f3d Cleanup raster temporal capabilities/layer classes 2020-03-12 20:06:25 +10:00
Nyall Dawson
5edaef84c5 Cleanup temporal controller dock widget code 2020-03-12 20:06:25 +10:00
Nyall Dawson
66e8ef298a Cleanup QgsTemporalMapSettingsWidget/dialog, hide from stable API/python 2020-03-12 20:06:25 +10:00
Samweli
dd129c1aef updates on temporal animation logic 2020-03-12 20:06:25 +10:00
Samweli
99129fe4a8 updates on the temporal controller navigation logic 2020-03-12 20:06:25 +10:00
Samweli
3e06d0a696 new temporal map settings dialog 2020-03-12 20:06:25 +10:00
Samweli
d446c0a223 formatted wms provider code 2020-03-12 20:06:25 +10:00
Samweli
c119ea5518 logic for temporal navigation vcr widget 2020-03-12 20:06:25 +10:00
Alessandro Pasotti
c0c3326f90 Add refresh button 2020-03-12 09:44:20 +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
Alessandro Pasotti
016f7ed43b New DB table widget: new tests and fixes for file-based DBS 2020-03-11 17:31:50 +01: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
Alessandro Pasotti
b42bdddd87 New database table widget new signals & tests 2020-03-10 14:58:10 +01:00
Nyall Dawson
6969db1966 Add API to show empty entries in QgsProviderConnectionComboBox 2020-03-10 19:10:52 +10:00
Alessandro Pasotti
700a411285 QgsNewDatabaseTableNameWidget implementation (WIP) 2020-03-10 08:12:36 +01: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