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

Denis Rouzaud denis.rouzaud at gmail.com
Thu Mar 20 07:17:45 PDT 2014


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.
>



More information about the Qgis-developer mailing list