Qt Tabs for Files
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 t开发者_如何学编程ab for it and show it's content. You can switch to other tag then switch to that one, drag tabs, etc.
Any idea?
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.
精彩评论