Access the user’s calendar. More…
New in version 6.5.
This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE
By default the request is for read-only access. Use
setAccessMode() to override the default.
To request this permission at runtime, the following platform specific usage declarations have to be made at build time:
accessMode()is set to AccessMode::ReadWrite.
Please see the individual usage declaration types for how to add them to your project.
- class PySide6.QtCore.QCalendarPermission#
This enum is used to control access to the calendar data.
Returns AccessMode::ReadWrite when the request is for read-write and AccessMode::ReadOnly when it is for read-only access to the calendar.
Sets whether the request is for read-write (
mode == AccessMode::ReadOnly) or read-only (
mode == AccessMode::ReadOnly) access to the calendar.