Dear everybody,

I have the following situation:

class myClass : public QWidget
{
...
protected void paintEvent (QPaintEvent *);
}

MainWindow::MainWindow (...)
{
...
QTabWidget * lTabWidget = new QTabWidget ();
myClass * lMyClass = new myClass;
ltabWidget->addTab (lMyClass, "First tab");
lMyClass = new myClass;
ltabWidget->addTab (lMyClass, "Second tab");
...
}

Well, Qt draws the tabs but never launch my re-implemented
paint event of myClass (which I need !).

Could you explain why and suggest me a way to get the paint
event running ?

Best Regards