Advertisement
Peaser

ui.py

May 10th, 2014
450
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.32 KB | None | 0 0
  1. import sys
  2. from PyQt4 import QtGui, uic
  3.  
  4. class MyWindow(QtGui.QMainWindow):
  5.     def __init__(self):
  6.         super(MyWindow, self).__init__()
  7.         uic.loadUi('anal.ui', self)
  8.         self.show()
  9.  
  10. if __name__ == '__main__':
  11.     app = QtGui.QApplication(sys.argv)
  12.     window = MyWindow()
  13.     sys.exit(app.exec_())
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement