Qt Tabs for Files

2.4k Views Asked by At

Well, i'm working on an IDE System, which can open multiple files at same time. I'm somewhat noob with Tabs. What i'm trying to do is a TabSystem, you click a file on the File Tree and it opens a new tab for it and show it's content. You can switch to other tag then switch to that one, drag tabs, etc.

Any idea?

1

There are 1 best solutions below

2
On BEST ANSWER

To display your project tree you could use QTreeWidget. For file content you could use QTextEdit(for starter). Use QTabWidget to show multiple QTextEdits in different tabs.