qt實現撤銷和恢復功能

from PyQt5.QtWidgets import QUndoStack, QUndoCommand class Test(object): def __init__(self): super().__init__() self.undoStack = QUndoStack() # 存放命令的棧 self.undoStack.pus
相關文章
相關標籤/搜索