سؤال

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 ?

هل كانت مفيدة؟

المحلول

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

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top