Germán Carrillo
cb8d1aacaa
Refactor of GPS tools exposed via iface:
...
Introduce abstract QgsGpsToolsInterface and its subclass QgsAppGpsTools, which can be accessed via iface.gpsTools()
Deprecate existent GPS method in iface and move it to GPS tools.
2025-05-06 13:21:26 -05:00
Germán Carrillo
57f568ab78
[feature] Allow Python plugins to set the GPS track line symbol (changing its corresponding setting in GPS options) and update the symbol of an eventual current GPS track
2025-05-05 15:41:32 -05:00
Germán Carrillo
1755a9e22a
[feature] Expose QgsAppGpsDigitizing::createFeature() through iface, so that Python plugins can have more control on the GPS tracking session
2025-05-05 15:41:32 -05:00
Nyall Dawson
3f6b490218
Sipify
2025-04-02 11:11:10 +10:00
Martin Dobias
2078404ba7
Globe: finally make it available from the GUI
...
This is a mix of additions and updates for the initial support of globe mode
in 3D views within QGIS desktop app. Many things are still missing, and will
be introduced in later PRs...
2025-04-01 10:26:27 +10:00
Nyall Dawson
b81e0d83f6
Fix non-compliant class brief documentation
2025-03-30 20:48:07 +10:00
Julien Cabieces
ed64834106
api(deprecated): add message to deprecated SIP annotation
2024-12-17 09:06:42 +01: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
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
c851835729
add showApiDocumentation method
2024-11-14 09:54:48 +10:00
Nyall Dawson
ef0289f3ec
Fix formatting of Python ..deprecated annotations in docstrings
...
Fixes https://github.com/qgis/pyqgis-api-docs-builder/issues/174
2024-09-02 11:42:12 +10:00
Nyall Dawson
3a578d6712
Header update
2024-08-13 20:28:55 +10:00
Nyall Dawson
28943f9c1b
Remove a bunch of useless default constructor doxygen
2024-07-23 02:08:28 +10:00
Even Rouault
f3ef66d073
Header files: remove all mentions of '\since QGIS 3.0'
2024-02-19 11:35:07 +01:00
Even Rouault
15ea5c46bc
Header files: remove all mentions of '\since QGIS 3.0'
2024-02-18 20:57:23 +01:00
Even Rouault
02caeb9db7
Header files: remove all mentions of '\since QGIS 2.'
2024-02-18 20:46:01 +01:00
uclaros
d8996ae33b
Add 3D map canvas handling methods to QgisInterface
2024-01-19 06:51:53 -08:00
Nyall Dawson
ad60cb3a26
[api] Add iface.blockActiveLayerChanges
...
Sets whether changes to the active layer should be temporarily
blocked. Exposes a previously private optimisation for use
by plugins.
This is a low-level method, designed to avoid unnecessary work when adding lots
of layers at once. Clients which will be adding many layers may call blockActiveLayerChanges( TRUE ) upfront,
add all the layers, and then follow up with a call to blockActiveLayerChanges( FALSE ). This will defer emitting
the active layer changed signal until they've added all layers, and only emit the signal once for
the final layer added.
2024-01-16 06:00:43 +10:00
Loïc Bartoletti
bc6fdf73a8
Add \since QGIS 3.34
...
3.34 here, since it has been backported
Co-authored-by: Nicolas Godet <39594821+nicogodet@users.noreply.github.com>
2023-12-21 07:09:36 +10:00
Loïc Bartoletti
f009536438
QgisInterface: add meshMenu to iface.
...
Fixes #55604
2023-12-21 07:09:36 +10:00
Nyall Dawson
9f57fb2ef0
Rename "tiled mesh" to "tiled scene"
...
Better reflects that these types can contain lines and point
data, not just meshes
2023-08-05 21:31:49 +10:00
Nyall Dawson
6c4409d71f
Expand documentation
2023-07-05 09:43:32 +10:00
Nyall Dawson
151ab7e886
Support tiled mesh layers in app layer creation functions
2023-07-05 09:43:32 +10:00
Nyall Dawson
1142e8ffac
Move QgsMapLayerType enum to Qgis.LayerType ( #51874 )
...
For consistency with other enums
2023-02-16 13:02:57 +01:00
Nyall Dawson
15e0c6abe4
Add direct iface methods to add/remove project import/export actions
2023-02-15 14:26:26 +10:00
Nyall Dawson
aa5644d1d5
Add interface method to retrieve Project - Import/Export submenu
...
Allows a stable way for plugins to insert actions into this menu
2023-02-15 14:26:26 +10:00
Nyall Dawson
d4c69f44d8
Add interface method to open Data Source Manager at a specific page
2023-02-15 04:40:20 +10:00
Harrissou Sant-anna
33467dde16
Mention Elevation page in layer properties as reachable programmatically
2023-01-17 05:06:45 +10:00
Yoann Quenach de Quivillic
f6c0bda4c5
Add userProfileManager in QgisInterface (iface)
...
Fixes #48337
2023-01-06 10:46:50 +01:00
Nyall Dawson
41588cadb2
Connection is transferred
2022-11-04 11:24:05 +10:00
Harrissou Sant-anna
83a9715e1a
Connect every layer properties tabs to their respective documentation
...
when the section is available
and fix some links
2022-10-20 13:44:26 +10:00
Denis Rouzaud
efcf169a09
fix since 3.24 -> 3.26
2022-02-21 17:05:13 +01:00
Denis Rouzaud
be0fe08c2e
better dox for deprecated interface actions methods
2022-01-28 06:30:26 +01:00
Denis Rouzaud
e37e985b58
sipify
2022-01-28 06:30:24 +01:00
Harrissou Sant-anna
b8de4d389e
Add version mention
2022-01-20 21:37:13 +01:00
Harrissou Sant-anna
0ef51feccf
Dedicated method allowing to add plugins to the Mesh menu
2022-01-20 15:07:15 +01:00
Nyall Dawson
8cf4903204
Don't expose QgsMapToolModifyAnnotation to python
...
We want to leave this private for now, to give flexibility to change
api if/when needed
2021-09-10 15:01:26 +10:00
Nyall Dawson
48715202f7
When the modify annotation tool is used to select an annotation item,
...
show a panel in the layer styling dock allowing users to modify
the appearance of the annotation
2021-09-07 10:35:02 +10:00
Keigo Imai
c34cfeb43b
update sip file
2021-07-23 11:30:34 +10:00
Keigo Imai
811a0353a5
Add activeDecorations to iface object
...
Allow plugins and scripts to export animations with decorations
2021-07-23 11:30:34 +10:00
Ivan Ivanov
27883030c6
Update python/gui/auto_generated/qgisinterface.sip.in
...
Co-authored-by: Matthias Kuhn <matthias@opengis.ch>
2021-04-07 11:15:34 +03:00
Ivan Ivanov
294b01a6f1
Added docstring describing the page argument of showLayerProperties
...
One can get a list of page names by executing the following command:
grep \"mOptsPage ./build/src/ui/ui_qgs*layerpropertiesbase.h
2021-04-07 10:51:31 +03:00
Ivan Ivanov
3057966086
Open a specific page in the layer properties dialog using the iface instance
2021-04-06 19:37:10 +03:00
Denis Rouzaud
ba8a445850
run sipify
2021-03-22 21:13:52 +01:00
Nyall Dawson
cc5cbabaa3
Avoid API break
2021-02-09 20:12:37 +10:00
Harrissou Sant-anna
3a952a6981
Remove Add ArcGIS map service button
...
after it's merged with feature service
(cherry picked from commit 82797ac8d28e50a03c2190d7a8df1d740f688c5f)
2021-02-09 20:12:37 +10:00
Nyall Dawson
50b9beaad6
[sipify] Catch more class references and insert :py:class: annotations
2021-01-31 05:41:22 +10:00
Nyall Dawson
0d33fe4c99
Documentation improvements, add SIP_DEPRECATED annotations
2021-01-02 15:48:54 +10:00