Commits

Robert Kern  committed e7c4244

Use pyface's Qt libraries.

  • Participants
  • Parent commits b4b18b8

Comments (0)

Files changed (2)

File qtgrin/qtgrin.py

 import subprocess
 import threading
 
-from PyQt4 import QtGui
-from PyQt4.QtCore import Qt
-
 from enthought.etsconfig.api import ETSConfig
 ETSConfig.toolkit = 'qt4'
 ETSConfig.company = 'qtgrin'
 
+from pyface.qt import QtGui
+from pyface.qt.QtCore import Qt
+
 from enthought.pyface.image_resource import ImageResource
 from enthought.traits import api as traits
 from enthought.traits.ui import api as ui
     packages=['qtgrin'],
     entry_points = dict(
         gui_scripts = [
-            "qtgrin = qtgrin:main",
+            "qtgrin = qtgrin.qtgrin:main",
         ],
     ),
 )