Re: [Development] QCalendar and QCalendarBackend questions

2021-01-05 Thread Edward Welbourne
I just wrote: > let's create a ticket in Jira and sketch out what we can do. and I now see you've filed that ticket while I was writing, QTBUG-89824, so let's take any further discussion there, Eddy. ___ Development mailing list Development@qt-p

Re: [Development] QCalendar and QCalendarBackend questions

2021-01-05 Thread Edward Welbourne
Wang Gary (25 December 2020 17:40) wrote: > Hello, Hello Gary, likewise. As Thiago already said, you came to the right place, albeit while many of us were on vacation. > The first issue is, in order to get QCalendar support a new calendar > system, it seems like I need to subclass QCalendarBacken

Re: [Development] QCalendar and QCalendarBackend questions

2020-12-28 Thread Gary Wang
* Just add it to Qt, if it is useful. I don't think we should accept obsolete, fictional, or similar calendars, but if your proposal of Chinese Lunar calendar actually has uses, we should simply have it in QtCore. * * Agree! Chinese lunar calendar is widely used in mainland China and

Re: [Development] QCalendar and QCalendarBackend questions

2020-12-26 Thread Thiago Macieira
On Friday, 25 December 2020 13:40:22 -03 Wang Gary wrote: > The first issue is, in order to get QCalendar support a new > calendar system, it seems like I need to subclass > QCalendarBackend first, which is a private Qt API. Is that correct? > If so, is there any plan to make it public? If not, I h

[Development] QCalendar and QCalendarBackend questions

2020-12-25 Thread Wang Gary
Hello, I'd like to add an "alternate calendar system" to KDE's calendar applet, which, for example, will be able to allow users set to display a Chinese Lunar Calendar in the same MonthView as the main Gregorian calendar dates. Then QCalendar seems to be a good choice to use, then I found there ar