aqt.browser.previewer#

Attributes#

Classes#

Module Contents#

aqt.browser.previewer.LastStateAndMod#
class aqt.browser.previewer.Previewer(parent: aqt.browser.Browser | None, mw: aqt.AnkiQt, on_close: collections.abc.Callable[[], None])#

Bases: aqt.qt.QDialog

mw#
abstractmethod card() → anki.cards.Card | None#
abstractmethod card_changed() → bool#
open() → None#
render_card() → None#
cancel_timer() → None#
type_ans_preview_filter(txt: str, type: Literal['question', 'answer']) → str#
state() → str#
class aqt.browser.previewer.MultiCardPreviewer(parent: aqt.browser.Browser | None, mw: aqt.AnkiQt, on_close: collections.abc.Callable[[], None])#

Bases: Previewer

abstractmethod card() → anki.cards.Card | None#
abstractmethod card_changed() → bool#
class aqt.browser.previewer.BrowserPreviewer(parent: aqt.browser.Browser, mw: aqt.AnkiQt, on_close: collections.abc.Callable[[], None])#

Bases: MultiCardPreviewer

card() → anki.cards.Card | None#
card_changed() → bool#