aqt.filtered_deck#

Classes#

FilteredDeckConfigDialog

Dialog to modify and (re)build a filtered deck.

Module Contents#

class aqt.filtered_deck.FilteredDeckConfigDialog(mw: aqt.AnkiQt, deck_id: anki.decks.DeckId = DeckId(0), search: str | None = None, search_2: str | None = None)#

Bases: QDialog

Dialog to modify and (re)build a filtered deck.

GEOMETRY_KEY = 'dyndeckconf'#
DIALOG_KEY = 'FilteredDeckConfigDialog'#
silentlyClose = True#
mw#
col#
deck: anki.scheduler.FilteredDeckForUpdate#
on_fetch_error(exc: Exception) None#
load_deck_and_show(deck: anki.scheduler.FilteredDeckForUpdate) None#
reopen(_mw: aqt.AnkiQt, search: str | None = None, search_2: str | None = None, _deck: anki.decks.DeckDict | None = None) None#
set_custom_searches(search: str | None, search_2: str | None) None#
on_search_button() None#
on_search_button_2() None#
on_hint_button() None#

Open the browser to show cards that match the typed-in filters but cannot be included due to internal limitations.

reject() None#
accept() None#