src/e/n/enaml-0.2.0/enaml/backends/qt/qt/__init__.py enaml(Download)
try:
prepare_pyqt4()
import PyQt4
qt_api = 'pyqt'
os.environ['QT_API'] = qt_api
src/i/p/ipython-py3k-HEAD/IPython/external/qt.py ipython-py3k(Download)
try:
prepare_pyqt4()
import PyQt4
QT_API = QT_API_PYQT
except ImportError:
src/p/y/pyscreenshot-0.3.2/pyscreenshot/plugins/qtgrabwindow.py pyscreenshot(Download)
def __init__(self):
import PyQt4
self.PyQt4 = PyQt4
from PyQt4 import QtGui
from PyQt4 import Qt
src/p/y/Pymazon-0.9/pymazon/core/settings.py Pymazon(Download)
def _get_default_toolkit():
# try qt first, then gtk, if neither, use qt
try:
import PyQt4
toolkit = 'qt4'
src/i/p/ipython-0.13.1/IPython/external/qt.py ipython(Download)
try:
prepare_pyqt4()
import PyQt4
from PyQt4 import QtCore, QtGui, QtSvg
if QtCore.PYQT_VERSION_STR < '4.7':
src/i/e/iep-3.1.1/iep/iepkernel/guiintegration.py iep(Download)
def importCoreAndGui(self):
# Try importing qt
import PyQt4
from PyQt4 import QtGui, QtCore
return QtGui, QtCore
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/t/h/thg-mac-2.1.4/setup.py thg-mac(Download)
if not(self.force or newer(qrc_file, py_file)):
return
import PyQt4
origpath = os.getenv('PATH')
path = origpath.split(os.pathsep)
def qt4_plugins(subdir, *dlls):
import PyQt4
pluginsdir = join(os.path.dirname(PyQt4.__file__), 'plugins')
return (subdir, [join(pluginsdir, subdir, e) for e in dlls])
_data_files.append(qt4_plugins('imageformats', 'qico4.dll', 'qsvg4.dll'))
src/p/y/pyhed-HEAD/trunk/reports/frameCustomRptCondition.py pyhed(Download)
#-*- encoding: iso-8859-1 -*- #-*- coding: iso-8859-1 -*- import os import PyQt4
src/p/y/pyhed-HEAD/trunk/reports/frameCustomRpt.py pyhed(Download)
#-*- encoding: iso-8859-1 -*- #-*- coding: iso-8859-1 -*- import PyQt4
1 | 2 | 3 | 4 Next