Commit f16e4afe authored by Daniel Brown's avatar Daniel Brown
Browse files

importing from QtSvg module rather than the QtGui

parent c017f726
......@@ -7,6 +7,7 @@ Created on Fri Feb 01 09:13:03 2013
from PyQt4.QtGui import *
from PyQt4.Qt import *
from PyQt4 import QtSvg
import pykat.components
import exceptions
......@@ -139,7 +140,7 @@ class SpaceQGraphicsItem(QGraphicsLineItem):
self.setPen(QPen(, 3))
class ComponentQGraphicsItem(QGraphicsSvgItem):
class ComponentQGraphicsItem(QtSvg.QGraphicsSvgItem):
def __init__(self, svgfile, component, nodes):
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment