S
S
Sergey Chuprin2014-05-30 10:58:55
Qt
Sergey Chuprin, 2014-05-30 10:58:55

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

1 answer(s)
N
Nikita Permin, 2014-05-30
@creati8e

Learn :)
https://qt.gitorious.org/qt-labs/devnet-examples/s...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question