added dummy modules B and C

This commit is contained in:
Pavol Rusnak 2011-05-01 11:37:46 +02:00
parent 1665de3ea7
commit 5401986edd
10 changed files with 130 additions and 3 deletions

View file

@ -18,6 +18,8 @@ class ModuleButton(QPushButton):
self.clicked.connect(self.on_clicked)
def on_clicked(self):
# reinit because of the widget
self.mod.__init__()
self.form.ui.areaChoose.hide()
self.form.ui.btnExit.hide()
self.form.ui.btnBack.show()
@ -44,7 +46,6 @@ class Main(QMainWindow):
def on_btnBack_clicked(self):
self.mod.stop()
self.ui.lblTitle.setText('EduBRM')
# TODO: erase everything from self.ui.areaModule
self.ui.areaChoose.show()
self.ui.areaModule.hide()
self.ui.btnExit.show()