mirror of
https://github.com/qgis/QGIS.git
synced 2025-08-11 00:03:56 -04:00
Updated Plugin migration to QGIS 3 (markdown)
parent
6522933e9b
commit
d335dcf107
@ -8,6 +8,10 @@ Among the necessary info:
|
|||||||
|
|
||||||
When completed, we need to put out a call for plugin authors to start porting.
|
When completed, we need to put out a call for plugin authors to start porting.
|
||||||
|
|
||||||
|
While you are porting/rewriting your plugin, think about using QGIS native widgets. For instance, if you need a combobox with layers, use a `QgsMapLayerComboBox` instead of a `QComboBox`. There is also `QgsFieldComboBox` if you need to pick a field in a vector layer. The full list of widgets is here https://qgis.org/api/group__gui.html
|
||||||
|
|
||||||
|
Also think about using the Processing framework. Your plugin can become its own Processing provider so your algorithms can be included in models and have the same UI as native algorithms. It's also less code to write, the UI is created by QGIS.
|
||||||
|
|
||||||
## Minimal info
|
## Minimal info
|
||||||
|
|
||||||
- `pip install future`
|
- `pip install future`
|
||||||
|
Loading…
x
Reference in New Issue
Block a user