72243 Commits

Author SHA1 Message Date
Nyall Dawson
81b934d9d1 Rework API and improve memory handling of graph objects
Instead of QgsGraphBuilder::graph() taking the ownership of the graph
and leaving the QgsGraphBuilder in an unpredictable state, add an
explicit "takeGraph" method which takes the existing graph and
make the existing "graph" method just return a copy of the graph.

Also fix corresponding memory leaks in network analysis processing
algorithms.

Fixes #44079
2021-07-20 13:54:46 +10:00
Nyall Dawson
9328953aa7 [layouts] Ensures that 1:1 zoom level on layout designer accounts
for actual screen dpi, and responds correctly when window is dragged
between screens
2021-07-20 11:21:29 +10:00
Mathieu Pellerin
d8461a1537 Fix QgsFontUtils test 2021-07-20 04:12:31 +10:00
nirvn
f2502f7b08 Fix mesh editor test (remove deprecated QList::toSet()) 2021-07-20 04:12:31 +10:00
nirvn
1fdba5d341 Reactivate tests for the Qt6 build 2021-07-20 04:12:31 +10:00
nirvn
223c5fbfbe Remove deprecated QTest flag to unlock compilation against qt6 2021-07-20 04:12:31 +10:00
Jürgen Fischer
aae73a7002
Update 10_bug_report.md
the community is the project.
2021-07-19 17:35:40 +02:00
Nyall Dawson
98cbabb5f3 Fix qt6 build 2021-07-19 21:27:12 +07:00
Peter Petrik
9b864c5463
fix qt6 compilation after mesh editing PR (#44240) 2021-07-19 13:31:00 +02:00
Alessandro Pasotti
ff54bd5380
Merge pull request #43831 from elpaso/localization-more-fixes
GUI localization tweaks
2021-07-19 10:46:41 +02:00
Nyall Dawson
1436a81b31 Truncate filter from middle of string 2021-07-19 17:01:07 +10:00
Nyall Dawson
73f9020399 Truncate very long filter strings in tooltip
Fixes #44217
2021-07-19 17:01:07 +10:00
Vincent Cloarec
8cd8bec5f2
[mesh] mesh frame editing part 3 - Advanced editing (#44169)
[mesh] [feature] Delaunay triangulation and face refinement for advanced mesh editing tools
2021-07-19 08:21:31 +02:00
Nyall Dawson
4bb7f82f2e [sipify] Add check that doxygen //!< command is only used for enum
documentation

sipify can't handle it in other contexts
2021-07-19 16:05:53 +10:00
Nyall Dawson
2724315a99 Move enums from QgsVectorLayer to Qgis, promote to enum classes,
and fix redundant QgsVectorLayer.VertexMarkerType enum
2021-07-19 14:02:39 +10:00
Nyall Dawson
cc17c9049d Don't prompt multiple times to add vector/raster sublayers from a gpkg
dragged from the browser

Instead just prompt once with a unified dialog showing all sublayers
2021-07-19 14:01:24 +10:00
nirvn
2ac66726cb Add icon for curved callouts
(thanks to @DelazJ for the original commit)
2021-07-19 10:34:46 +07:00
Nyall Dawson
cfbc2279a7 Fix sublayer group name handling for sources which are directories
not files (e.g. .gdb databases)

Fixes #44181
2021-07-19 12:26:45 +10:00
Nyall Dawson
0dc48700fb Update src/ui/mesh/qgsnewmeshlayerdialogbase.ui 2021-07-19 11:37:46 +10:00
Harrissou Sant-anna
f0de9c959f Fix strings in GUI and the tabstop order 2021-07-19 11:37:46 +10:00
Harrissou Sant-anna
4934f7fcf9 Connect to documentation 2021-07-19 11:37:46 +10:00
Harrissou Sant-anna
776592f34e Ensure New Mesh layer GUI behaves correctly when it's resized
and remember latest geometry
2021-07-19 11:37:46 +10:00
nirvn
6639d7372d Enable and fix Qt6 build CI test 2021-07-19 09:26:56 +10:00
Harrissou Sant-anna
0a4c5ba0ee Avoid line and point shading widget shrink 2021-07-19 09:26:33 +10:00
Harrissou Sant-anna
3924aad79f Allow to resize the vector 3D Map view properties tab
adding a scrollbar to single symbol widget to control its height
2021-07-19 09:26:33 +10:00
Harrissou Sant-anna
bb0f9b22ee Misc fixes: tabstop, vertical spacer and dialog size 2021-07-19 09:25:40 +10:00
Harrissou Sant-anna
877dc9309b Allow Mesh 3D view properties dialog resize 2021-07-19 09:25:40 +10:00
Harrissou Sant-anna
b6c820e262 Reorder Mesh vector 3D vertical scaling settings 2021-07-19 09:25:40 +10:00
Harrissou Sant-anna
6c3a84f8a7 Harmonize Min and Max values load button in mesh properties 2021-07-19 09:25:40 +10:00
Harrissou Sant-anna
a8196f5fb8 Set color widget minimal size to avoid they shrink while resizing dialog 2021-07-19 09:25:40 +10:00
Harrissou Sant-anna
ac2b746f16 Name mesh symbology tabs 2021-07-19 09:25:40 +10:00
nirvn
2cab558e40 Fix a couple of include issues when compiling against qt6 2021-07-18 15:36:03 +07:00
nirvn
744ef3f59f [afs] Work around compiler complaining about std::min type mismatch on qt6 2021-07-18 15:18:49 +07:00
nirvn
091b93b89e Work around compilier complaining about std::min( long long, int ) 2021-07-18 14:56:25 +07:00
nirvn
3fd4fe90fe [qt6] qRegisterMetaTypeStreamOperators, QMetaType::registerEqualsComparator, and
QMetaType::registerComparators have been removed in Qt6
2021-07-18 17:27:21 +10:00
Nyall Dawson
d16d76155e Fix dock widget sizes are not correctly restored
Because of upstream regression https://bugreports.qt.io/browse/QTBUG-89034
we have to hack around this bug downstream

Fixes #44186
2021-07-18 16:01:25 +10:00
Mathieu Pellerin
55485d38cf Add missing CORE_EXPORT in qgsinterval.h 2021-07-18 15:59:17 +10:00
Mathieu Pellerin
58497b91a1 [spatialite] Fix compilation against qt6 2021-07-18 15:59:17 +10:00
Matthias Kuhn
2e6b93bff8
We cannot provide a default value through workflow_dispatch 2021-07-18 07:11:41 +02:00
Mathieu Pellerin
9f816de054
Merge pull request #44219 from nirvn/qt6_11
[qt6] Fix compilation of gpx and db2 providers against qt6
2021-07-18 11:06:36 +07:00
Mathieu Pellerin
194dac6353 [db2] Fix compilation against qt6 2021-07-18 10:07:45 +07:00
Mathieu Pellerin
cdce3773ae [gpx] Fix compilation against qt6 2021-07-18 10:07:34 +07:00
Mathieu Pellerin
85106507cb
Merge pull request #44211 from nirvn/qt6_9
[qt6] Insure delimited text provider compiles against qt6
2021-07-18 08:20:45 +07:00
Alessandro Pasotti
9c5f40fd58
Merge pull request #5 from DelazJ/localisation-more-fixes
Some more tabstop fixes
2021-07-17 18:36:32 +02:00
Harrissou Sant-anna
0d2094d70b Add tooltip to min/max load button 2021-07-17 16:04:59 +02:00
Harrissou Sant-anna
0689362b66 Some more tabstop fixes 2021-07-17 16:00:47 +02:00
Mathieu Pellerin
df5f7991d9 [delimitedtext] Remove use of QTextStream in favor of QTextCodec for decoding
(needed to compile against qt6)
2021-07-17 19:10:57 +07:00
Mathieu Pellerin
a2e8fbd53e [delimitedtext] Fix compilation against qt6 2021-07-17 19:10:32 +07:00
nirvn
d10695cf77 QMap::unite is gone in Qt6, use QMultiMap 2021-07-17 16:59:20 +07:00
nirvn
79ae6db269 Remove problematic curly brace initializations in QgsExpressionUtils class 2021-07-17 16:57:05 +07:00