Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-115200

Write a QCalendar example illustrating the user-supplied plugin mechanism

    XMLWordPrintable

Details

    • Task
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 5.14, 6.6
    • Core: Date/Time
    • None
    • All
    • 13
    • 165f63878 (dev), 33cc65328 (dev), bbdf2b86f (6.7)
    • Foundation PM Prioritized

    Description

      We should have an example that explains how to write a plugin to implement a custom calendar backend for QCalendar. It should make clear that the backend API is, like the QPA, not subject to the usual compatibility promises.

      A candidate example would be a (naïve – don't try to represent Sweden's transition) Julian-Gregorian calendar whose constructor takes a QDate at which to make the transition from Julian to Gregorian. (Unfortunately this can't use QJulianCalendar or QGregorianCalendar – they're not public API – so shall need to duplicate some code from them.)

      Writing this example (and testing it works) may well uncover some things in need of fixing in the backend API.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            magdalenas Magdalena Stojek
            Eddy Edward Welbourne
            Vladimir Minenko Vladimir Minenko
            Alex Blasche Alex Blasche
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Time Tracking

                Estimated:
                Original Estimate - 3 weeks
                3w
                Remaining:
                Remaining Estimate - 3 weeks
                3w
                Logged:
                Time Spent - Not Specified
                Not Specified