Search code examples
pythonpyqtqtablewidgetundo-redo

PyQt: QTabbleWidget with Undo and Redo Actions


So, I'm using Python with PyQt. In my application, I have a QTableWidget. What I notice is that it doesn't keep some sort of "history" for undo and redo. How can I achieve that?


Solution

  • You have to track the history yourself. Qt has Undo Framework for that.