tonnot
1st September 2011, 15:22
At diagramscene example I see :
scene->update();
view->update();
I also see :
DiagramScene::mousePressEvent(QGraphicsSceneMouseE vent *mouseEvent)
The model-view applied to this is some confused.....
It is as the two objects were sharing something ....
Who is the responsible of draw ?
Can I create a mix - object ? (On object with the mixed of both)
Is it possible ? It is a bad - good idea ?
Any explication?
Thanks
scene->update();
view->update();
I also see :
DiagramScene::mousePressEvent(QGraphicsSceneMouseE vent *mouseEvent)
The model-view applied to this is some confused.....
It is as the two objects were sharing something ....
Who is the responsible of draw ?
Can I create a mix - object ? (On object with the mixed of both)
Is it possible ? It is a bad - good idea ?
Any explication?
Thanks