Denis Rouzaud
30a641111d
Merge pull request #52847 from 3nids/settings-treewidget
...
Settings editors
2023-05-02 21:31:35 +02:00
Alexander Bruy
10b02e02ed
move expression type enum to qgis.h
2023-05-02 14:00:43 +02:00
Alexander Bruy
d93111ccec
[processing] add enum to expression parameter to make it possible
...
distinguish between native QGIS expressions and point cloud filter
expressions
2023-05-02 14:00:43 +02:00
Nyall Dawson
ab19e8ed32
Add new attribute form container type "Row"
...
This container always lays out child widgets in a horizontal
row, where the number of columns is automatically determined
by the number of child widgets.
It's useful for creation of compact forms, where no space will
be wasted by assigning extraneous horizontal width to widgets
where the expected values will always be short.
Eg: creating 3 rows with 3, 2, 1 child widgets respectively
results in the layout:
Attr 1: [...] Attr 2: [...] Attr 3: [...]
Attr 4: [..........] Attr 5: [..........]
Attr 6: [...............................]
Without the option of row containers then the all horizontal
rows will have the same number of columns, eg:
Attr 1: [...] Attr 2: [...] Attr 3: [...]
Attr 4: [...] Attr 5: [...] Attr 6: [...]
(leaving insufficient horizontal length for attributes 4-6), or
Attr 1: [..........] Attr 2: [..........]
Attr 2: [..........] Attr 3: [..........]
Attr 4: [..........] Attr 5: [..........]
Attr 6: [..........]
(resulting in wasted horizontal space next to attribute 6, and
an extra row taking up vertical space)
Sponsored by NIWA
2023-05-01 18:39:23 +10:00
Denis Rouzaud
d888ee2a70
use public method
2023-05-01 09:57:09 +02:00
Yoann Quenach de Quivillic
3dcfbe8cc3
Fix QgsSettingsTreeNode constness
2023-05-01 01:47:24 +02:00
Yoann Quenach de Quivillic
ccb868f626
Harmonize doc
2023-04-29 14:25:11 +02:00
Yoann Quenach de Quivillic
947931ad2b
Fix qgsfunction decorator args handling
2023-04-29 14:25:11 +02:00
Denis Rouzaud
7498d0994c
fix dox
2023-04-27 10:29:09 +02:00
Nyall Dawson
a434d0e7c0
Use enums for attribute form container types instead of bools
...
Gives flexibility for adding additional container types in future
2023-04-27 12:54:20 +10:00
Vincent Cloarec
004f6d3704
Mesh layer style following dataset group name ( #52312 )
...
* copy mesh layer style following dataset group name
* fix typo and sipify
* fix const
* fix version in doc
* fix version in doc
2023-04-26 19:44:28 +00:00
Nyall Dawson
b290179951
Fix monkey patching when comment contains "
2023-04-27 03:58:30 +10:00
Nyall Dawson
9e552967f2
Promote attribute editor enums to enum class, move to Qgis
2023-04-27 03:58:30 +10:00
Matthias Kuhn
69a2bb81f9
Merge pull request #52321 from YoannQDQ/clear-recent-crs
2023-04-26 10:34:03 +02:00
Alexander Bruy
1c1e46029a
address review
2023-04-25 05:41:04 +10:00
Alexander Bruy
0f2d2bc360
allow changing number of threads through the algorithm settings panel
2023-04-25 05:41:04 +10:00
Yoann Quenach de Quivillic
79973312e6
Add missing auto_additions
2023-04-25 05:35:37 +10:00
Yoann Quenach de Quivillic
99f453344d
Apply suggestions from review
2023-04-25 05:35:37 +10:00
Yoann Quenach de Quivillic
4891c9f344
Add icon size and allow creation settings
2023-04-25 05:35:37 +10:00
Yoann Quenach de Quivillic
e1b6d8f723
Add lastProfile / defaultProfile in QgsUserProfileManager
2023-04-25 05:35:37 +10:00
Yoann Quenach de Quivillic
08bf81dbeb
Add methods to clear recent crs or remove one crs
2023-04-24 09:22:32 +02:00
Nyall Dawson
8282b6631e
Add QgsCodeEditorShell code editor subclass for Bash or Batch scripts
2023-04-24 15:26:50 +10:00
Marc Ducobu
2458023031
Add type hinting for QList<qint64> (python binding)
2023-04-23 18:12:42 +10:00
Denis Rouzaud
fe4e9b5ff8
remove outdated sip files ( #52848 )
2023-04-23 08:50:22 +02:00
Denis Rouzaud
9f3ac79b8b
sipify + CMakeLists
2023-04-23 07:19:47 +02:00
Yoann Quenach de Quivillic
4dcd0d4af0
Add a way to disable map tips for a specific layer ( fix #23400 )
2023-04-23 11:01:37 +07:00
Nyall Dawson
af02946e51
Expand docs
2023-04-22 17:54:35 +10:00
Nyall Dawson
b28bf20372
Add api to determine attribute capabilities for QgsVectorLayerExporter
2023-04-22 09:18:06 +10:00
Nyall Dawson
308eb1d86f
Expose api to determine capabilities of QgsVectorFileWriter
...
Currently allows determining whether field comments and aliases
are supported by the writer
2023-04-22 09:18:06 +10:00
Nyall Dawson
d9d41ad9ef
Doc
2023-04-21 06:12:28 +10:00
Nyall Dawson
70f2adb28c
[processing][api] Add mechanism to get basic algorithm properties
...
efficiently for many calls
Allows retrieval of some basic algorithm properties (display name,
icon) in an optimised way for many calls. (Avoiding multiple
expensive algorithmById lookups)
2023-04-21 06:12:28 +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
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
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
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
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
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