开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜