22220 Commits

Author SHA1 Message Date
Nyall Dawson
3651c8dd73 Refactor out some more postprocessing logic 2023-05-03 18:29:28 +10:00
Nyall Dawson
3d166989cb [processing] Cleanup some post-processing code 2023-05-03 18:29:28 +10:00
Denis Rouzaud
30a641111d
Merge pull request #52847 from 3nids/settings-treewidget
Settings editors
2023-05-02 21:31:35 +02:00
Alexander Bruy
10b02e02ed move expression type enum to qgis.h 2023-05-02 14:00:43 +02:00
Alexander Bruy
d93111ccec [processing] add enum to expression parameter to make it possible
distinguish between native QGIS expressions and point cloud filter
expressions
2023-05-02 14:00:43 +02:00
Alexander Bruy
3ab7530fff
Merge pull request #52959 from alexbruy/pdal-provider-ux
UX improvements for PDAL provider
2023-05-02 13:12:10 +03:00
Germap
7fac476c6f Adjust help for CheckValidity algorithm
Make it clear that GEOS method won't be able to log all errors found per geometry, but only the first one. Followup #49936.
2023-05-02 19:05:21 +10:00
Alexander Bruy
cbc6922fab try to assign 3d renderer to output point cloud layers 2023-05-02 09:42:43 +03:00
Nyall Dawson
d4faecefb9 Prevent attribute form editor widgets from inherting too large
horizontal minimum size

This bug causes editor widgets to inherit a very large minimum width
from the search widget wrapper, regardless of what mode the attribute
form is shown in. The outcome is that when adding/editing features
all widgets have a large minimum width, causing very wide forms
in multi-column setups with a lot of unnecessary edit widget width.

Fix sponsored by NIWA
2023-05-02 14:26:52 +10:00
Nyall Dawson
ab19e8ed32 Add new attribute form container type "Row"
This container always lays out child widgets in a horizontal
row, where the number of columns is automatically determined
by the number of child widgets.

It's useful for creation of compact forms, where no space will
be wasted by assigning extraneous horizontal width to widgets
where the expected values will always be short.

Eg: creating 3 rows with 3, 2, 1 child widgets respectively
results in the layout:

    Attr 1: [...] Attr 2: [...] Attr 3: [...]
    Attr 4: [..........] Attr 5: [..........]
    Attr 6: [...............................]

Without the option of row containers then the all horizontal
rows will have the same number of columns, eg:

    Attr 1: [...] Attr 2: [...] Attr 3: [...]
    Attr 4: [...] Attr 5: [...] Attr 6: [...]

(leaving insufficient horizontal length for attributes 4-6), or

    Attr 1: [..........] Attr 2: [..........]
    Attr 2: [..........] Attr 3: [..........]
    Attr 4: [..........] Attr 5: [..........]
    Attr 6: [..........]

(resulting in wasted horizontal space next to attribute 6, and
an extra row taking up vertical space)

Sponsored by NIWA
2023-05-01 18:39:23 +10:00
Denis Rouzaud
d888ee2a70
use public method 2023-05-01 09:57:09 +02:00
Yoann Quenach de Quivillic
3dcfbe8cc3 Fix QgsSettingsTreeNode constness 2023-05-01 01:47:24 +02:00
Matthias Kuhn
0b898e0f8d
Merge pull request #52841 from YoannQDQ/qgisfunction 2023-04-30 16:48:07 +02:00
Denis Rouzaud
de02e8899c remove useless method 2023-04-30 15:34:32 +02:00
nicogodet
bf93dc6f17 Re-arange code 2023-04-30 09:32:11 +10:00
nicogodet
dd7b8acafb Adapt tests 2023-04-30 09:32:11 +10:00
nicogodet
77ddb28e4b Move creation options to latest arguments 2023-04-30 09:32:11 +10:00
Yoann Quenach de Quivillic
ccb868f626 Harmonize doc 2023-04-29 14:25:11 +02:00
Yoann Quenach de Quivillic
c8bb6419cf Update help text and template 2023-04-29 14:25:11 +02:00
Yoann Quenach de Quivillic
947931ad2b Fix qgsfunction decorator args handling 2023-04-29 14:25:11 +02:00
Denis Rouzaud
feb9b44cc0 sipify 2023-04-27 10:38:48 +02:00
Denis Rouzaud
0b8ef93675 add proxy model to filter the settings tree 2023-04-27 10:35:11 +02:00
Denis Rouzaud
83d735fbcf refactor QgsOptionsDialogHighlighWidget to use it as an interface
by removing the inheritance of QObject, an implementation of QWidget can now also inherit from QgsOptionsDialogHighlighWidget and provide the interface to search/highlight texts
2023-04-27 10:34:02 +02:00
Denis Rouzaud
7498d0994c fix dox 2023-04-27 10:29:09 +02:00
Nyall Dawson
a434d0e7c0 Use enums for attribute form container types instead of bools
Gives flexibility for adding additional container types in future
2023-04-27 12:54:20 +10:00
vcloarec
93b2e27a67 fix cad tool with escape 2023-04-26 15:50:27 -04:00
vcloarec
672121df97 fix add new mesh with cad tool 2023-04-26 15:50:27 -04:00
Vincent Cloarec
004f6d3704
Mesh layer style following dataset group name (#52312)
* copy mesh layer style following dataset group name

* fix typo and sipify

* fix const

* fix version in doc

* fix version in doc
2023-04-26 19:44:28 +00:00
Nyall Dawson
a6dac4299d More super call fixes 2023-04-27 04:39:14 +10:00
Nyall Dawson
60380c1cf8 Use fstring 2023-04-27 04:39:14 +10:00
Nyall Dawson
3492ddbcfa Move layout checking to base class 2023-04-27 04:39:14 +10:00
Nyall Dawson
e2ad92e843 Only append to existing test reports if running under CI 2023-04-27 04:39:14 +10:00
Nyall Dawson
ecab2bfb4f Partially update annotation item test to newer framework 2023-04-27 04:39:14 +10:00
Nyall Dawson
f2878a43e1 Start moving some render check methods to base class 2023-04-27 04:39:14 +10:00
Nyall Dawson
b290179951 Fix monkey patching when comment contains " 2023-04-27 03:58:30 +10:00
Nyall Dawson
9e552967f2 Promote attribute editor enums to enum class, move to Qgis 2023-04-27 03:58:30 +10:00
Matthias Kuhn
69a2bb81f9
Merge pull request #52321 from YoannQDQ/clear-recent-crs 2023-04-26 10:34:03 +02:00
Nyall Dawson
346c77b04e Spelling 2023-04-26 16:52:36 +10:00
Nyall Dawson
29b3919558 Double clicking only expands/contracts history nodes which
don't handle double-clicks in another way
2023-04-26 16:52:36 +10:00
Nyall Dawson
953e3de749 Store full processing execution log in history entries 2023-04-26 16:52:36 +10:00
Etienne Trimaille
8f33d5ee70 Upgrade DBManager and Grass plugins to Python 3.X 2023-04-26 08:24:00 +10:00
Etienne Trimaille
9e8364a271
Python - Use some format function for translations 2023-04-25 09:43:54 +02:00
Ismail Sunni
01e7a71ed0 Fix return type issue. 2023-04-25 07:05:11 +10:00
Ismail Sunni
4373ac68cd Add invert selection tool on refactor fields processing fix #52816 2023-04-25 07:05:11 +10:00
Alexander Bruy
1c1e46029a address review 2023-04-25 05:41:04 +10:00
Alexander Bruy
a44bfaceef use threads number setting in algorithms which support multiple CPUs 2023-04-25 05:41:04 +10:00
Alexander Bruy
0f2d2bc360 allow changing number of threads through the algorithm settings panel 2023-04-25 05:41:04 +10:00
Yoann Quenach de Quivillic
b2b68b5ce2 Update src/gui/qgsmaptool.h
Co-authored-by: Nyall Dawson <nyall.dawson@gmail.com>
2023-04-25 05:36:30 +10:00
Yoann Quenach de Quivillic
8e5cb7da09 Add reactivated signal 2023-04-25 05:36:30 +10:00
Yoann Quenach de Quivillic
a61463a848 Do not deactivate / activate mapTool when it is already active 2023-04-25 05:36:30 +10:00