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.
精彩评论