Skip to content
Snippets Groups Projects
Commit f21e0b86 authored by Luke Campagnola's avatar Luke Campagnola
Browse files

fixed circular import

parent a069104c
No related branches found
No related tags found
No related merge requests found
from ..Qt import QtCore, QtGui from ..Qt import QtCore, QtGui
from ..python2_3 import sortList from ..python2_3 import sortList
#try:
#from PyQt4 import QtOpenGL
#HAVE_OPENGL = True
#except ImportError:
#HAVE_OPENGL = False
import weakref import weakref
from ..Point import Point from ..Point import Point
from .. import functions as fn from .. import functions as fn
from .. import ptime as ptime from .. import ptime as ptime
from .mouseEvents import * from .mouseEvents import *
from .. import debug as debug from .. import debug as debug
from . import exportDialog
if hasattr(QtCore, 'PYQT_VERSION'): if hasattr(QtCore, 'PYQT_VERSION'):
try: try:
...@@ -552,6 +544,7 @@ class GraphicsScene(QtGui.QGraphicsScene): ...@@ -552,6 +544,7 @@ class GraphicsScene(QtGui.QGraphicsScene):
def showExportDialog(self): def showExportDialog(self):
if self.exportDialog is None: if self.exportDialog is None:
from . import exportDialog
self.exportDialog = exportDialog.ExportDialog(self) self.exportDialog = exportDialog.ExportDialog(self)
self.exportDialog.show(self.contextMenuItem) self.exportDialog.show(self.contextMenuItem)
......
...@@ -3,6 +3,7 @@ from .GraphicsObject import GraphicsObject ...@@ -3,6 +3,7 @@ from .GraphicsObject import GraphicsObject
from .ScatterPlotItem import ScatterPlotItem from .ScatterPlotItem import ScatterPlotItem
from ..Qt import QtGui, QtCore from ..Qt import QtGui, QtCore
import numpy as np import numpy as np
from .. import getConfigOption
__all__ = ['GraphItem'] __all__ = ['GraphItem']
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment