Advertisement
NamPNQ

Untitled

Nov 10th, 2013
47
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.45 KB | None | 0 0
  1. # -*- coding: utf-8 -*-
  2.  
  3. import sys
  4. from PySide import QtCore, QtGui
  5. from mainwindow import Ui_MainWindow
  6.  
  7. class ControlMainWindow(QtGui.QMainWindow):
  8.     def __init__(self, parent=None):
  9.         super(ControlMainWindow, self).__init__(parent)
  10.         self.ui = Ui_MainWindow()
  11.         self.ui.setupUi(self)
  12.  
  13.  
  14. if __name__ == "__main__":
  15.     app = QtGui.QApplication(sys.argv)
  16.     mySW = ControlMainWindow()
  17.     mySW.show()
  18.     sys.exit(app.exec_())
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement