You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

UIController.py 472B

12345678910111213141516171819202122232425
  1. from UIModell import *
  2. from UIView import *
  3. class Controller():
  4. def __init__(self, m, v):
  5. self.model = m
  6. self.view = v
  7. def test(self):
  8. self.model.trainXDawn()
  9. def commandoCopySpelling(self):
  10. self.model.startCopySpelling()
  11. self.model.trainXDawn()
  12. self.model.rainClassifier()
  13. def commandFreeSpelling(self):
  14. self.model.freeSpelling()
  15. def commandStop(self):
  16. self.model.killProzess()