[PyQt] How to clear QDateTime

Marc Nations mnations.lists at gmail.com
Sat Jan 31 18:15:23 GMT 2009


Hi,
I can't seem to clear out the QDateTime field in cases where I don't want
the date displayed. Using clear() seems to wipe out the first entry (in this
case the hour). I tried hitting multiple clears thinking that it may just
work down the list, but that didn't work. Is there a way to blank out the
field completely? I know it can be disbled, but I'd like to have it be blank
until the user goes and selects the pop-up calendar.

Thanks,
Marc
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20090131/8ffe368a/attachment.html


More information about the PyQt mailing list