[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kstars-devel
Subject:    [Kstars-devel] KDE/kdeedu/kstars/kstars/widgets
From:       Akarsh Simha <akarshsimha () gmail ! com>
Date:       2010-07-28 20:02:57
Message-ID: 20100728200257.6B334AC782 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1156270 by asimha:

Adding a Generic calendar widget.

Now, this is a bad idea, but there seems to be no alternative at the
moment.

The issue is that we need a KDatePicker-equivalent that handles
customized date tables subclassed from KDateTable (such as the one
we've tweaked to draw the moon phases in the cells), but KDatePicker
does not permit you to access the KDateTable it uses.

While the (probably) ideal way to solve this problem is to get
KDatePicker to support customized KDateTables (I've requested this
with John Layt), this is a make-do thing till that happens. I
implement a "dirty" KDatePicker-replacement around a custom
KDateTable. Support for all calendars other than Gregorian is broken.

CCMAIL: kstars-devel@kde.org



 A             genericcalendarwidget.cpp   [License: GPL (v2+)]
 A             genericcalendarwidget.h   [License: GPL (v2+)]
 A             genericcalendarwidget.ui  


_______________________________________________
Kstars-devel mailing list
Kstars-devel@kde.org
https://mail.kde.org/mailman/listinfo/kstars-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic