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
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
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
nirvn
d10695cf77
QMap::unite is gone in Qt6, use QMultiMap
2021-07-17 16:59:20 +07:00
nirvn
2006c975f4
Migrate remaining uses of QRegExp in src/core
2021-07-16 11:01:42 +10:00
Nyall Dawson
bb354708da
Only try to query sublayers for providers which support them
...
Fixes loading other layer types from browser
2021-07-15 19:23:34 +10:00
Nyall Dawson
1f31a38dd3
Add API to QgsProjectStorage to determine matching project storage
...
implementation from a file path
2021-07-15 16:51:06 +10:00
Mathieu Pellerin
3a07af0ef1
Merge pull request #44152 from nirvn/application_regexp
...
Migrate away from QRegExp in the core application class
2021-07-14 23:18:00 +07:00
Mathieu Pellerin
94aa4a4f76
Merge pull request #44137 from nirvn/core_regexp_more
...
[qt6] A few more QRegExp aurevoirs in src/core
2021-07-14 20:37:02 +07:00
Nedjima Belgacem
298a4514ec
Make 2d terrain rendering optional ( #43489 )
...
First part of https://github.com/qgis/QGIS-Enhancement-Proposals/issues/215
2021-07-14 10:09:48 +02:00
nirvn
f55fe4e1fb
Add note
2021-07-14 13:19:50 +07:00
Matthias Kuhn
071e4b585d
Merge pull request #44132 from m-kuhn/respect_screen_dpi
...
Allow using physical DPI for map canvas
2021-07-14 08:02:42 +02:00
Vincent Cloarec
c09443a056
[mesh] mesh frame editing part 3 - Edit mesh map tool ( #44037 )
...
[mesh] [feature] add mesh map tool to CRUD/digitize actions for mesh frame (vertices, faces)
2021-07-14 08:00:55 +02:00
nirvn
a580968983
Remove QgsApplication::shortNameRegExp altogether, document API break
2021-07-14 10:36:47 +07:00
nirvn
358a4af06a
Better and faster strategy: replicate QRegExp::escape code
2021-07-14 10:28:41 +07:00
nirvn
03d99a4202
Migrate away from QRegExp in the core application class
2021-07-14 08:42:36 +07:00
Matthias Kuhn
598e2bd31f
physical dpi is only available after showEvent
2021-07-13 21:15:33 +02:00
Mathieu Pellerin
557752ff73
Merge pull request #44138 from nirvn/core_regexp_more_more
...
[qt6] Move string utils and {vector,raster} layer class away from QRegExp
2021-07-13 20:54:16 +07:00
nirvn
0847f55bad
[qt6] Mirate string utils class away from QRegExp
2021-07-13 14:13:37 +07:00
Vincent Cloarec
494735a482
create new mesh layer ( #43873 )
...
[mesh] [feature] adds a option to create blank/scratch mesh frame (vertices/faces)
2021-07-13 07:37:46 +02:00
Nyall Dawson
59f7b4cc07
Remove duplicate code
2021-07-13 06:39:11 +10:00
Nyall Dawson
61c842165d
Commit missed file
2021-07-13 06:39:11 +10:00
Nyall Dawson
220bcb0114
Rework QgsMapLayerFactory.createLayer API so that we can specify additional options
2021-07-13 06:39:11 +10:00
Nyall Dawson
5cb167b013
Fix warning
2021-07-13 06:39:11 +10:00
Nyall Dawson
d44412ddb8
Can't monkey patch from core into gui classes
2021-07-13 06:39:11 +10:00
Nyall Dawson
d0beaae3a4
Move QgsSublayersDialog::PromptMode enum to Qgis and rename
2021-07-13 06:39:11 +10:00
Nyall Dawson
d44f31000d
Start depreating
2021-07-13 06:39:11 +10:00
Nyall Dawson
9796aa3b88
Create new QgsProviderSublayersDialog class
...
Based on QgsProviderSublayerDetails, this new dialog nicely handles
mixed layer type files (e.g. mixed vector/raster/mesh layer formats).
It also:
- Resolves geometry types in a background thread, to avoid lengthy
application hangs whenever a full table scan is required to determine
available geometry types
- Shows a handy search filter box for filtering sublayers to matching
strings
- Shows icons representing sublayer types
- Has an interactive label showing the file path which can be clicked
to open a file explorer focused on the file
2021-07-13 06:39:11 +10:00
Nyall Dawson
3ff67896a5
Consider sublayers with unknown counts as incomplete details
2021-07-13 06:39:11 +10:00
Nyall Dawson
e685ad00b3
Add methods to return QgsProviderSublayerDetails corresponding
...
to QModelIndex
2021-07-13 06:39:11 +10:00
Nyall Dawson
c04140443b
Equality operator for QgsProviderSublayerModel.NonLayerItem
2021-07-13 06:39:11 +10:00
Matthias Kuhn
49a9fec864
missing sip file
2021-07-12 22:26:15 +02:00
Matthias Kuhn
a4a100e376
sip_include
2021-07-12 18:32:00 +02:00
Damiano Lombardi
18bd5833bb
Moved settingsRespectScreenDPI to new settings registry gui
2021-07-12 15:51:30 +02:00
Alessandro Pasotti
91370a9082
Merge pull request #44051 from elpaso/connections-api-results-widget
...
Connections api results widget
2021-07-10 15:30:37 +02:00
Sandro Mani
3abd80cffa
Update qgspathresolver.sip.in
2021-07-10 06:35:19 +10:00
Matthias Kuhn
f0838764b8
Merge pull request #43854 from gacarrillor/addtopologicalpoints_results
...
Fix return value of addTopologicalPoints(QgsGeometry)
2021-07-08 17:34:25 +02:00
mhugent
011478ea06
Merge pull request #43838 from mhugent/annotation_inline_html
...
Feature: Annotation item inline html
2021-07-08 09:56:04 +02:00
Mathieu Pellerin
8a4683f737
[feature][exiftools] Implement tags reading, allow for individual tag value read ( #44076 )
2021-07-08 14:13:25 +07:00
Alessandro Pasotti
aaff7cebf3
Merge pull request #43520 from Gustry/version
...
[CLI] Add --version and -v to know QGIS version
2021-07-07 15:25:40 +02:00
Alessandro Pasotti
878b2436a5
Address PR comments - part 2
2021-07-07 12:43:14 +02:00
Sandro Mani
d3d75a1d8d
Merge pull request #43871 from kadas-albireo/extent_for_scale
...
Add QgsMapSettings::computeExtentForScale and QgsMapSettings::computeScaleForExtent
2021-07-07 11:01:30 +02:00
nirvn
09760f07f0
Preserve python compatibility
2021-07-07 13:46:11 +07:00
nirvn
4b52b7be7f
Move QgsExifTools utility class to core
2021-07-07 13:46:11 +07:00
Alessandro Pasotti
78a42cf7e8
Address PR comments
2021-07-06 21:02:25 +02:00
Alessandro Pasotti
7460e4f777
Doxy
2021-07-06 21:00:55 +02:00