I am just learning Qt. I want to show line number of QPlainTextEdit. I found this link http://doc.qt.io/qt-5/qtwidgets-widg...r-example.html
and it worked. But now I want the editor displays the line numbers in an area to the RIGHTof the area for editing. I have been search google very much but i can't solve. How to solve? Thank you very much
[1]: http://i.stack.imgur.com/x4AKi.png