fixed circular import

This commit is contained in:
Luke Campagnola 2013-12-23 10:22:53 -05:00
parent a069104c6b
commit f21e0b86a4
2 changed files with 2 additions and 8 deletions

View File

@ -1,19 +1,11 @@
from ..Qt import QtCore, QtGui
from ..python2_3 import sortList
#try:
#from PyQt4 import QtOpenGL
#HAVE_OPENGL = True
#except ImportError:
#HAVE_OPENGL = False
import weakref
from ..Point import Point
from .. import functions as fn
from .. import ptime as ptime
from .mouseEvents import *
from .. import debug as debug
from . import exportDialog
if hasattr(QtCore, 'PYQT_VERSION'):
try:
@ -552,6 +544,7 @@ class GraphicsScene(QtGui.QGraphicsScene):
def showExportDialog(self):
if self.exportDialog is None:
from . import exportDialog
self.exportDialog = exportDialog.ExportDialog(self)
self.exportDialog.show(self.contextMenuItem)

View File

@ -3,6 +3,7 @@ from .GraphicsObject import GraphicsObject
from .ScatterPlotItem import ScatterPlotItem
from ..Qt import QtGui, QtCore
import numpy as np
from .. import getConfigOption
__all__ = ['GraphItem']