Alexander Bruy
89ddbc3863
fix typos, add Q_DECL_DEPRECATED
2023-04-07 14:00:05 +03:00
Alexander Bruy
1f77406f2d
[processing] new parameter type for point cloud attributes
2023-04-03 19:47:45 +03:00
Alexander Bruy
dc77709f69
use dummy QgsPointCloudAttributeCollection with attribute names only if
...
there is no index for a point cloud file
2023-04-06 18:20:45 +03:00
Alexander Bruy
3dfa397c4e
add method to list available pointcloud attribute names without the need
...
to index point cloud first
2023-04-06 14:17:21 +03:00
Nyall Dawson
2e7b0dd4a0
Deprecated unused, not-useful QgsVectorDataProvider::palAttributeIndexNames
2023-04-06 17:18:05 +10:00
Nyall Dawson
0bc7bf5a79
Move postgres relkind enum to Qgis
...
Avoids having to include qgspostgresprovider header in a bunch
of non-provider related files
2023-04-06 17:18:05 +10:00
Nyall Dawson
492beeae6d
Improve docs
2023-04-06 11:57:58 +10:00
Nyall Dawson
a2b3a0c642
Fix layout legend layer title not immediately updating
...
Fixes #52261
2023-04-03 18:17:03 +10:00
Nyall Dawson
fd11e0b45d
Add file filter handling for vector tile layers to QgsProviderMetadata
...
And move QgsProviderMetadata.FilterType to Qgis
2023-04-02 20:04:02 +10:00
Nyall Dawson
cc2d032055
Add DistanceUnit value for inches
2023-04-02 06:01:48 +10:00
Mathieu Pellerin
56e33a9fb6
[sensors] Add sensor error reporting capability
2023-04-01 16:59:55 +07:00
Nyall Dawson
deb12464b5
Add repr for layer tree legend nodes
2023-03-31 14:22:44 +10:00
Nyall Dawson
2b2975817d
Promote some label flags to enum class, move to Qgis
2023-03-31 13:17:25 +10:00
Nyall Dawson
fbe7c7fbe5
Add api for offsetting text from line
2023-03-31 13:17:25 +10:00
Nyall Dawson
cd3a1bf237
[api] Add text-along-line annotation item type
...
This annotation item renders curved text along a linestring
2023-03-31 13:17:25 +10:00
Nyall Dawson
50c76929e1
Followup 30700f1, ensure links to Qgis members are set in docstrings
2023-03-31 10:46:24 +10:00
Alexey Karandashev
30700f1ef1
Fix GeometryType in documentation:
...
QgsWkbTypes::GeometryType to Qgis::GeometryType
and QgsWkbTypes::<geometry>Geometry to Qgis::GeometryType::<geometry>
2023-03-31 10:28:36 +10:00
Alexander Bruy
3104c10ad3
do not index input point cloud layers in pdal algorithms
2023-03-30 09:38:39 +02:00
Mathieu Pellerin
be99a120eb
Merge pull request #52376 from nirvn/sensors_framework_3
...
Sensors GUI registry and configuration widgets
2023-03-30 13:16:48 +07:00
Mathieu Pellerin
441976171f
[layouts] Use QPdfWriter to export layouts to PDF
2023-03-30 12:25:46 +07:00
Mathieu Pellerin
f2b775177b
[sensors] Fix building when WITH_SERIALPORT is false
2023-03-30 10:39:43 +07:00
Yoann Quenach de Quivillic
33863ceace
Apply suggestions from code review
2023-03-30 08:33:39 +10:00
Yoann Quenach de Quivillic
7ea839bd58
Add rotation in QgsBookmarks
2023-03-30 08:33:39 +10:00
Yoann Quenach de Quivillic
c5e1ca5249
Add missing comparison operators
2023-03-30 08:22:36 +10:00
Alexander Bruy
0325cf0c30
[processing] add layer options flag enum
...
This enum can be used in the QgsProcessingUtils::mapLayerFromString()
and parameterAsPointCloudLayer() calls to control layer loading, e.g.
skipping index generation or not applying default style, etc.
2023-03-29 06:06:09 +10:00
Mathieu Pellerin
346abae549
Merge pull request #52329 from nirvn/sensors_framework_2
...
Sensor options panel within the project properties dialog
2023-03-28 15:34:21 +07:00
Nyall Dawson
107e206ccb
Expand documentation
2023-03-27 20:58:08 +10:00
Nyall Dawson
95786c347d
Add QgsTextRenderer method to render text along a line/curved path
2023-03-27 20:58:08 +10:00
Nyall Dawson
856f626722
[layouts] When legend filtering is enabled for multiple maps,
...
ensure that the visible layers for each map is correctly considered
when determining what symbols are overall visible
AKA make multiple map filtering work nicely alongside map themes
2023-03-26 20:21:56 +10:00
Nyall Dawson
030c4f9208
Deprecate confusing old legend filtering API
2023-03-26 20:21:56 +10:00
Nyall Dawson
1742934be5
Add more flexible/understandable api for setting layer tree legend filters
...
And update existing broken tests which are incorrectly showing
symbols which should not be visible in the legend
2023-03-26 20:21:56 +10:00
Mathieu Pellerin
99f8005d6b
[sensors] Add a sensor model class
2023-03-26 11:21:19 +07:00
Mathieu Pellerin
d2b117a3c8
[sensors] Brand new sensors framework (manager, registry, sensor types)
2023-03-24 15:28:47 +07:00
Nyall Dawson
5bd4648a05
Update since
2023-03-24 11:11:46 +10:00
Nyall Dawson
d37c0b5ce3
Ensure custom field metadata properties can be set/accessed from Python
2023-03-24 11:11:46 +10:00
Nyall Dawson
a87db9c91c
Add capacity for storing additional metadata/properties in QgsField
...
This adds the API framework for storing additional, semi-structured
properties inside QgsField objects. The intention is that strong
field-type specific properties can be stored.
Eg for a geometry field type coming from the postgres provider
the metadata can be used to store the associated CRS and WKB types
so that clients can be aware of the correct format required for
geometries stored in that field. Instead of cluttering the QgsField
API with specific getters/setters for properties like crs(), wkbType(),
etc which only apply for a certain field type, the metadata map
approach helps us keep the API nice and slim.
The API has been designed to follow the approach used by various
Qt objects (such as QTextFormat) where a preset set of keys
are exposed as an enum, but additional ones can be used for
custom property storage. This allows for a more structured
use of properties with conventions which apply across different
providers (as opposed to a free-form string key approach).
Refs #49380
2023-03-24 11:11:46 +10:00
Alexander Bruy
26e8b56abf
add information algorithm
2023-03-22 16:04:01 +01:00
Nyall Dawson
fa22256717
Allow temporary folder location to be overridden through
...
QgsProcessingContext
2023-03-21 03:50:08 +10:00
Nyall Dawson
30598b9ad9
Pass QgsProcessingContext on to all processing functions which
...
generate temporary file names
2023-03-21 03:50:08 +10:00
Nyall Dawson
aadfbab40f
Split vector tile classes into separate files
2023-03-21 03:49:39 +10:00
Nyall Dawson
8e526353f9
Move toggle comment handling to base QgsCodeEditor class
2023-03-20 16:06:24 +10:00
Nyall Dawson
3312bf1ad2
Move syntax checking capability to QgsCodeEditorPython
2023-03-20 16:06:24 +10:00
Nyall Dawson
069f1a647e
Add language capabilities
2023-03-20 16:06:24 +10:00
Denis Rouzaud
d01d2af619
[settings] method to delete all items of a named list
2023-03-20 07:03:52 +10:00
Vincent Cloarec
f6d4ad36a3
fix mesh doc ( #52279 )
2023-03-17 03:05:42 +00:00
Mathieu Pellerin
75bf0f31a3
Better fix (faster rendering, works for PDF, better during progressive rendering)
2023-03-14 19:07:39 +07:00
Mathieu Pellerin
45f54b64c3
Merge pull request #52198 from nirvn/qgsziputils_imp
...
[api] Add a new QgsZipUtils's files() function and a unzip() parameter to skip consistency check
2023-03-14 14:07:10 +07:00
Nyall Dawson
b39c389cd9
Fix version numbers
2023-03-14 04:24:19 +10:00
Nyall Dawson
2f0060c5dc
[layouts] Use a background thread to filter legend content by map
...
Avoids potentially massive UI hangs while working with layouts
with filtered legends.
Fixes #51233
Fixes #48326
Fixes #51455
Fixes #51452
2023-03-14 04:24:19 +10:00
Nyall Dawson
885c0b6136
Add a "refreshing" icon overlay for layout items which are
...
being redrawn/updated in the background
Gives immediate visual feedback to users that the current appearance
of those items are outdated and to wait while they update.
2023-03-14 04:24:19 +10:00