[Marble-devel] Play and stop the simulation
marble_developer marble_developer
marbledeveloper at gmail.com
Thu May 24 18:35:32 UTC 2012
Hi all,
Is it possible to stop the simulation and then continue it?
I have used this code: model()->clock()->setSpeed(0); to stop simulation
and then I have use this another code to continue:
model()->clock()->setSpeed(1000);
I call this code by QPushButton's slots monitoring the clicked() SIGNAL.
But the Earth appears in other position like if the simulation hadn't
stopped.
What is the correct way to do it?
Regards.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/marble-devel/attachments/20120524/6abc886f/attachment.html>
More information about the Marble-devel
mailing list