Hi all,
I'm trying to convert a plugin for QGIS 3, The plugin for QGIS 2 uses
some custom widgets of Qt Designer (e.g. mMapLayerComboBox).
But when I load an UI in QGIS with any of these widgets I get:
File
"/home/matteo/.qgis3/python/plugins/DataPlotly/plots/bar_dialog.py",
line 59, in __init__
self.LayerCombo.setFilters(QgsMapLayerProxyModel.VectorLayer)
AttributeError: 'BarPlotDialog' object has no attribute 'LayerCombo'
where LayerCombo is a mMapLayerComboBox
Are there any suggestions to use/don't use widgets for plugins for the 3
or am I missing something?
Thanks to all
Matteo
_______________________________________________
Qgis-developer mailing list
[email protected]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer