Hi,

I have created a user interface by code (not using designer). I created a custom QGraphicsView and add all widgets to it, did override mousewheel event to support zoom in and zoom out. But now I have to do the same thing using designer.
So I drop a QGraphicsView in Mainwindow and promote it to my custom class. Then I drop couple of push buttons on it and try to run. The scaling doesn't work now. The other change I have now is am passing a QWidget as argument to QGraphicsView constructor instead of QGraphicsScene. Is that the reason that scaling stopped working?

Also how can I add widgets to QGraphicsView (using designer) so that I can scale them?

Thanks.