I am using Qt 5.3 and want to highlight and select the text of QTextEdit like Qt Creator. What I get is just simple highlight with blue background and white color. I am able to change the highlight background and text color with stylesheet and QTextCharFormat. But I can not
- Make the highlight area's border radius little bit rounded.(Note in the screenshot)
- Draw a border to the selection area.(Note in the screenshot)
In other words I want to format the selection and highlight background area.