[Qgis-developer] problem with custom UI feature form with dates

Matthias Kuhn matthias.kuhn at gmx.ch
Thu Mar 20 07:29:55 PDT 2014


Or you could just tell me to include this in the refactoring work ;-)

Best
Matthias

On Thu 20 Mar 2014 03:17:45 PM CET, Denis Rouzaud wrote:
> OK, thanks!
>  one more thing for the HF ;)
>
> On 20. 03. 14 15:11, Hugo Mercier wrote:
>> Le 20/03/2014 14:18, Denis Rouzaud a écrit :
>>> Hi all,
>>>
>>> I have noticed some problem with custom feature forms when using dates.
>>> In my form I use a QDateEdit.
>>> If I leave the field in QGIs as line edit, the date is not set in the
>>> widget.
>>> If I set the field as calendar, it messes up the form.
>>> Here it is in picture: http://imgur.com/a/X7chU
>>>
>>> Is there any way to use QDateEdit???
>>>
>>> Cheers,
>> Hi Denis,
>>
>> I've had the same issue here.
>> After looking at the code, a QCalendar object is needed for a date
>> field. There is no support for QDateEdit.
>>
>
> _______________________________________________
> 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