@@ -0,0 +1,15 | |||||
|
1 | #!/usr/bin/python | |||
|
No newline at end of file | ||||
|
2 | ||||
|
No newline at end of file | ||||
|
3 | from PyQt4.QtGui import QApplication | |||
|
No newline at end of file | ||||
|
4 | #from ui import import MainWindow | |||
|
No newline at end of file | ||||
|
5 | from ui.MainWindow import MainWindow | |||
|
No newline at end of file | ||||
|
6 | ||||
|
No newline at end of file | ||||
|
7 | def main(): | |||
|
No newline at end of file | ||||
|
8 | import sys | |||
|
No newline at end of file | ||||
|
9 | app = QApplication(sys.argv) | |||
|
No newline at end of file | ||||
|
10 | wnd = MainWindow() | |||
|
No newline at end of file | ||||
|
11 | wnd.show() | |||
|
No newline at end of file | ||||
|
12 | sys.exit(app.exec_()) | |||
|
No newline at end of file | ||||
|
13 | ||||
|
No newline at end of file | ||||
|
14 | if __name__ == '__main__': | |||
|
No newline at end of file | ||||
|
15 | main() No newline at end of file |
General Comments 0
You need to be logged in to leave comments.
Login now