UtilitiesPython2/PySideImporter.py

Mon, 26 Dec 2011 14:58:44 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Mon, 26 Dec 2011 14:58:44 +0100
changeset 1507
9225700cbff5
parent 1310
7fdcfa822e3e
child 1509
c0b5e693b0eb
permissions
-rw-r--r--

- added capability to zoom by Ctrl + Mouse Wheel to the editor
- added capability to go to method and class definitions by Shift + Mouse Wheel to the editor
- added capability to zoom by Ctrl + Mouse Wheel to various graphics related windows

# -*- coding: utf-8 -*-

# Copyright (c) 2011 Detlev Offenbach <detlev@die-offenbachs.de>
#

"""
Module to check for the presence of PySide by importing it.
"""

import sys

if __name__ == "__main__":
    try:
        import PySide       # __IGNORE_EXCEPTION__ __IGNORE_WARNING__
        ret = 0
    except ImportError:
        ret = 1
    
    sys.exit(ret)
    
#
# eflag: FileType = Python2

eric ide

mercurial