Mercurial > lcfOS
comparison python/ide.py @ 254:bd26dc13f270
Added logger
author | Windel Bouwman |
---|---|
date | Wed, 31 Jul 2013 21:20:58 +0200 |
parents | 6ed3d3a82a63 |
children | 7416c923a02a |
comparison
equal
deleted
inserted
replaced
253:74c6a20302d5 | 254:bd26dc13f270 |
---|---|
12 from codeedit import CodeEdit | 12 from codeedit import CodeEdit |
13 stutil = __import__('st-util') | 13 stutil = __import__('st-util') |
14 import c3 | 14 import c3 |
15 import zcc | 15 import zcc |
16 import outstream | 16 import outstream |
17 import logging | |
17 | 18 |
18 | 19 |
19 class BuildOutput(QTextEdit): | 20 class BuildOutput(QTextEdit): |
20 """ Build output component """ | 21 """ Build output component """ |
21 def __init__(self, parent=None): | 22 def __init__(self, parent=None): |
293 stl.halt() | 294 stl.halt() |
294 | 295 |
295 self.buildOutput.append("Done!") | 296 self.buildOutput.append("Done!") |
296 | 297 |
297 if __name__ == '__main__': | 298 if __name__ == '__main__': |
299 logging.basicConfig(level=logging.DEBUG) | |
298 app = QApplication(sys.argv) | 300 app = QApplication(sys.argv) |
299 ide = Ide() | 301 ide = Ide() |
300 ide.show() | 302 ide.show() |
301 app.exec_() | 303 app.exec_() |
302 | 304 |