Yoann Quenach de Quivillic
dff57c3e02
Apply suggestion from review
2025-01-10 07:54:09 +01:00
Yoann Quenach de Quivillic
b9d4575715
Add editingTimeout for QgsCodeEditor
2025-01-10 07:54:09 +01:00
Yoann Quenach de Quivillic
86bd2c5353
Add adjustScrollWidth method
2025-01-10 07:54:09 +01:00
qgis-bot
33bb9d5fb4
auto sipify 🍺
2025-01-08 11:54:28 +00:00
pre-commit-ci[bot]
cee488bf4b
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2025-01-08 12:51:39 +01:00
uclaros
c93b51cf28
fix docstring
2025-01-08 12:51:39 +01:00
uclaros
f76c3e1e9d
Revert, use a new struct as parameter
2025-01-08 12:51:39 +01:00
uclaros
786dca61b3
Don't identify 3d layers when clicking the terrain
2025-01-08 12:51:39 +01:00
David Koňařík
4d86676c35
Fix SIP build errors by using /NoTypeName/
...
The typedef is only present in the .sip file, but without this
annotation SIP assumes it also exists in QGIS headers. This didn't
completely break the build, since we concatenate multiple SIP headers
into larger files, so the typedefs from one part "fixed" another. Run
sip-build without --concatenate to see the issue clearly.
This fix is currently sadly not fully effective due to a SIP bug:
https://github.com/Python-SIP/sip/issues/66
2025-01-06 21:31:40 +01:00
Nyall Dawson
e5379a7b5c
Remove a lot of hardcoded tab indexes
2024-12-18 19:12:29 +10:00
Nyall Dawson
1c3d2ae06a
Expose method as protected
2024-12-18 19:12:29 +10:00
Julien Cabieces
209043e21e
build(QSci): fix build when python QSci is missing
2024-12-17 09:06:44 +01:00
Julien Cabieces
ed64834106
api(deprecated): add message to deprecated SIP annotation
2024-12-17 09:06:42 +01:00
Nyall Dawson
2f2e900098
Add api to control spin box editing timeout interval
2024-12-13 09:38:03 +10:00
Nyall Dawson
0f64fdfeb9
Add editingTimeout signal to Qgs(Double)SpinBox
...
Emitted when either:
1. 2 seconds has elapsed since the last value change in the widget
(eg last key press or scroll wheel event)
2. or, immediately after the widget has lost focus after its value
was changed.
This signal can be used to respond semi-instantly to changes in
the spin box, without responding too quickly
while the user in the middle of setting the value.
2024-12-13 09:38:03 +10:00
Yoann Quenach de Quivillic
6c3dc5d069
Temporary rubberband
2024-12-13 07:42:39 +10:00
Nyall Dawson
1adfe87fe8
Add CRS group name and projection name to CRS model data
2024-12-12 18:39:46 +10:00
Denis Rouzaud
2b055eb807
add an option to define locator tree height ( #59825 )
...
* add an option to define locator tree height
* add comment that it requires a restart
2024-12-11 10:39:45 +01:00
Damiano Lombardi
84046748d9
WMS Ignore layer extent settings for default value
...
Allows customisation of the initial state of the "Ignore reported layer extents" checkbox
2024-12-10 06:49:08 +10:00
Denis Rouzaud
5bfbccf63f
remove multiline
2024-12-07 05:16:00 +10:00
Denis Rouzaud
5fdf6dd77a
fix SIP_SKIP and SIP_FORCE being left alone
2024-12-07 05:16:00 +10:00
Denis Rouzaud
2562958772
sipify
2024-12-07 05:16:00 +10:00
Nyall Dawson
c33b4e67dc
Fix exception when loading processing plugin on Qt 6 builds on KDE
...
Something internal in KDE itself adds child QObjects to menus, so the
code which tries to find the last action in the menu fails and returns
a QObject instead of a QAction, leading to an exception in the
insertAction call.
This is all too fragile anyway, so avoid it by:
- Just creating the models menu directly in the ui
- Exposing this via interface for use in the processing plugin
Now there's no risk of this code breaking in future if the Project
menu is re-arranged.
2024-12-06 19:20:05 +10:00
Nyall Dawson
37478db0c1
Fix more function links
2024-12-03 12:57:44 +10:00
Even Rouault
cf868f8f4c
QgsMapLayerConfigWidget/QgsRendererRasterPropertiesWidget: suppress -Woverloaded-virtual warning related to syncToLayer() method
2024-12-03 04:39:49 +10:00
Yoann Quenach de Quivillic
8a61c97df3
Apply suggestions from code review
2024-11-27 07:10:29 +10:00
Yoann Quenach de Quivillic
32c6a3d8e7
Add global enum
2024-11-27 07:10:29 +10:00
Yoann Quenach de Quivillic
dcfa0082fa
Add double click handler
2024-11-27 07:10:29 +10:00
Jean Felder
936affa860
qgsdoublespinbox: Introduce isCleared method
2024-11-21 13:09:23 +01:00
Harrissou Sant-anna
ac3c06d3ad
Rewording and formatting in PyQGIS docs
2024-11-16 07:28:29 +10:00
Nyall Dawson
739b9249c4
Apply suggestions from code review
2024-11-14 09:54:48 +10:00
Yoann Quenach de Quivillic
ea75091351
Switch to QWebEngineView if available
2024-11-14 09:54:48 +10:00
Yoann Quenach de Quivillic
b2f3876e38
Apply suggestions from review
2024-11-14 09:54:48 +10:00
Yoann Quenach de Quivillic
ff2f1f0e3f
Remove python parameter and add context menu actions
2024-11-14 09:54:48 +10:00
Yoann Quenach de Quivillic
7e9a098b31
Show API Documentation on F1
2024-11-14 09:54:48 +10:00
Yoann Quenach de Quivillic
c851835729
add showApiDocumentation method
2024-11-14 09:54:48 +10:00
Yoann Quenach de Quivillic
2067abc02d
Add helpRequested signal
2024-11-14 09:54:48 +10:00
Nyall Dawson
cf9007658e
Show units in tab position widget
2024-11-10 09:52:14 +11:00
Nyall Dawson
7c2b4e011a
Add missing since
2024-11-10 09:52:14 +11:00
Nyall Dawson
40d41ddee3
Add GUI to edit tab stop distances
2024-11-10 09:52:14 +11:00
Nyall Dawson
fe78267c66
'throw' is not used/required on sip >=6
...
And generates hundreds of deprecation warnings during build
2024-11-04 15:13:37 +10:00
Matthias Kuhn
b5543341fa
sip
2024-10-28 07:18:38 +01:00
Denis Rouzaud
1f0a5d513f
use TransferBack
2024-10-25 11:51:35 +10:00
Denis Rouzaud
18974480fb
allow to set specific settings editors + add test
2024-10-25 11:51:35 +10:00
Nyall Dawson
fbe47ef20c
Hide Draw on Canvas option from QgsExtentWidget in modal dialogs
...
When widget is shown in a modal dialog, we can't offer the
option to draw the extent on the canvas
Refs #59063
2024-10-18 06:46:29 +10:00
Nyall Dawson
f2f05abca1
Cleanup docs, use \param instead of @param
2024-10-16 13:01:39 +10:00
Nyall Dawson
bc28bfd333
Fix/suppress more duplInheritedMember warnings
2024-10-15 15:00:05 +10:00
Nyall Dawson
4c9072e265
Only render main annotation layer in main map canvas or docked maps
...
Don't show it in other map canvas instances, eg the coordinate
bounds preview map
Fixes #58766
2024-10-11 16:23:37 +10:00
ViperMiniQ
d30a1d5d85
[api] add QgsLayerTreeView::setCurrentNode
2024-10-11 14:55:17 +10:00
Nyall Dawson
ef9b326d04
Apply suggestions from code review
2024-10-10 14:10:40 +10:00