Example #1
0
 def stop(self):
     """ Stop the process """
     if self.keyboardEmu:
         self.send(self.restKey)
         QTimer.singleShot(100, lambda:
             ProcessButton.stop(self, 2))
     else:
         ProcessButton.stop(self, 2)
Example #2
0
 def __init__(self, parent):
     ProcessButton.__init__(self, _("REC"), parent)
     self.setFont(QFont("Sans", 20, 75))
     self.setMinimumWidth(100)
     self.setMaximumHeight(200)
     QToolTip.add(self, _("Start or stop Rumor"))
Example #3
0
 def __init__(self, parent):
     ProcessButton.__init__(self, _("TiMidity"), parent)
     QToolTip.add(self, _("Start or stop the TiMidity ALSA MIDI client."))