I am just learning Qt. I want to show line number of QPlainTextEdit
. I found this link http://doc.qt.io/qt-5/qtwidgets-widgets-codeeditor-example.html
and it worked. But now I want QPlainTextEdit
to show line number with other controls on the form as in the image below.
Thanks!