void commonController::tickEvent()        // this will often be an interrupt routine
{
   checkControls();
}
void MainWindow::timerEvent (QTimerEvent *e)
{
	checkControls();
}