QUndoStack

class PyQt5.QtWidgets.QUndoStack

C++ documentation