mirror of
https://github.com/brmlab/edubrm.git
synced 2025-06-08 21:03:59 +02:00
start working on debug module
This commit is contained in:
parent
015144598c
commit
f5e244a7b2
5 changed files with 166 additions and 27 deletions
|
@ -1,14 +1,19 @@
|
|||
from module import Module
|
||||
from PyQt4.QtGui import QWidget
|
||||
from PyQt4.QtCore import pyqtSlot
|
||||
from ModuleDebugUi import Ui_ModuleDebug
|
||||
|
||||
class ModuleDebug(Module):
|
||||
class ModuleDebugWidget(QWidget):
|
||||
|
||||
title = 'Debug'
|
||||
|
||||
def setup(self, area):
|
||||
print 'setup Debug'
|
||||
def __init__(self):
|
||||
QWidget.__init__(self)
|
||||
self.ui = Ui_ModuleDebug()
|
||||
self.ui.setupUi(area)
|
||||
self.ui.setupUi(self)
|
||||
|
||||
class ModuleDebug():
|
||||
|
||||
def __init__(self):
|
||||
self.title = 'Debug'
|
||||
self.widget = ModuleDebugWidget()
|
||||
|
||||
def run(self):
|
||||
print 'run Debug'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue