22113 Commits

Author SHA1 Message Date
Yoann Quenach de Quivillic
d798fd0732 Use embedded messageBar in showMessage 2023-04-18 14:55:32 +10:00
Nyall Dawson
7a0c9a39ed Allow a range of cells to be copied from SQL results window
Allows selection of a range of cells to copy to clipboard. Results
are copied as both plain text and html, so can be pasted easily
into spreadsheet apps/etc as tables
2023-04-18 14:13:44 +10:00
Nyall Dawson
9aac2b8d8a [api] Add framework for setting field comments/aliases via
QgsAbstractDatabaseProviderConnection

When implemented by providers, will provide a method for
permanently setting field aliases/comments within a
database

Here we have no choice but to create a new Capability2
enum, as the original Capability has now consumed the
entire range of values for data types permitted by QFlag
2023-04-18 08:22:57 +10:00
Nyall Dawson
3c64bcc6a6 Fix false positive cppcheck pureVirtualCall warnings when pure
virtual functions are called as slots
2023-04-17 16:29:44 +10:00
Nyall Dawson
cb360f017b Make cppcheck test check for missing overrides 2023-04-17 15:12:59 +10:00
Nyall Dawson
276ff97807 When creating new fields, only expose the 'Comment' option for
datasources which support editing comments

This support is currently limited to the postgres provider,
so exposing the comment field for all other vector layer types
is just misleading to users. The comment will be completed discarded
without any warning!
2023-04-14 14:14:41 +10:00
Nyall Dawson
b118ce2530 Disable copy of QgsScopedProxyProgressTask 2023-04-14 11:27:08 +10:00
Nyall Dawson
06ed5bd86e Remove unnecessary setAngle/angle overrides in QgsPointPatternFillSymbolLayer 2023-04-14 03:53:52 +10:00
Julien Cabieces
ea84b6aa80
Merge pull request #52037 from Djedouas/fix-51515
Add a save button in layer style panel
2023-04-13 14:02:22 +02:00
uclaros
f896513aab Add virtual point cloud provider 2023-04-13 09:57:53 +02:00
Nyall Dawson
04d9841924 QgsProxyProgressTask cannot be copied -- fix cppcheck warning 2023-04-13 05:56:32 +10:00
Nyall Dawson
2ef0734913 Add test to ensure help examples are valid expressions 2023-04-12 09:51:36 +10:00
Jacky Volpes
6149d5da0c Fix #51515 - using properties objects for load/save layer styles 2023-04-11 11:19:22 +02:00
Alexander Bruy
c6eec2ac60
Merge pull request #52590 from alexbruy/processing-pointcloud-attribute
New parameter type for point cloud attribute
2023-04-11 11:14:20 +03:00
Alexander Bruy
c5947e4e51 add SIP_DEPRECATED 2023-04-10 11:57:39 +03:00
Nyall Dawson
6454f7bfb8 Fix sip build 2023-04-09 14:38:28 +10:00
Nyall Dawson
855ac2e8e7 Fix overloaded virtual warning in QgsAuxiliaryLayer 2023-04-09 14:38:28 +10:00
Nyall Dawson
e456d5a929 Fix hidden overloaded virtual warning 2023-04-09 14:38:28 +10:00
Yoann Quenach de Quivillic
e98e655171
Map tip position improvements (#52469) 2023-04-08 13:23:40 +07:00
Alexander Bruy
89ddbc3863 fix typos, add Q_DECL_DEPRECATED 2023-04-07 14:00:05 +03:00
Nyall Dawson
acea87c859 Spelling 2023-04-06 17:18:05 +10: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
895a68faee Expose 'Search Selection in PyQGIS docs' action for all python code editors 2023-04-06 08:32:41 +10:00
Nyall Dawson
dcf7a98e0c Apply suggestions from code review 2023-04-05 11:17:19 +10:00
Nyall Dawson
7e0e421af7 PyQt doesn't provide repr for QColor, but it's highly desirable!
So monkey patch one in ourselves
2023-04-05 11:17:19 +10:00
Nyall Dawson
8f5476e6d7 Avoid loss of text in code editors when certain modifiers are pressed
These are triggered when a InputMethod event is sent to the widget.
There's upstream discussion at https://sourceforge.net/p/scintilla/bugs/1913/
and the fix was added to QScintilla version 2.13.3

As the loss of text is an extreme risk, just disable input method
handling in these widgets on affected versions entirely.

Fixes #52459
2023-04-04 14:12:26 +10: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
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
Nyall Dawson
0ff713b127 Fix virtual dispatch in constructor warnings 2023-04-02 06:01:26 +10:00
Nyall Dawson
d1c3e8da77 Add Source tab to vector tile layer properties
Match other layer types, and add a Source tab with:

- layer name
- CRS override
- optional provider source widget, for providers which expose this
functionality

This matches the content of the Source tab for other layer types
2023-04-02 06:01:26 +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
941b0caa49 Add layer tree method to return all selected 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
b9c0fc46b5
Checkin missed file 2023-03-31 10:46:52 +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
Yoann Quenach de Quivillic
443df70628 Add Toggle comment capability to the Html Editor 2023-03-31 05:56:14 +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