aqt.operations.collection
=========================

.. py:module:: aqt.operations.collection


Functions
---------

.. autoapisummary::

   aqt.operations.collection.undo
   aqt.operations.collection.redo
   aqt.operations.collection.set_preferences


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

.. py:function:: undo(*, parent: aqt.qt.QWidget) -> None

   Undo the last operation, and refresh the UI.


.. py:function:: redo(*, parent: aqt.qt.QWidget) -> None

   Redo the last operation, and refresh the UI.


.. py:function:: set_preferences(*, parent: aqt.qt.QWidget, preferences: anki.collection.Preferences) -> aqt.operations.CollectionOp[anki.collection.OpChanges]

