Mercurial > lcfOS
comparison python/ide/astviewer.py @ 306:b145f8e6050b
Start on c3 rewrite
author | Windel Bouwman |
---|---|
date | Mon, 09 Dec 2013 19:00:21 +0100 |
parents | 7b38782ed496 |
children | dcae6574c974 |
comparison
equal
deleted
inserted
replaced
305:0615b5308710 | 306:b145f8e6050b |
---|---|
1 from PyQt4.QtCore import * | 1 from PyQt4.QtCore import * |
2 from PyQt4.QtGui import * | 2 from PyQt4.QtGui import * |
3 from c3 import Visitor, astnodes | 3 from ppci.c3 import Visitor, astnodes |
4 | 4 |
5 class AstModelBuilder: | 5 class AstModelBuilder: |
6 def __init__(self): | 6 def __init__(self): |
7 self.functionIco = QIcon(QPixmap('icons/functionicon.png').scaled(32, 32)) | 7 self.functionIco = QIcon(QPixmap('icons/functionicon.png').scaled(32, 32)) |
8 self.variableIco = QIcon(QPixmap('icons/variableicon.png').scaled(32, 32)) | 8 self.variableIco = QIcon(QPixmap('icons/variableicon.png').scaled(32, 32)) |