2013-02-14 17:30:28 +00:00
|
|
|
import sip
|
2013-08-31 18:17:38 +00:00
|
|
|
sip.setapi('QDate', 2)
|
|
|
|
sip.setapi('QDateTime', 2)
|
|
|
|
sip.setapi('QString', 2)
|
|
|
|
sip.setapi('QTextStream', 2)
|
|
|
|
sip.setapi('QTime', 2)
|
|
|
|
sip.setapi('QUrl', 2)
|
|
|
|
sip.setapi('QVariant', 2)
|
2013-02-16 15:02:19 +00:00
|
|
|
|
|
|
|
from PyQt4 import QtGui
|
|
|
|
|
|
|
|
# Only one QApplication can be created. Use QtGui.QApplication.instance() when you need to "create" a QApplication.
|
|
|
|
application = QtGui.QApplication([])
|