[PyQt] empty QDateEdit
David Douard
david.douard at logilab.fr
Sun Feb 22 17:30:18 GMT 2009
Le Sunday 22 February 2009 13:47:06 Milan Hemžal, vous avez écrit :
> Hi,
>
> do you know nobody, howto wrote in the QDateEdit empty?
>
This has been discussed earlier on this list.
Look for subjet "[PyQt] How to clear QDateTime" sent on 31/01/2009.
David
> 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
> _______________________________________________
> PyQt mailing list PyQt at riverbankcomputing.com
> http://www.riverbankcomputing.com/mailman/listinfo/pyqt
--
David Douard LOGILAB, Paris (France), +33 1 45 32 03 12
Formations Python, Zope, Debian : http://www.logilab.fr/formations
Développement logiciel sur mesure : http://www.logilab.fr/services
Informatique scientifique : http://www.logilab.fr/science
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20090222/53eaaf83/attachment.bin
More information about the PyQt
mailing list