Ho appena rilasciato un nuovo plugin per QGIS che permette il filtraggio dinamico delle combo-box nei form.
Questo articolo è disponibile solo in inglese, puoi cambiare la lingua utilizzando le bandierine in alto.Ho appena rilasciato un nuovo plugin per QGIS che permette il filtraggio dinamico delle combo-box nei form.
Questo articolo è disponibile solo in inglese, puoi cambiare la lingua utilizzando le bandierine in alto.
Anonimo
Thanks for this plugin,
It’s exactly what I need but i do not manage to use it. Would it be possible to describe the layer that you are working with and the field of this layers ? With that I would be able to adapt it to my needs.
Alessandro Pasotti
Just added an example project, hope that helps.
Colin
That’s perfect, I get it working with what I wanted to do.
Thanks a lot
DV
can I use this plugin together with a Qt Designer form?
Anonimo
@DV
No: a QT designer form uses its own widgets.
Eduardo
Looks like a nice addition! I will test in more detail later. I though on mentioning that when I did a quick test, the ui in the Edit Widget Properties did not load properly while having a locale language for QGIS (Finnish).
Alessandro Pasotti
@Eduardo,
Should be fixed with version 1.3
Casper B. Jensen
If I try to change the content of an attribute after I’ve created the feature my program crashes as I double-click on the attribute field with a pop-up windows saying
Minidump written to C: … \Temp\qgis-20160310-071702-9988-4565-99ac688.dmp
As well when I delete features they are kept in ‘Show feature Count’ and I get this Python-error:
2016-03-10T07:12:03 1 Traceback (most recent call last):
File “C:/Users/CasperBJ/.qgis2/python/plugins\FormAwareValueRelationWidget\FormAwareValueRelationWidget.py”, line 357, in createCache
layer = QgsMapLayerRegistry.instance().mapLayer( self.config( “Layer” ) )
RuntimeError: wrapped C/C++ object of type FormAwareValueRelationWidgetWrapper has been deleted
2016-03-10T07:12:24 1 Traceback (most recent call last):
File “C:/Users/CasperBJ/.qgis2/python/plugins\FormAwareValueRelationWidget\FormAwareValueRelationWidget.py”, line 357, in createCache
layer = QgsMapLayerRegistry.instance().mapLayer( self.config( “Layer” ) )
RuntimeError: wrapped C/C++ object of type FormAwareValueRelationWidgetWrapper has been deleted
2016-03-10T07:12:37 1 Traceback (most recent call last):
File “C:/Users/CasperBJ/.qgis2/python/plugins\FormAwareValueRelationWidget\FormAwareValueRelationWidget.py”, line 357, in createCache
layer = QgsMapLayerRegistry.instance().mapLayer( self.config( “Layer” ) )
RuntimeError: wrapped C/C++ object of type FormAwareValueRelationWidgetWrapper has been deleted
2016-03-10T07:12:37 1 Traceback (most recent call last):
File “C:/Users/CasperBJ/.qgis2/python/plugins\FormAwareValueRelationWidget\FormAwareValueRelationWidget.py”, line 357, in createCache
layer = QgsMapLayerRegistry.instance().mapLayer( self.config( “Layer” ) )
RuntimeError: wrapped C/C++ object of type FormAwareValueRelationWidgetWrapper has been deleted
2016-03-10T07:13:52 1 Traceback (most recent call last):
File “C:/Users/CasperBJ/.qgis2/python/plugins\FormAwareValueRelationWidget\FormAwareValueRelationWidget.py”, line 357, in createCache
layer = QgsMapLayerRegistry.instance().mapLayer( self.config( “Layer” ) )
RuntimeError: wrapped C/C++ object of type FormAwareValueRelationWidgetWrapper has been deleted
Anonimo
@Casper:
please file a ticket here: https://github.com/elpaso/qgis-formawarevaluerelationwidget/issues
Anonimo
Good job!
This works fine except when we use a subform (relation 1-n of a database).