Hi Stefan,
Sorry my mistake, this is a feature which has been added in master
version (upcoming 2.0).
Editable in QGIS will allow the user to interact or not with the combo
box (this corresponds to "enabled" option in Qt Designer).
Editable in Qt Designer means the user can write values in the combo box.
Hope it's clearer!
Cheers,
Denis
On 07/03/2013 10:47 AM, Stefan Sylla wrote:
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
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-developer
_______________________________________________
Qgis-developer mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-developer