~ubuntu-branches/ubuntu/trusty/spyder/trusty-backports

« back to all changes in this revision

Viewing changes to spyderlib/qt/QtGui.py

  • Committer: Bazaar Package Importer
  • Author(s): Picca Frédéric-Emmanuel
  • Date: 2011-04-11 12:46:23 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20110411124623-7mb7fyc9vumvrl93
Tags: 2.0.10-1
Imported Upstream version 2.0.10

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# -*- coding: utf-8 -*-
 
2
#
 
3
# Copyright © 2011 Pierre Raybaut
 
4
# Licensed under the terms of the MIT License
 
5
# (see spyderlib/__init__.py for details)
 
6
 
 
7
import os
 
8
 
 
9
if os.environ['PYTHON_QT_LIBRARY'] == 'PyQt4':
 
10
    from PyQt4.Qt import QKeySequence, QTextCursor
 
11
    from PyQt4.QtGui import *
 
12
else:
 
13
    from PySide.QtGui import *