89565 Commits

Author SHA1 Message Date
uclaros
d3ce302629 Fix docstrings, thread access macro 2025-01-10 13:36:09 +01:00
uclaros
3e773e798e Point cloud editing part 1 2025-01-10 13:36:09 +01:00
qgis-bot
8cfdb1b99a auto sipify 🍺 2025-01-10 06:56:59 +00:00
Yoann Quenach de Quivillic
dff57c3e02 Apply suggestion from review 2025-01-10 07:54:09 +01:00
Yoann Quenach de Quivillic
0352f51051 Add a small delay before updating the qml preview 2025-01-10 07:54:09 +01:00
Yoann Quenach de Quivillic
c0b65b03bf Add splitter in qml/html/text forms 2025-01-10 07:54:09 +01:00
Yoann Quenach de Quivillic
e96877765c Auto restore form widgets geometry 2025-01-10 07:54:09 +01:00
Yoann Quenach de Quivillic
b9d4575715 Add editingTimeout for QgsCodeEditor 2025-01-10 07:54:09 +01:00
Yoann Quenach de Quivillic
86bd2c5353 Add adjustScrollWidth method 2025-01-10 07:54:09 +01:00
pre-commit-ci[bot]
9e1be4bb53 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2025-01-10 07:51:52 +01:00
Germán Carrillo
8c01754d6d [forms] Address review: allow users to copy widget configuration to clipboard and paste it in the very same field (could be useful as a undo operation after testing intermmediate changes) 2025-01-10 07:51:52 +01:00
Germán Carrillo
d36d904b43 Address review: when attempting to paste a widget config not supported by the target field, let users know (via message bar) why the config was not pasted 2025-01-10 07:51:52 +01:00
Germán Carrillo
ceb516e9d5 Address review, remove QGIS_PROTECT_QOBJECT_THREAD_ACCESS from slots 2025-01-10 07:51:52 +01:00
Germán Carrillo
cc40d73ce0 [form] When copying&pasting form widget configs, make sure field constraints can be both added and removed from the target field 2025-01-10 07:51:52 +01:00
Germán Carrillo
13b22b2169 [form] Enable copy&paste of widget display section for a DnD Designer layout; since we only update GUI widgets (and don't automatically store pasted settings into tree item data nor in the field settings themselves), we've added handy methods to edit them 2025-01-10 07:51:52 +01:00
Germán Carrillo
713ca72e2c [form] Make sure editor widget gets the pasted config by introducing a forceWidgetRefresh param and passing it as true when pasting; note we've respected the previous behavior (i.e., other calls still don't force a refresh) because it seems to be handy to switch between editor widget types (via GUI) without losing the config 2025-01-10 07:51:52 +01:00
Germán Carrillo
9f27f75e4f [form] Adjust code and comments to match available widget type supported for copy&paste (i.e., Fields) 2025-01-10 07:51:52 +01:00
Germán Carrillo
da111b7f4a [form] Paste form configuration from clipboard 2025-01-10 07:51:52 +01:00
Germán Carrillo
532cef4b64 [form] Introduce context menu for available form fields and offer copy and paste configuration actions: copy form config to clipboard and paste form config from clipboard (partial) 2025-01-10 07:51:52 +01:00
Even Rouault
87b8299686 qgsvectorlayer.h: move a documentation section to the appropriate place
Cf https://lists.osgeo.org/pipermail/qgis-developer/2025-January/067278.html
2025-01-09 15:20:24 +01:00
Alessandro Pasotti
0984ab8d9b
Merge pull request #60058 from ptitjano/wms-scale-denominator-format
qgswmsgetcapabilities: Use float format for min/max scale parameters
2025-01-09 09:39:13 +01:00
Alessandro Pasotti
1b2e33e842
Merge pull request #60081 from JanCaha/fix-postgreraster-grass-provider
Allow postgresraster layers as grass processing tools input
2025-01-09 08:43:32 +01:00
Denis Rouzaud
920cc5d5c0
fix nodata value in virtual raster layers (#60084) 2025-01-09 08:30:35 +01:00
Jan Caha
374f2a0e59 tests for postgreraster provider in grass algorithms 2025-01-08 17:46:21 +01:00
Jean Felder
183d1cee3e
qgswmsgetcapabilities: Use float format for min/max scale parameters
`MinScaleDenominator` and `MaxScaleDenominator` string are created
from a `QString::number` call with the default parameters. In that
case, the most concise format is used. This can result in the
scientific notation being used for very big or small numbers.

With this change, these parameters are now always displayed in a float
format. Reasons for this change:
- this might prevent a loss of precision for very small or big numbers
- this output is not supposed to be human readable so it does not
 matter if is not concise
- this is the logic used by a lot of WMS servers, for example arcgis
 server
2025-01-08 17:37:05 +01:00
qgis-bot
9e2efff928 auto sipify 🍺 2025-01-08 13:11:01 +00:00
Jan Caha
67bc6af0d5
Mesh editing delaunay refinement (#59560)
* add function delaunayConditionForEdge()

* undo command with delaunay refinement

* add delaunay refinement action

* add menu to button

* sipify

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* fix merge issues

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* access widget in test to directly change selected  value

* add tests

* fix docstring

Co-authored-by: Stefanos Natsis <uclaros@gmail.com>

* remove pass by reference

Co-authored-by: Stefanos Natsis <uclaros@gmail.com>

* pass by reference

Co-authored-by: Stefanos Natsis <uclaros@gmail.com>

* fix label, add tooltip

* avoid brute forcing through faces, use review suggestion instead

* add pass by reference

* sipify

* remove leftover

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Stefanos Natsis <uclaros@gmail.com>
2025-01-08 15:08:11 +02:00
Jan Caha
63524b16e7 fix postgresraster provider in grass algorithm r.in.gdal 2025-01-08 13:02:30 +01:00
qgis-bot
33bb9d5fb4 auto sipify 🍺 2025-01-08 11:54:28 +00:00
pre-commit-ci[bot]
cee488bf4b [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2025-01-08 12:51:39 +01:00
uclaros
665d61f156 default to not skip 3d layers 2025-01-08 12:51:39 +01:00
uclaros
c93b51cf28 fix docstring 2025-01-08 12:51:39 +01:00
uclaros
f76c3e1e9d Revert, use a new struct as parameter 2025-01-08 12:51:39 +01:00
uclaros
786dca61b3 Don't identify 3d layers when clicking the terrain 2025-01-08 12:51:39 +01:00
David Koňařík
fcaba8aaae Fix loading remote EPT point clouds 2025-01-08 12:43:54 +01:00
David Koňařík
9e1e5cce7f Load COPC QGIS statistics over HTTP 2025-01-08 12:43:54 +01:00
qgis-bot
7ed067af03 auto sipify 🍺 2025-01-08 11:43:25 +00:00
Withalion
2a8cd537fa Fix issues introduced by PointCloudIndex refactor 2025-01-08 12:40:34 +01:00
Withalion
9f773aa96b Fix to more descriptive test data naming 2025-01-08 12:40:34 +01:00
Withalion
ad1475e735 Add unit tests & fix some review issues 2025-01-08 12:40:34 +01:00
Withalion
057402a895 Fix review issues round 2 2025-01-08 12:40:34 +01:00
Withalion
2bed2b7c3c Fix review issues 2025-01-08 12:40:34 +01:00
Withalion
1d3f3bbb21 Remake overview vpc options 2025-01-08 12:40:34 +01:00
Withalion
efa8912b0b Add option to change between VPC overview and extends 2025-01-08 12:40:34 +01:00
Withalion
a0fb608f69 Implement virtual point cloud overviews in 2D
Load overview if it exists either by ref from vpc file or look for
overview file.
Render overview instead of extends by default when zoomed out.
2025-01-08 12:40:34 +01:00
Jacky Volpes
c45551b26e
Fix boolean filtering in QGIS expressions with WFS layers (#60075)
PR #56369 introduced a regression for WFS layers, because stopping using
'false' and 'true' strings to compare with boolean fields in qgis
expressions, and forcing to use the keywords false and true, it
conflicted with the internal SQLite cache database of WFS layers.

This PR fixes it by storing internal boolean in SQLite cache database in
the right form compatible with QGIS internal functions (i.e. storing '0'
and '1' strings instead of 'true' and 'false' strings).
2025-01-07 20:20:04 +01:00
Julien Cabieces
8e7781d4d9
Merge pull request #60073 from nicogodet/add-warning-pyqt5to6
[pyqt5to6] Add warning if PyQt5 if found
2025-01-07 16:14:39 +01:00
Julien Cabieces
31b18d8891
Merge pull request #60068 from hxbb00/hxbb00-fix-qgsogrproviderconnection-memory-leaks
Fixing qgsogrproviderconnection memory leaks
2025-01-07 16:13:31 +01:00
Nicolas Godet
9515c1ac29 [pyqt5to6] Add warning if PyQt5 if found 2025-01-07 14:22:08 +01:00
hxbb00
767ed0e711
Remove manually released resources 2025-01-07 20:45:04 +08:00