Did I find the right examples for you? yes no

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

src/i/l/ilastik-HEAD/ilastik/applets/fillMissingSlices/fillMissingSlicesGui.py   ilastik(Download)
from PyQt4.QtCore import Qt, QString, QVariant, pyqtSignal, QObject, QDir
 
import PyQt4
 
import logging

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

src/e/l/electrum-HEAD/plugins/labels.py   electrum(Download)
from urlparse import urlparse, parse_qs
try:
    import PyQt4
except Exception:
    sys.exit("Error: Could not import PyQt4 on Linux systems, you may try 'sudo apt-get install python-qt4'")

src/e/l/electrum-HEAD/plugins/coinbase_buyback.py   electrum(Download)
import PyQt4
import sys
 
import PyQt4.QtCore as QtCore
import base64

src/q/m/qmap-HEAD/src/qmap/qtcontrols/imagewidget.py   qmap(Download)
import PyQt4.uic
import os
import PyQt4
from PyQt4.QtGui import (QLabel, QDialog, QFileDialog, 
						QPixmap, QGridLayout, QLayout, 

src/a/s/ashiba-HEAD/enaml/enaml/qt/__init__.py   ashiba(Download)
if not QT_API:
    try:
        import PyQt4
        prepare_pyqt()
        QT_API = os.environ['QT_API'] = 'pyqt'

src/p/y/pyqode.core-1.3.1/pyqode/qt/__init__.py   pyqode.core(Download)
    """
    try:
        import PyQt4
    except ImportError:
        # Fatal error, no qt bindings found

src/p/a/pandas-0.13.1/pandas/util/clipboard.py   pandas(Download)
            except ImportError:
                try:
                    import PyQt4 as qt4
                    import PyQt4.QtCore
                    import PyQt4.QtGui

src/c/o/coopr.age-1.1.3/coopr/age/CooprAge.py   coopr.age(Download)
import sys, os
try:
    import PyQt4
except ImportError:
    print("Aborting CooprAge.  Failed to import the PyQt4 package.")

src/i/e/iep-3.4/iep/iepkernel/guiintegration.py   iep(Download)
    def importCoreAndGui(self):
        # Try importing qt        
        import PyQt4
        from PyQt4 import QtGui, QtCore
        return QtGui, QtCore

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