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

Qt-interest Archive, March 2002
QCalendar?


Message 1 in thread

I think it would be nice if there was some sort
of Calendar widget. Does something like this exist
or is possibly in the works?

-- 
 [ signature omitted ] 

Message 2 in thread

Look at http://sourceforge.net/projects/freemarket/.

Jeff Shipman a écrit :

> I think it would be nice if there was some sort
> of Calendar widget. Does something like this exist
> or is possibly in the works?
>
> --
> Jeff "Shippy" Shipman     E-Mail: shippy@nmt.edu
> Computer Science Major    ICQ: 1786493
> New Mexico Institute of Mining and Technology
> Homepage: http://www.nmt.edu/~shippy
>
> --
> List archive and information: http://qt-interest.trolltech.com

--
 [ signature omitted ] 

Message 3 in thread

I took a look at that calendar class out of curiosity.
It looks pretty nice, but it has some significant problems.

1) Uses mostly C library calls to do string processing.  Including
non-standard ones that aren't portable like strsep().  It also uses
strtok() which is usually recommended against in general.  After
removing the strsep call I was able to get it to compile on Windows.
The code should be changed to use QString/QStringList things probably
for better portablility.
2) It leaks everywhere.  There's nary a destructor in the whole thing,
though plenty of calls to "new".
3) It crashes on exit in Windows.  So I'm guessing there are more memory
problems than just the leaks.

Still it does have a fairly nice look to it, so whoever was looking for
a calendar might be able to use it as a starting point.   I don't really
need a calendar class for anything so I'm not going to be fixing it!
I'm not even sure why I bothered to download it!

--bb

Stéphane Colson wrote:

> Look at http://sourceforge.net/projects/freemarket/.
>
> Jeff Shipman a écrit :
>
> > I think it would be nice if there was some sort
> > of Calendar widget. Does something like this exist
> > or is possibly in the works?
> >
> > --
> > Jeff "Shippy" Shipman     E-Mail: shippy@nmt.edu
> > Computer Science Major    ICQ: 1786493
> > New Mexico Institute of Mining and Technology
> > Homepage: http://www.nmt.edu/~shippy
> >
> > --
> > List archive and information: http://qt-interest.trolltech.com
>
> --
> Stephane Colson
>
> --
> List archive and information: http://qt-interest.trolltech.com