coding utf-8 import sys from PyQt4 QtCore import from PyQt4 QtGui impo

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
# -*- coding: utf-8 -*-
import sys
from PyQt4.QtCore import *
from PyQt4.QtGui import *
from vivaiogui import Ui_MainWindow
class StartGui(QMainWindow):
def __init__(self):
QWidget.__init__(self)
self.ui = Ui_MainWindow()
self.ui.setupUi(self)
app = QApplication(sys.argv)
gui = StartGui()
gui.show()
sys.exit(app.exec_())