If it's just "an object" then you shouldn't derive it from QWidget. Everything what inherits QWidget is a widget.Originally Posted by djoul
In Qt4 you can draw on widgets only in their paintEvent() method. This means that you have to invoke Son::draw() from your widget's paintEvent().
No it's not, you just see the Son widget.Originally Posted by djoul




Reply With Quote
Bookmarks