[PyQt] empty QDateEdit

Milan Hemžal 001g at email.cz
Sun Feb 22 12:47:06 GMT 2009


Hi,

do you know nobody, howto wrote in the QDateEdit empty?

i need if QDateEdit display empty ...

I mean dd.mm.yyyy == . .

----------------------------
I trying use .clear() but this not working correct. QDateEdit 

before:
.clear
QDateEdit.date() return 
=> QDate: PyQt4.QtCore.QDate(2000, 1, 1)

after:
QDate: PyQt4.QtCore.QDate(2000, 1, 1)

I want: None or -1.

Is possible this?

Thanks 
Milan


More information about the PyQt mailing list