aqt.preferences#
Classes#
Functions#
Module Contents#
- class aqt.preferences.Preferences(mw: aqt.AnkiQt)#
Bases:
QDialog- mw#
- prof#
- form#
- silentlyClose = True#
- setup_configurable_answer_keys()#
Create a group box in Preferences with widgets that let the user edit answer keys.
- accept() None#
- accept_with_callback(callback: collections.abc.Callable[[], None] | None = None) None#
- reject() None#
- setup_collection() None#
- update_collection(on_done: collections.abc.Callable[[], None]) None#
- setup_profile() None#
Setup options stored in the user profile.
- update_profile() None#
- setup_network() None#
- update_login_status() None#
- on_media_log() None#
- sync_login() None#
- sync_logout() None#
- ankihub_sync_login() None#
- ankihub_sync_logout() None#
- confirm_sync_after_login() None#
- update_network() None#
- setup_global() None#
Setup options global to all profiles.
- update_global() None#
- on_theme_changed(index: int) None#
- on_reset_window_sizes() None#
- setupOptions() None#
- updateOptions() None#
- setup_language() None#
- current_lang_index() int#
- on_language_index_changed(idx: int) None#
- setup_video_driver() None#
- update_video_driver() None#
- aqt.preferences.video_driver_name_for_platform(driver: aqt.profiles.VideoDriver) str#