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