Answer the question
In order to leave comments, you need to log in
Qt 5.2 QPlainTextEdit how to make code block folding like in Visual Studio for example?
That is, next to a function or other construction, you need to draw a square with a minus in the expanded state, or with a plus in the collapsed state. I imagine that I will have to redefine paintEvent , but I don’t know what to do next.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question