Mercurial > lcfOS
comparison python/ide.py @ 130:654093a9a1e3
Added icons, improved device explorer
author | Windel Bouwman |
---|---|
date | Sat, 19 Jan 2013 18:16:04 +0100 |
parents | f2d980eef509 |
children | 04e45faafd1d |
comparison
equal
deleted
inserted
replaced
129:9e350a7dde98 | 130:654093a9a1e3 |
---|---|
115 | 115 |
116 class Ide(QMainWindow): | 116 class Ide(QMainWindow): |
117 def __init__(self, parent=None): | 117 def __init__(self, parent=None): |
118 super(Ide, self).__init__(parent) | 118 super(Ide, self).__init__(parent) |
119 self.setWindowTitle('LCFOS IDE') | 119 self.setWindowTitle('LCFOS IDE') |
120 self.compiler = KsCompiler() | 120 self.compiler = None # TODO |
121 icon = QPixmap() | 121 icon = QPixmap() |
122 icon.loadFromData(lcfospng) | 122 icon.loadFromData(lcfospng) |
123 self.setWindowIcon(QIcon(icon)) | 123 self.setWindowIcon(QIcon(icon)) |
124 | 124 |
125 # Create menus: | 125 # Create menus: |