@@ -1,104 +1,90 | |||
|
1 | 1 | # -*- coding: utf-8 -*- |
|
2 | 2 | |
|
3 |
# Form implementation generated from reading ui file 'C:\Users\alex\ericworkspace\GUIV1\ |
|
|
3 | # Form implementation generated from reading ui file 'C:\Users\alex\ericworkspace\GUIV1\WelcomeLast.ui' | |
|
4 | 4 | # |
|
5 |
# Created: T |
|
|
5 | # Created: Thu Dec 13 10:07:01 2012 | |
|
6 | 6 | # by: PyQt4 UI code generator 4.9.4 |
|
7 | 7 | # |
|
8 | 8 | # WARNING! All changes made in this file will be lost! |
|
9 | 9 | |
|
10 | 10 | from PyQt4 import QtCore, QtGui |
|
11 | 11 | |
|
12 | 12 | try: |
|
13 | 13 | _fromUtf8 = QtCore.QString.fromUtf8 |
|
14 | 14 | except AttributeError: |
|
15 | 15 | _fromUtf8 = lambda s: s |
|
16 | 16 | |
|
17 | 17 | class Ui_InitWindow(object): |
|
18 | 18 | def setupUi(self, form): |
|
19 | 19 | form.setObjectName(_fromUtf8("form")) |
|
20 | 20 | form.resize(622, 516) |
|
21 | 21 | self.centralWidget = QtGui.QWidget(form) |
|
22 | 22 | self.centralWidget.setObjectName(_fromUtf8("centralWidget")) |
|
23 | 23 | self.gridLayout = QtGui.QGridLayout(self.centralWidget) |
|
24 | 24 | self.gridLayout.setObjectName(_fromUtf8("gridLayout")) |
|
25 | 25 | self.verticalLayout_2 = QtGui.QVBoxLayout() |
|
26 | 26 | self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2")) |
|
27 | 27 | self.verticalLayout = QtGui.QVBoxLayout() |
|
28 | 28 | self.verticalLayout.setObjectName(_fromUtf8("verticalLayout")) |
|
29 | 29 | self.label = QtGui.QLabel(self.centralWidget) |
|
30 | 30 | font = QtGui.QFont() |
|
31 | font.setPointSize(21) | |
|
31 | font.setFamily(_fromUtf8("Cambria")) | |
|
32 | font.setPointSize(22) | |
|
33 | font.setBold(False) | |
|
34 | font.setWeight(50) | |
|
32 | 35 | self.label.setFont(font) |
|
33 | 36 | self.label.setObjectName(_fromUtf8("label")) |
|
34 | 37 | self.verticalLayout.addWidget(self.label) |
|
35 | 38 | self.line = QtGui.QFrame(self.centralWidget) |
|
36 | 39 | self.line.setFrameShape(QtGui.QFrame.HLine) |
|
37 | 40 | self.line.setFrameShadow(QtGui.QFrame.Sunken) |
|
38 | 41 | self.line.setObjectName(_fromUtf8("line")) |
|
39 | 42 | self.verticalLayout.addWidget(self.line) |
|
40 | 43 | self.label_2 = QtGui.QLabel(self.centralWidget) |
|
41 | 44 | self.label_2.setText(_fromUtf8("")) |
|
42 |
self.label_2.setPixmap(QtGui.QPixmap(_fromUtf8(" |
|
|
45 | self.label_2.setPixmap(QtGui.QPixmap(_fromUtf8("figure/w.jpg"))) | |
|
43 | 46 | self.label_2.setScaledContents(True) |
|
44 | 47 | self.label_2.setObjectName(_fromUtf8("label_2")) |
|
45 | 48 | self.verticalLayout.addWidget(self.label_2) |
|
46 | 49 | self.verticalLayout_2.addLayout(self.verticalLayout) |
|
47 | 50 | self.horizontalLayout_2 = QtGui.QHBoxLayout() |
|
48 | 51 | self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2")) |
|
49 | 52 | self.horizontalLayout = QtGui.QHBoxLayout() |
|
50 | 53 | self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout")) |
|
51 | 54 | spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) |
|
52 | 55 | self.horizontalLayout.addItem(spacerItem) |
|
53 |
self. |
|
|
54 |
self. |
|
|
55 |
self.horizontalLayout.addWidget(self. |
|
|
56 |
self. |
|
|
57 |
self. |
|
|
58 |
self.horizontalLayout.addWidget(self. |
|
|
56 | self.ExitBtn = QtGui.QPushButton(self.centralWidget) | |
|
57 | self.ExitBtn.setObjectName(_fromUtf8("ExitBtn")) | |
|
58 | self.horizontalLayout.addWidget(self.ExitBtn) | |
|
59 | self.ContinueBtn = QtGui.QPushButton(self.centralWidget) | |
|
60 | self.ContinueBtn.setObjectName(_fromUtf8("ContinueBtn")) | |
|
61 | self.horizontalLayout.addWidget(self.ContinueBtn) | |
|
59 | 62 | spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) |
|
60 | 63 | self.horizontalLayout.addItem(spacerItem1) |
|
61 | 64 | self.horizontalLayout_2.addLayout(self.horizontalLayout) |
|
62 | 65 | self.verticalLayout_2.addLayout(self.horizontalLayout_2) |
|
63 | 66 | self.gridLayout.addLayout(self.verticalLayout_2, 0, 0, 1, 1) |
|
64 | 67 | form.setCentralWidget(self.centralWidget) |
|
65 | 68 | self.statusBar = QtGui.QStatusBar(form) |
|
66 | 69 | self.statusBar.setObjectName(_fromUtf8("statusBar")) |
|
67 | 70 | form.setStatusBar(self.statusBar) |
|
68 | self.actionImage = QtGui.QAction(form) | |
|
69 | icon = QtGui.QIcon() | |
|
70 | icon.addPixmap(QtGui.QPixmap(_fromUtf8(":/newPrefix/Imagui/ROJ.jpg")), QtGui.QIcon.Normal, QtGui.QIcon.Off) | |
|
71 | self.actionImage.setIcon(icon) | |
|
72 | self.actionImage.setObjectName(_fromUtf8("actionImage")) | |
|
73 | self.actionOpen = QtGui.QAction(form) | |
|
74 | self.actionOpen.setObjectName(_fromUtf8("actionOpen")) | |
|
75 | self.actionClose = QtGui.QAction(form) | |
|
76 | self.actionClose.setObjectName(_fromUtf8("actionClose")) | |
|
77 | self.actionOpen_2 = QtGui.QAction(form) | |
|
78 | self.actionOpen_2.setObjectName(_fromUtf8("actionOpen_2")) | |
|
79 | 71 | |
|
80 | 72 | self.retranslateUi(form) |
|
81 | QtCore.QObject.connect(self.pushButton_2, QtCore.SIGNAL(_fromUtf8("clicked()")), form.close) | |
|
82 | QtCore.QObject.connect(self.pushButton, QtCore.SIGNAL(_fromUtf8("clicked()")), form.show) | |
|
83 | 73 | QtCore.QMetaObject.connectSlotsByName(form) |
|
84 | 74 | |
|
85 | 75 | def retranslateUi(self, form): |
|
86 | 76 | form.setWindowTitle(QtGui.QApplication.translate("form", "MainWindow", None, QtGui.QApplication.UnicodeUTF8)) |
|
87 |
self.label.setText(QtGui.QApplication.translate("form", " |
|
|
88 |
self. |
|
|
89 |
self. |
|
|
90 | self.actionImage.setText(QtGui.QApplication.translate("form", "image", None, QtGui.QApplication.UnicodeUTF8)) | |
|
91 | self.actionImage.setToolTip(QtGui.QApplication.translate("form", "show Image", None, QtGui.QApplication.UnicodeUTF8)) | |
|
92 | self.actionOpen.setText(QtGui.QApplication.translate("form", "Open", None, QtGui.QApplication.UnicodeUTF8)) | |
|
93 | self.actionClose.setText(QtGui.QApplication.translate("form", "Close", None, QtGui.QApplication.UnicodeUTF8)) | |
|
94 | self.actionOpen_2.setText(QtGui.QApplication.translate("form", "Open", None, QtGui.QApplication.UnicodeUTF8)) | |
|
77 | self.label.setText(QtGui.QApplication.translate("form", "Signal Chain - Ver. 1.0", None, QtGui.QApplication.UnicodeUTF8)) | |
|
78 | self.ExitBtn.setText(QtGui.QApplication.translate("form", "Exit", None, QtGui.QApplication.UnicodeUTF8)) | |
|
79 | self.ContinueBtn.setText(QtGui.QApplication.translate("form", "Continue", None, QtGui.QApplication.UnicodeUTF8)) | |
|
80 | ||
|
95 | 81 | |
|
96 | 82 | if __name__ == "__main__": |
|
97 | 83 | import sys |
|
98 | 84 | app = QtGui.QApplication(sys.argv) |
|
99 | 85 | form = QtGui.QMainWindow() |
|
100 | 86 | ui = Ui_InitWindow() |
|
101 | 87 | ui.setupUi(form) |
|
102 | 88 | form.show() |
|
103 | 89 | sys.exit(app.exec_()) |
|
104 | 90 |
General Comments 0
You need to be logged in to leave comments.
Login now