Hi Denis,

I don't see how I can set editable option in QGIS for 'Value Map' or 'Value relation'. This option only exists for Unique Value.

Stefan

On 07/03/2013 03:07 PM, Denis Rouzaud wrote:
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@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


_______________________________________________
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to