PDA

View Full Version : Line Numbering in textedit



aaditya190
15th November 2013, 06:11
I am using a textedit along with some other components in a Qt Gui Application. I wish to introduce line numbering and line highlighting to the textedit. I referred to various links but it shows only single textedit on the entire Main Window instead I want to use textedit as well as other gui components. Can someone help me for this? I am posting the link that I referred.

http://qt-project.org/doc/qt-4.8/widgets-codeeditor.html

patrik08
15th November 2013, 07:31
Hi ... yo can find a lot of example on qt apps http://qt-apps.org/index.php?xcontentmode=4210
by read of source code you can learn more....

Lesiok
15th November 2013, 08:58
What really is your problem? Numbering and highlighting rows in the widget has nothing to do with the fact that it is the only widget or one of the many.