2454 Commits

Author SHA1 Message Date
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
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
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
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
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
3d6e4963f6 [processing] Move base class of ParametersPanel to c++ 2020-03-25 09:42:17 +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
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
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
Matthias Kuhn
01c7cb1814
Merge pull request #34928 from gacarrillor/adjust_run_button_status_in_alg_dialog
[processing][needs-docs] Adjust status of controls executing an algorithm dialog
2020-03-18 14:42:52 +01:00
Nyall Dawson
7614de451e [processing] Constrain model item resizing to prevent items being resized
to a too small size
2020-03-18 15:00:30 +10:00
Julien Cabieces
1c9e032beb Fixes crash when displaying relation editor 2020-03-17 18:03:23 +01:00
Matthias Kuhn
2770e2c327
Merge pull request #35035 from m-kuhn/value_relation_description
Add description to value relation widget
2020-03-17 15:32:46 +01:00
Nyall Dawson
06e663eccd Pixel perfect model rendering 2020-03-17 19:40:01 +10:00
Alessandro Pasotti
d83da3cf8d
Merge pull request #34997 from suricactus/expression_edit
Add ability to edit, import and export user expressions
2020-03-17 10:31:09 +01:00
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
David Signer
5475cfd18c style and docs 2020-03-16 17:20:07 +01: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
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