[Qgis-developer] custom forms with qt4 - problem with combo box

Denis Rouzaud denis.rouzaud at gmail.com
Wed Jul 3 01:07:31 PDT 2013


Just be careful with the editable option in designer, as I noticed it 
might store NULL values.


On 07/03/2013 09:53 AM, Stefan Sylla wrote:
> Hi Nathan and Denis,
>
> thanks for your quick replies, it helped me solving the problem!
>
> I am not sure if this is the right way, but now it works out the following
> way:
>
> - in Qt4, I kept the ComboBox to be editable
> - in QGIS, I changed the field properties to "Value Map" (this is a little
> bothering however, as I have to specify the value-description list first)
>
> @Nathan: not even the "QLineEdit completer" was working, i.e. I input a new
> value that was already existing in the column, but there was no
> auto-completion, just blank.
>
> Stefan
>
>
>
> --
> View this message in context: http://osgeo-org.1560.x6.nabble.com/custom-forms-with-qt4-problem-with-combo-box-tp5063731p5063740.html
> Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer



More information about the Qgis-developer mailing list