File: load_ui1.py

package info (click to toggle)
python-qt4 4.4.2-4
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 24,888 kB
  • ctags: 3,771
  • sloc: python: 42,056; cpp: 4,369; sh: 482; xml: 164; makefile: 160
file content (10 lines) | stat: -rwxr-xr-x 157 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
#!/usr/bin/env python
import sys

from PyQt4 import QtGui, uic


app = QtGui.QApplication(sys.argv)
widget = uic.loadUi("demo.ui")
widget.show()
app.exec_()