View Full Version : paintEvent in eventFilter

10th October 2007, 21:34
Hi guys!
i install an evetFilter on a widget from a qobject. in the eventFilter function i catch the paintEvent and do it in the object. but it doesn't paint anything onto the widget... i use a variable of the widget, to set the paintDevice.

QPainter p(privateWidget//privateWidget is the widget with the eventFilter installed);

What are im making wrong?

10th October 2007, 21:59
hehe^^ solved by myself..........