开发者

How to make tree structured text editor in Qt/Pyqt?

can you ad开发者_StackOverflow社区vice what to use for making tree structured text editor?

I used QTreeView for this (asked few questions to solve my problems), but it seams it's not suitable for this purpose.

Thanks in advance,

Serge


What exactly do you mean by "tree structured text editor"?

QTreeView itself is hardly suitable for an editor, but it can be used to select which files to edit/show. So you can have two main widgets: on the left a tree with files/directories, and on the right a text editor widget such as QTextEdit for the editing itself.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜