aqt.operations.deck
===================

.. py:module:: aqt.operations.deck


Functions
---------

.. autoapisummary::

   aqt.operations.deck.remove_decks
   aqt.operations.deck.reparent_decks
   aqt.operations.deck.rename_deck
   aqt.operations.deck.add_deck_dialog
   aqt.operations.deck.add_deck
   aqt.operations.deck.set_deck_collapsed
   aqt.operations.deck.set_current_deck
   aqt.operations.deck.update_deck_configs
   aqt.operations.deck.update_deck_dict


Module Contents
---------------

.. py:function:: remove_decks(*, parent: aqt.qt.QWidget, deck_ids: collections.abc.Sequence[anki.decks.DeckId], deck_name: str) -> aqt.operations.CollectionOp[anki.collection.OpChangesWithCount]

.. py:function:: reparent_decks(*, parent: aqt.qt.QWidget, deck_ids: collections.abc.Sequence[anki.decks.DeckId], new_parent: anki.decks.DeckId) -> aqt.operations.CollectionOp[anki.collection.OpChangesWithCount]

.. py:function:: rename_deck(*, parent: aqt.qt.QWidget, deck_id: anki.decks.DeckId, new_name: str) -> aqt.operations.CollectionOp[anki.collection.OpChanges]

.. py:function:: add_deck_dialog(*, parent: aqt.qt.QWidget, default_text: str = '') -> aqt.operations.CollectionOp[anki.collection.OpChangesWithId] | None

.. py:function:: add_deck(*, parent: aqt.qt.QWidget, name: str) -> aqt.operations.CollectionOp[anki.collection.OpChangesWithId]

.. py:function:: set_deck_collapsed(*, parent: aqt.qt.QWidget, deck_id: anki.decks.DeckId, collapsed: bool, scope: anki.decks.DeckCollapseScope.V) -> aqt.operations.CollectionOp[anki.collection.OpChanges]

.. py:function:: set_current_deck(*, parent: aqt.qt.QWidget, deck_id: anki.decks.DeckId) -> aqt.operations.CollectionOp[anki.collection.OpChanges]

.. py:function:: update_deck_configs(*, parent: aqt.qt.QWidget, input: anki.decks.UpdateDeckConfigs) -> aqt.operations.CollectionOp[anki.collection.OpChanges]

.. py:function:: update_deck_dict(*, parent: aqt.qt.QWidget, deck: anki.decks.DeckDict) -> aqt.operations.CollectionOp[anki.collection.OpChanges]

