16962 Commits

Author SHA1 Message Date
Ivan Ivanov
0a1d22574a Fix unwanted automatic fill of all algorithms when there is no input in the locator 2020-03-28 19:42:42 +10:00
Nyall Dawson
2856e7d2a9 Somedays Travis is just calling out to be punched in the face... 2020-03-28 12:04:43 +10:00
Nyall Dawson
c92b6fba86 Indentation 2020-03-28 12:04:43 +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
Nyall Dawson
3d30471731 [processing] When running in a batch mode, move the layer adding
actions to the "Autofill" menu

This adds more UI consistency, as currently there's a disconnect
from the autofill options available via the Autofill buttons
vs some options which need to be done from the first rows "..."
button
2020-03-28 12:04:43 +10:00
Matthias Kuhn
c81ef4d0df
Merge pull request #35404 from m-kuhn/join_edtiable_cannot_be_cached
[joins] Disable caching if editing is enabled
2020-03-27 13:59:14 +01:00
Matthias Kuhn
acbfb424b8 [joins] Disable caching if editing is enabled
Fixes https://github.com/qgis/QGIS/issues/35403
2020-03-27 10:59:25 +01: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
Alexander Bruy
72404a9038 [processing] use native matrix parameter definition widget 2020-03-27 07:08:42 +10:00
Alexander Bruy
87eefa325e [processing] use native enum parameter definition widget 2020-03-27 07:08:42 +10: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
e68af1e598 remove added method to field formatter registry 2020-03-26 15:08:12 +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
Alexander Bruy
c5841c34fd
Merge pull request #33910 from alexbruy/dbmanager-import-clear
[dbmanager] clear create table dialog on succes (fix #25535)
2020-03-26 15:26:35 +02: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
44ae5a5e1d Fix exception in test 2020-03-26 11:55:45 +10:00
Nyall Dawson
6ac9fca497 [FEATURE][processing] Allow loading non-disk based layers direct from browser for
feature sources, instead of requiring them to be loaded into a project first

This change allows users to directly browse to non disk-based layer sources
for any processing feature source inputs. It allows these inputs to be
taken direct from postgres, sql server, oracle, wfs, afs, etc layers directly
without having to first load them into a project!
2020-03-26 11:55:45 +10:00
Nyall Dawson
9d0efd3354 Set widget context for QgsProcessingMapLayerComboBox 2020-03-26 11:55:45 +10:00
Nyall Dawson
320fecce00 [processing] Add method to encode and decode a combined provider key and uri
to a single string

We need this to allow processing inputs to load non gdal/ogr/mdal sources, such
as being able to directly read postgis layers without loading them into a project first
2020-03-26 11:55:45 +10:00
Alessandro Pasotti
5b965ce704 PyQgis: don't crash on invalid provider
Related to #35354
2020-03-26 10:52:32 +10:00
Ivan Ivanov
6a0ae060bc Added new static QgsFieldModel::fieldToolTipExtended 2020-03-26 09:05:49 +10:00
Ivan Ivanov
050dfce89a FIX #15144 add tooltip on fields in identify window / attribute window / feature form
- added new `QString QgsField::displayType( const bool showConstraints = false )` to unify the display of field types whenever length or precision are present
- added new argument `expression` to `QgsFieldModel::fieldToolTip( const QgsField &field, const QString &expression = QStringLiteral() )`. Now the tooltip shows "<alias> (<field>)\n<type>\n<comment>\n<expression>" with appropriate formatting
- added meaningful field tooltips in the "Identify Results" dialog
- field tooltips show the same content in "Feature Attributes" form, "Attribute Table" and "Identify Tool"

Fixes #15144
2020-03-26 09:05:49 +10:00
Nyall Dawson
f1ca840e31 Make QgsNewDatabaseTableNameWidget a QgsPanelWidget, tweak toolbar size 2020-03-26 04:13:02 +10:00
Nyall Dawson
b1d50c2116 [FEATURE][API] Add interface hooks to allow plugins to register
"development/debugging" tools

These tools appear in a new Development/Debugging Tools dock,
and provide a unified handling and place for these tools in the
UI.

The intention here is that specialised development/debugging tools
will be moved to this common interface, e.g.
- network logger
- first aid style Python local variables inspector
- startup time debugging tools
- layer load and rendering time debugging tools
... ?
2020-03-25 20:03:18 +10:00
Nyall Dawson
bab86e9af3 Start on classes for dev tool widgets and dev tool widget factory 2020-03-25 20:03:18 +10:00
Nyall Dawson
29922e0fa4 Dox 2020-03-25 19:25:40 +10:00
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