PDA

View Full Version : Like Qtcreator editor



wirasto
2nd December 2009, 01:53
How to make QTextEdit like Qtcreator editor ? Have a right margin with different background color. I take a look a qtdoc for QTextEdit stylesheet sample. But there is nothing.

dbzhang800
2nd December 2009, 05:35
How to make QTextEdit like Qtcreator editor ? Have a right margin with different background color. I take a look a qtdoc for QTextEdit stylesheet sample. But there is nothing.

http://qt.nokia.com/doc/4.6/widgets-codeeditor.html

aamer4yu
2nd December 2009, 08:00
Or you can dig Qt Creator code too.. isnt it :rolleyes: