[Interest] qdateedit

Rene Decartes rene.decartes.too at gmail.com
Fri Oct 2 01:41:06 CEST 2015


thiago,

thanks for your quick response.

being different classes, i understand that. what i am missing is it seems intuitive that is qdate is a natural fit for qdateedit data. and from that, i would presume that qdateedit would be able to display any valid qdate. it would seem i am mistaken. this begs the question as how to enter a date into qdate in a convenient way as it would be in qdateedit?

On Thu, 01 Oct 2015 13:13:59 -0700
Thiago Macieira <thiago.macieira at intel.com> wrote:

> On Thursday 01 October 2015 14:56:15 Rene Decartes wrote:
> > hello,
> > 
> > i am using qt5.5 and having problems with same. there are two difficulties:
> > a) while qDate has a "... range of valid dates is from January 2nd, 4713
> > BCE, to sometime in the year 11 million CE.", qDateEdit setMinimumDate
> > documentation say "minimum date must be at least the first day in year 100,
> > otherwise setMinimumDate() has no effect." is there a way around this
> > contradiction?
> 
> There's no contradiction. QDate and QDateEdit are different classes. QDate's 
> range is bigger than QDateEdit's.
> 
> -- 
> Thiago Macieira - thiago.macieira (AT) intel.com
>   Software Architect - Intel Open Source Technology Center
> 


-- 
rd

There are 10 kinds of people. Those who understand binary code, and those who do not.



More information about the Interest mailing list