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