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
a18a7a720f
commit
d10414d737
@ -1,4 +1,4 @@
|
|||||||
QGIS 3 has entered code freeze. It's, therefore, time to port your plugin.
|
QGIS 3 has entered feature freeze. It's, therefore, time to port your plugin.
|
||||||
|
|
||||||
While you are porting/rewriting your plugin, think about using QGIS native widgets. For instance, if you need a combobox providing a list of 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 http://python.qgis.org/api/gui/index.html It's less code to write for you, and users will have the same user experience across plugins and QGIS Desktop.
|
While you are porting/rewriting your plugin, think about using QGIS native widgets. For instance, if you need a combobox providing a list of 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 http://python.qgis.org/api/gui/index.html It's less code to write for you, and users will have the same user experience across plugins and QGIS Desktop.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user