Trolltech Home | Qt-jambi-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 1

Qt-jambi-interest Archive, January 2008
QDateEdit NULL value ?


Message 1 in thread

Is it possible to enter and have displayed in a
QDateEdit the NULL value ?

Thanks,
Danny


      ____________________________________________________________________________________
Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  http://tools.search.yahoo.com/newsearch/category.php?category=shopping


Message 2 in thread

Hi Danny

On Monday 07 January 2008 21:25, Danny Sporea wrote:
> Is it possible to enter and have displayed in a
> QDateEdit the NULL value ?

I don't think this is possible. A QDateEdit will always show a date even if 
the QDate object reports true on isNull(). If the QDate is a 'null date' then 
is will show. "1/01/00"

I don't know if this would help you, but I would probably have had an extra 
checkbox beside the QDateEdit that would signal a null date by disabling the 
QDateEdit widget.

Best regards
    Håvard F

>
> Thanks,
> Danny
>
>
>      
> ___________________________________________________________________________
>_________ Looking for last minute shopping deals?
> Find them fast with Yahoo! Search. 
> http://tools.search.yahoo.com/newsearch/category.php?category=shopping