zasim.gui.control - The control bar

Inheritance diagram of zasim.gui.control

class zasim.gui.control.ControlWidget(simulator, **kwargs)[source]

Bases: PySide.QtGui.QWidget

Control a simulator with buttons or from the interactive console.

Parameters:simulator – The simulator object to control.
closeEvent(event)[source]
start()[source]

Start running the simulator.

stop()[source]

Stop the simulator.

change_delay(delay)[source]

Change the timer delay of the simulator steps.

set_config(conf=None)[source]
staticMetaObject = <PySide.QtCore.QMetaObject object at 0x470b488>
class zasim.gui.control.FramerateWidget(sim, **kwargs)[source]

Bases: PySide.QtGui.QLabel

started()[source]
stopped()[source]
timerEvent(event)[source]
staticMetaObject = <PySide.QtCore.QMetaObject object at 0x468ea70>

Previous topic

zasim.gui.mainwin - A main window for the gui

Next topic

zasim.gui.reset - Create/load configs and reset simulators

This Page