PyQt5.QtWidgets.
QUndoStack
C++ documentation
QUndoGroup
QUndoView
Enter search terms or a module, class or function name.