Did I find the right examples for you? yes no

All Samples(69)  |  Call(0)  |  Derive(0)  |  Import(69)

src/p/y/PyGlobalShortcut-0.2.1/pygs/configure.py   PyGlobalShortcut(Download)
                from PyQt5 import QtCore
            except ImportError:
                import PyQt4 as PyQt
                from PyQt4 import QtCore
 

src/p/y/pyqtgraph-0.9.8/pyqtgraph/Qt.py   pyqtgraph(Download)
else:
    try:
        import PyQt4
        USE_PYSIDE = False
    except ImportError:

src/j/a/jarvis-0.1.9/jarvis/osgqt.py   jarvis(Download)
 
# import qtWidgets stuff
import PyQt4
 
# import OpenSceneGraph wrapper

src/h/d/HDDM-0.5.3/hddm/MPLTraits_qt.py   HDDM(Download)
import PyQt4
from pyface.qt import QtGui, QtCore
 
import matplotlib
# We want matplotlib to use a QT backend

src/p/y/PyroMP-1.0/PyroMP/Qt.py   PyroMP(Download)
    except ImportError:
        try:
            import PyQt4
            USE_PYSIDE = False
        except ImportError:

src/g/s/gsdview-HEAD/qt/__init__.py   gsdview(Download)
    try:
        prepare_pyqt4()
        import PyQt4
        qt_api = 'pyqt'
    except ImportError:

src/d/e/DeathRay-HEAD/Source/DeviceControl.py   DeathRay(Download)
#!/usr/bin/python -d
 
 
#I have to include extra things in here so py2app knows what to build
import sys, os, glob, PyQt4, sip, interfaces, PlotWindow, DeviceControl, gpib_commands, cPickle

src/d/e/DeathRay-HEAD/Source/DeathRay.py   DeathRay(Download)
#!/usr/bin/env python
 
import sys, os, glob, PyQt4, sip, interfaces, PlotWindow, DeviceControl, gpib_commands, cPickle
from PlotWindow import PlotWindow
from DeviceControl import DeviceControl

src/p/y/pyqtgraph-HEAD/pyqtgraph/Qt.py   pyqtgraph(Download)
else:
    try:
        import PyQt4
        USE_PYSIDE = False
    except ImportError:

src/l/i/LinkChecker-9.2/setup.py   LinkChecker(Download)
def get_qt_plugin_dir_win ():
    """Get Qt plugin dir on Windows systems."""
    import PyQt4
    return os.path.join(os.path.dirname(PyQt4.__file__), "plugins")
 

Previous  1 | 2 | 3 | 4 | 5 | 6 | 7  Next