Hi everyone,
I try to write a tree structured text editor based on QTreeView, but it appeared to be difficult, if even possible. Have anyone tried to do the same? Can you advice what to use for this purpose?
Regards
corrado
Hi everyone,
I try to write a tree structured text editor based on QTreeView, but it appeared to be difficult, if even possible. Have anyone tried to do the same? Can you advice what to use for this purpose?
Regards
corrado
I haven't tried it but I would go for: Use a normal QTextEdit or QPaĺainTextEdit and emulate a tree beside (like the line number editor from the docs). On hiding a "node" just set the blocks of the document invisible etc. You can also have a look in the source code of Qt Creator and see how they make it.
corrado (20th April 2010)
Bookmarks