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 ?
Asked
Active
Viewed 301 times
0
1 Answers
0
If you are using QTextEdit
, you can enable undo redo by setting QTextEdit::setUndoRedoEnabled(true);

Pratham
- 1,522
- 1
- 18
- 33
QTextEdit* currentEdit = qobject_cast(tabWidget->widget(tabWidget->currentIndex()));
This is the best way to get current text field ? – Creati8e May 15 '14 at 13:12