Re: [Qgis-developer] Edit UI doesn't load the field's value

2010-12-08 Thread Giuseppe Sucameli
Hi, On Wed, Dec 8, 2010 at 8:36 AM, Bernhard Ströbl wrote: > no, I did not file a ticket for this, although I would support doing so. I've filed it, here the ticket: #3308 [1] Best regards. [1] https://trac.osgeo.org/qgis/ticket/3308 If I customize the default edit-ui via "Layer Properties" -

Re: [Qgis-developer] Edit UI doesn't load the field's value

2010-12-08 Thread Jürgen E . Fischer
Hi, On Wed, 08. Dec 2010 at 08:36:01 +0100, Bernhard Ströbl wrote: > no, I did not file a ticket for this, although I would support doing so. > If I customize the default edit-ui via "Layer Properties" - "Attributes" > and choose a "value map" for a numerical field the resulting ComboBox > s

Re: [Qgis-developer] Edit UI doesn't load the field's value

2010-12-07 Thread Bernhard Ströbl
Dear Giuseppe, no, I did not file a ticket for this, although I would support doing so. If I customize the default edit-ui via "Layer Properties" - "Attributes" and choose a "value map" for a numerical field the resulting ComboBox shows the Strings I define but saves the values to the layer's

Re: [Qgis-developer] Edit UI doesn't load the field's value

2010-12-07 Thread Giuseppe Sucameli
Hi Bernhard, On Tue, Dec 7, 2010 at 7:56 AM, Bernhard Ströbl wrote: > I can confirm this behaviour QGIS 1.5/WinXP, data from PostGIS database. Did you file a ticket yet? My workaround is to have e.g. the QComboBox filled with values and > _additionally_ have a QTextLine named the same as the fi

Re: [Qgis-developer] Edit UI doesn't load the field's value

2010-12-06 Thread Bernhard Ströbl
Hi Giuseppe, I can confirm this behaviour QGIS 1.5/WinXP, data from PostGIS database. My workaround is to have e.g. the QComboBox filled with values and _additionally_ have a QTextLine named the same as the field in my layer table holding the feature's current value. The QTextLine is not visib

[Qgis-developer] Edit UI doesn't load the field's value

2010-12-06 Thread Giuseppe Sucameli
Hi all, it seems there is a problem with Edit UI dialog. I have an .UI which contains a combobox and a spinbox. When I edit a row using the Edit UI dialog, the combobox PROVINCIA loads all the values of the PROVINCIA field, but doesn't select the current row value. The spinbox does the same, it do