8442 Commits

Author SHA1 Message Date
Juergen E. Fischer
6964eb21f6 spelling updates 2021-07-23 08:49:26 +02:00
Nyall Dawson
e28a0b7258 Add flag to QgsProviderSublayerDetails to indicate that the uri
may be a container for other sublayers but that indepth scanning
of the container was skipped
2021-07-23 14:57:56 +10:00
Nyall Dawson
6c2d7bd7c9 Add driver name to QgsProviderSublayerDetails 2021-07-23 14:57:56 +10:00
Nyall Dawson
94417729bc Use proper icon for unknown/collection geometry types, instead
of always using polygon icon
2021-07-22 21:00:30 +10:00
Nyall Dawson
5246257e8a Cleaner API for QgsProviderUtils::sublayerDetailsAreIncomplete,
add flag to ignore unknown geometry types
2021-07-22 14:54:13 +10:00
Alessandro Pasotti
276d1980f8 Address PR comments and add ENUM for widget mode 2021-07-22 10:18:13 +10:00
Alessandro Pasotti
387c403c2f First nail in the coffin of DB Manager
Replace DB Manager legend custom menu action with
C++ implementation for SQL layer
2021-07-22 10:18:13 +10:00
Alessandro Pasotti
f5946a184b Unfinished attempt to use query result widget for SQL layer updates 2021-07-22 10:18:13 +10:00
Sandro Mani
a499a30354 Remove explicit template instantiations 2021-07-22 10:03:07 +10:00
Even Rouault
da41d49c53 Add QgsProcessingAlgorithm::writeFeatureError() to help throw processing exception when addFeature() fails 2021-07-22 06:51:28 +10:00
Andrea Giudiceandrea
deb516d584 Fix typo in QgsMapSettings::visibleExtent() doc 2021-07-21 14:14:46 +10:00
Harrissou Sant-anna
5bbae769d7 Fix QgsPoint code samples 2021-07-21 10:17:37 +10: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
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
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
220bcb0114 Rework QgsMapLayerFactory.createLayer API so that we can specify additional options 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
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
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
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