Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
How to have multiple tabs to open every new file in editor
moyin last edited by
Hi, Actually i have designed an simple editor , till now i'm addressing a common Qtextedit for edit,cut,paste,undo,redo actions. but now the requirement is like i should have new tab with qtextedit for individual file.
any one can help me in this regard.
use a QTabWidget and place a QTextEdit inside it for each added tab.
You can just use a tab widget and place Qtextedit on those.
Also need to have the concept of active QTextedit and not just the one you are using now.
You can just use a pointer or what else you find easy.