A world in a QGraphicsScene with a timer. More...
#include <wqstauto.h>
Inheritance diagram for april::Gui::WqsTAuto:Public Slots | |
| bool | changeFrequency (int new_val) |
| change the frequency of the timer | |
| bool | changeInterval (int new_val) |
| change number of ticks after which worldTick() is fired | |
| bool | start (void) |
| start the internal timer | |
| bool | stop (void) |
| stop the internal timer | |
Public Member Functions | |
| WqsTAuto (QObject *parent=NULL) | |
| constructor; | |
| virtual | ~WqsTAuto (void) |
| destructor; | |
| bool | isRunning (void) const |
| tell if the timer is running | |
| int | frequency (void) const |
| tell the frequency of the timer | |
| int | interval (void) const |
| number of ticks after which worldTick() is fired | |
Public Member Functions inherited from april::Gui::WorldQScene | |
| WorldQScene (QObject *parent=NULL) | |
| constructor; | |
| virtual | ~WorldQScene (void) |
| destructor; | |
| World * | world (void) const |
| underlying world object | |
| bool | hasWorld (void) const |
| has a world or is empty | |
| bool | openWorld (const QString &s_file, QString &s_err) |
| open a world from a file | |
| bool | closeWorld (QString &s_err) |
| close current world; fails if the world is running | |
| bool | loadWorld (World *w, QString &s_err) |
| loads provided world | |
| bool | save (QString &s_err) |
| save to current file; if none is associated user is asked | |
| bool | saveAs (QString &s_err) |
| save to current file; if none is associated user is asked | |
| const QString & | associatedFile (void) const |
| associated file | |
| bool | hasAssociatedFile (void) const |
| has associated file | |
A world in a QGraphicsScene with a timer.