Kazuma
Kazuma

Reputation: 1401

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 tab for it and show it's content. You can switch to other tag then switch to that one, drag tabs, etc.

Any idea?

Upvotes: 3

Views: 2542

Answers (1)

zkunov
zkunov

Reputation: 3412

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.

Upvotes: 1

Related Questions