Hi Friends,

I am writing a application having some widgets on the QGraphicsView, my class looks like:

class MyClass: public QGraphicsView
{

....
widget1; //QPushbutton
....
widget2;//QTabWidget
....
protected:
void mousePressEvent(QMouseEvent * event);
};

I have implemented "mousePressEvent" in my source code because I need it for some functionality. Now I am facing problems like when mouse press event is present there is no action happened with "QTabWidget" and QPushbutton (double click work instead of single click). So now I want to do:

- Mouse press event functionality.
- QPushbutton behaviors.
- QTabWidget behaviors.

for class "MyClass".

Please provide some suggestion to achieve this.