[PyQt] Null dates in QDateEdit

Catriona Johnson catriona.johnson at gmail.com
Thu Jan 10 03:31:00 GMT 2008

I am new to PyQT and would appreciate help with the following problem.
I have a database table that has, amongst other fields, a nullable
date - EndDate. On my form I have a QDateEdit widget which I only want
to show a value if the date is not null, a user will enter a date once
there is one and this will often be on subsequent edits of the record.
So my question is how are null dates handled with a QDateWidget?

More information about the PyQt mailing list