3
votes

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
Did you try to use QTabWidget + QTabBar for your purposes ? doc.qt.nokia.com/latest/qtabwidget.htmlJohnny

1 Answers

1
votes

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.