~ubuntu-branches/ubuntu/saucy/python-enthoughtbase/saucy

« back to all changes in this revision

Viewing changes to enthought/qt/QtGui.py

  • Committer: Bazaar Package Importer
  • Author(s): Varun Hiremath
  • Date: 2011-04-05 23:45:59 UTC
  • mfrom: (1.2.1 upstream) (8.1.1 experimental)
  • Revision ID: james.westby@ubuntu.com-20110405234559-l1ocffa8iz2vctx1
Tags: 3.1.0-1
* New upstream release
* Convert to dh_python2 (Closes: #617003)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
import os
 
2
 
 
3
qt_api = os.environ.get('QT_API', 'pyqt')
 
4
 
 
5
if qt_api == 'pyqt':
 
6
    from PyQt4.Qt import QKeySequence, QTextCursor
 
7
    from PyQt4.QtGui import *
 
8
else:
 
9
    from PySide.QtGui import *
 
10