Quote Originally Posted by Mister_Crac View Post
Sounds good, but it does not seem to do the trick.
I have added this method call to paintEvent():

Qt Code:
  1. textDisplay->raise();
To copy to clipboard, switch view to plain text mode 
You don't want to do that during every single paint event. It would only cause unnecessary overhead.

But it still gets painted below the other widgets, not on top. See this Screenshot: http://img156.imageshack.us/img156/3...picturedf4.png
Children are always on top of their parent. From the attached screenshot it's impossible to see which widget is a children of which parent. So what are MyClass and textDisplay? You are raising textDisplay but MyClass actually draws the text?