mirror of
https://github.com/brmlab/edubrm.git
synced 2025-06-08 04:43:59 +02:00
work on user interface
This commit is contained in:
parent
333079d8a7
commit
68d5066b23
9 changed files with 213 additions and 59 deletions
BIN
software/modules/ModuleA.png
Normal file
BIN
software/modules/ModuleA.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.4 KiB |
|
@ -2,7 +2,8 @@ from module import Module
|
|||
|
||||
class ModuleA(Module):
|
||||
|
||||
group = "Acko"
|
||||
title = "Acko"
|
||||
board = 1
|
||||
desc = "Toto je Acko"
|
||||
|
||||
def setup(self, area):
|
||||
print 'setup A'
|
||||
print area
|
||||
|
|
BIN
software/modules/ModuleB.png
Normal file
BIN
software/modules/ModuleB.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.5 KiB |
|
@ -2,7 +2,8 @@ from module import Module
|
|||
|
||||
class ModuleB(Module):
|
||||
|
||||
group = "Bcko"
|
||||
title = "Bcko"
|
||||
board = 1
|
||||
desc = "Toto je Bcko"
|
||||
|
||||
def setup(self, area):
|
||||
print 'setup B'
|
||||
print area
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
class Module():
|
||||
|
||||
group = ""
|
||||
title = ""
|
||||
board = 1
|
||||
desc = ""
|
||||
title = ''
|
||||
|
||||
def start(self, area):
|
||||
raise Exception('not implemented')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue