Domanda

I want to create multitab text and html editor .I ecountered the problem : i need to implement undo/redo operation for each text browser individually .But the operations are applied to all windows at oncee. How can i fix it ?

È stato utile?

Soluzione

If you are using QTextEdit, you can enable undo redo by setting QTextEdit::setUndoRedoEnabled(true);

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top