kernel_panic
10th October 2007, 20: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?
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?