|
发表于 2005-5-6 03:14:47
|
显示全部楼层
mandrakechina,
是的,我就是 sub-class 的 KCalendarSystem,不过为了调试,我还写了个 application
多谢你指出的那个bug,我会在那提交的,不过我想在提交之前,先做些测试
那个 bug 里面提到一个 万年历,看上去比我现在用的这个方案好:可以算 -850 年到 2100 年(现在完成的这个是 1900-2100的)
还没仔细看,如果那个核心也不是很复杂的话,我会考虑基于那种算法重写一下。尽管我个人觉得 1900-2100的这个范围已经可以满足决大多数人的需求了...
bamfox,
请问你是指哪个 ML?
我现在还没提交农历核心的另一个主要原因是,我还没有想好怎么在 KDE 中将它充分利用起来... 我在 KDE ML 上问了,现在还没有人给我进一步的建议
我想的是:(copied from my last email to kde-dev ML)
Now I am playing with a test program (called kalendar), which has its
only implementation of KDatePicker, and now I'd like to add my own
KDataTable.
IMO, the requirements for the new KDataTable is as follows:
1. the available info of each day, is supplied by plugins
2. In each of the cell (a day), the layout of the information is
customizable by the user (this including whether or not a specific
info should be displayed or not)
My proposed way of implementing this is to provide a XML document
type, and each plugins can insert its own info into the doc: all
information from enabled plugins are made available in the XML doc.
What and how to present to the user in each cell in KDataTable is
determined by a xslt transform file (like the way in kopete chat
window customization)
Comments are highly welcomed. Thanks.
当我实现了这一类的一个应用后,我才能好好测试现在的这个 KCalendarSystem 核心 |
|