View Full Version : Inheritance Question
RY
2nd October 2008, 20:26
Is it possible to inherit both QGraphicsScene and QGraphicsView?
mcosta
3rd October 2008, 07:30
I think yes but I don't think it's a good idea.
spirit
3rd October 2008, 08:13
Is it possible to inherit both QGraphicsScene and QGraphicsView?
you can't inherit more then one QObject classes. so, multiply inherit from QGraphicsScene & QGraphicsView isn't allowed. when you try to do this you can see an error in output.
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.