252 Commits

Author SHA1 Message Date
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
Yoann Quenach de Quivillic
b1d840f5b8 Handle wrap mode in calltips 2024-10-10 14:10:40 +10:00
Denis Rouzaud
f9c05c50d8
Merge pull request #59014 from 3nids/settings.fup.2
python implementation of enum settings editor widget wrapper  + fix crash
2024-10-09 20:10:58 +02:00
signedav
03f193d336
Merge pull request #58729 from signedav/categorizelegate
Improve UX of layer style categories with html
2024-10-09 13:55:56 +02:00
Denis Rouzaud
e4b2d591db
access dynamic key part list for editor wrappers 2024-10-09 12:10:25 +02:00
uclaros
3af3539fe1 stac gui for browser implementation 2024-10-09 10:20:10 +02:00
Denis Rouzaud
c75588d84a settings edtior wrappers: add direct constructor + add combo box editor for strings
this improves the usage from Python plugins
2024-10-07 13:55:31 +02:00
Denis Rouzaud
ec839e9d7c
rename settings editor widget wrappers (#58974)
to allow more than 1 widget type to be supported for each type of setting
2024-10-07 07:24:40 +02:00
Denis Rouzaud
4afbf9e1bb const fixes 2024-10-02 07:05:46 +10:00
signedav
816da02398
Merge branch 'master' into categorizelegate 2024-10-01 09:17:05 +02:00
Denis Rouzaud
ca3b40cb8c
Merge pull request #58568 from gacarrillor/stacked_diagrams
[feature] Introduce stacked diagrams
2024-09-27 07:54:49 +02:00
signedav
f022253095 expose model and delegate to the api 2024-09-26 15:28:18 +02:00
Denis Rouzaud
590232d70a
add template method to return specific type of layers in map canvas (#58878)
* add template method to return specific type of layers in map canvas

* Apply suggestions from code review

Co-authored-by: Matthias Kuhn <matthias@opengis.ch>

---------

Co-authored-by: Matthias Kuhn <matthias@opengis.ch>
2024-09-26 14:17:36 +02:00
Germán Carrillo
eb201c56e6 [gui] Switch from string-based connections to functor-based ones 2024-09-25 19:41:35 -05:00
Denis Rouzaud
6bf3ee0f30 const correction 2024-09-20 11:06:45 +02:00
Nyall Dawson
f61e33da4e Doxygen comments should use "NULLPTR", not "NULL"
NULLPTR will get correctly formatted in both c++ and Python docs
2024-09-19 09:55:44 +10:00
Alessandro Pasotti
5c76ebf092 Address PR comments 2024-09-19 06:17:55 +10:00
Alessandro Pasotti
2978f47951 [layout] Fix missing layer in fixed table editor
Fix #58774
2024-09-19 06:17:55 +10:00