Mercurial > lcfOS
comparison python/ide.py @ 100:fe145e42259d
Fixes after movage
author | windel |
---|---|
date | Mon, 24 Dec 2012 16:35:22 +0100 |
parents | 6efbeb903777 |
children | af0d7913677a |
comparison
equal
deleted
inserted
replaced
99:6efbeb903777 | 100:fe145e42259d |
---|---|
8 from PyQt4.QtCore import * | 8 from PyQt4.QtCore import * |
9 from PyQt4.QtGui import * | 9 from PyQt4.QtGui import * |
10 | 10 |
11 # Compiler imports: | 11 # Compiler imports: |
12 from project import Project | 12 from project import Project |
13 from ppci import Compiler | 13 from ppci import KsCompiler |
14 from widgets import CodeEdit, AstViewer | 14 from astviewer import AstViewer |
15 from codeeditor import CodeEdit | |
15 | 16 |
16 lcfospng = base64.decodestring(b'iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A\n/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9sJEhMKBk7B678AAAA/SURBVFjD\n7dbBCQAgDATBi9h/y7EFA4Kf2QLCwH1S6XQu6sqoujublc8BAAAAAAAAAAB8B+zXT6YJAAAAAKYd\nWSgFQNUyijIAAAAASUVORK5CYII=\n') | 17 lcfospng = base64.decodestring(b'iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A\n/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9sJEhMKBk7B678AAAA/SURBVFjD\n7dbBCQAgDATBi9h/y7EFA4Kf2QLCwH1S6XQu6sqoujublc8BAAAAAAAAAAB8B+zXT6YJAAAAAKYd\nWSgFQNUyijIAAAAASUVORK5CYII=\n') |
17 | 18 |
18 class BuildOutput(QTextEdit): | 19 class BuildOutput(QTextEdit): |
19 """ Build output component """ | 20 """ Build output component """ |
114 | 115 |
115 class Ide(QMainWindow): | 116 class Ide(QMainWindow): |
116 def __init__(self, parent=None): | 117 def __init__(self, parent=None): |
117 super(Ide, self).__init__(parent) | 118 super(Ide, self).__init__(parent) |
118 self.setWindowTitle('LCFOS IDE') | 119 self.setWindowTitle('LCFOS IDE') |
119 self.compiler = Compiler() | 120 self.compiler = KsCompiler() |
120 icon = QPixmap() | 121 icon = QPixmap() |
121 icon.loadFromData(lcfospng) | 122 icon.loadFromData(lcfospng) |
122 self.setWindowIcon(QIcon(icon)) | 123 self.setWindowIcon(QIcon(icon)) |
123 | 124 |
124 # Create menus: | 125 # Create menus: |