@@ -1,9 +1,9 | |||||
1 | # -*- coding: utf-8 -*- |
|
1 | # -*- coding: utf-8 -*- | |
2 |
|
2 | |||
3 |
# Form implementation generated from reading ui file ' |
|
3 | # Form implementation generated from reading ui file '/home/roj-idl71/SignalChain/initwindowv2.ui' | |
4 | # |
|
4 | # | |
5 | # Created: Thu Dec 13 10:07:01 2012 |
|
5 | # Created: Wed Mar 6 15:32:39 2013 | |
6 |
# by: PyQt4 UI code generator 4. |
|
6 | # by: PyQt4 UI code generator 4.8.6 | |
7 | # |
|
7 | # | |
8 | # WARNING! All changes made in this file will be lost! |
|
8 | # WARNING! All changes made in this file will be lost! | |
9 |
|
9 | |||
@@ -15,76 +15,74 except AttributeError: | |||||
15 | _fromUtf8 = lambda s: s |
|
15 | _fromUtf8 = lambda s: s | |
16 |
|
16 | |||
17 | class Ui_InitWindow(object): |
|
17 | class Ui_InitWindow(object): | |
18 |
def setupUi(self, |
|
18 | def setupUi(self, Dialog): | |
19 |
|
|
19 | Dialog.setObjectName(_fromUtf8("Dialog")) | |
20 |
|
|
20 | Dialog.resize(652, 496) | |
21 | self.centralWidget = QtGui.QWidget(form) |
|
21 | Dialog.setWindowTitle(QtGui.QApplication.translate("Dialog", "Dialog", None, QtGui.QApplication.UnicodeUTF8)) | |
22 | self.centralWidget.setObjectName(_fromUtf8("centralWidget")) |
|
22 | self.gridLayout = QtGui.QGridLayout(Dialog) | |
23 | self.gridLayout = QtGui.QGridLayout(self.centralWidget) |
|
|||
24 | self.gridLayout.setObjectName(_fromUtf8("gridLayout")) |
|
23 | self.gridLayout.setObjectName(_fromUtf8("gridLayout")) | |
25 |
self.verticalLayout_ |
|
24 | self.verticalLayout_3 = QtGui.QVBoxLayout() | |
26 |
self.verticalLayout_ |
|
25 | self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3")) | |
27 | self.verticalLayout = QtGui.QVBoxLayout() |
|
26 | self.verticalLayout_4 = QtGui.QVBoxLayout() | |
28 | self.verticalLayout.setObjectName(_fromUtf8("verticalLayout")) |
|
27 | self.verticalLayout_4.setObjectName(_fromUtf8("verticalLayout_4")) | |
29 |
self.label = QtGui.QLabel( |
|
28 | self.label_3 = QtGui.QLabel(Dialog) | |
30 | font = QtGui.QFont() |
|
29 | font = QtGui.QFont() | |
31 | font.setFamily(_fromUtf8("Cambria")) |
|
30 | font.setFamily(_fromUtf8("Cambria")) | |
32 | font.setPointSize(22) |
|
31 | font.setPointSize(22) | |
33 | font.setBold(False) |
|
32 | font.setBold(False) | |
34 | font.setWeight(50) |
|
33 | font.setWeight(50) | |
35 | self.label.setFont(font) |
|
34 | self.label_3.setFont(font) | |
36 | self.label.setObjectName(_fromUtf8("label")) |
|
35 | self.label_3.setText(QtGui.QApplication.translate("Dialog", "Signal Chain - Ver. 1.0", None, QtGui.QApplication.UnicodeUTF8)) | |
37 | self.verticalLayout.addWidget(self.label) |
|
36 | self.label_3.setObjectName(_fromUtf8("label_3")) | |
38 | self.line = QtGui.QFrame(self.centralWidget) |
|
37 | self.verticalLayout_4.addWidget(self.label_3) | |
39 |
self.line |
|
38 | self.line_2 = QtGui.QFrame(Dialog) | |
40 |
self.line.setFrameSha |
|
39 | self.line_2.setFrameShape(QtGui.QFrame.HLine) | |
41 | self.line.setObjectName(_fromUtf8("line")) |
|
40 | self.line_2.setFrameShadow(QtGui.QFrame.Sunken) | |
42 | self.verticalLayout.addWidget(self.line) |
|
41 | self.line_2.setObjectName(_fromUtf8("line_2")) | |
43 | self.label_2 = QtGui.QLabel(self.centralWidget) |
|
42 | self.verticalLayout_4.addWidget(self.line_2) | |
44 | self.label_2.setText(_fromUtf8("")) |
|
43 | self.label_4 = QtGui.QLabel(Dialog) | |
45 |
self.label_ |
|
44 | self.label_4.setText(_fromUtf8("")) | |
46 | self.label_2.setScaledContents(True) |
|
45 | self.label_4.setPixmap(QtGui.QPixmap(_fromUtf8("figure/w.jpg"))) | |
47 |
self.label_ |
|
46 | self.label_4.setScaledContents(True) | |
48 | self.verticalLayout.addWidget(self.label_2) |
|
47 | self.label_4.setObjectName(_fromUtf8("label_4")) | |
49 |
self.verticalLayout_ |
|
48 | self.verticalLayout_4.addWidget(self.label_4) | |
50 | self.horizontalLayout_2 = QtGui.QHBoxLayout() |
|
49 | self.verticalLayout_3.addLayout(self.verticalLayout_4) | |
51 | self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2")) |
|
50 | self.horizontalLayout_3 = QtGui.QHBoxLayout() | |
52 |
self.horizontalLayout |
|
51 | self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3")) | |
53 | self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout")) |
|
52 | self.horizontalLayout_4 = QtGui.QHBoxLayout() | |
|
53 | self.horizontalLayout_4.setObjectName(_fromUtf8("horizontalLayout_4")) | |||
54 | spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) |
|
54 | spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) | |
55 | self.horizontalLayout.addItem(spacerItem) |
|
55 | self.horizontalLayout_4.addItem(spacerItem) | |
56 |
self.ExitBtn = QtGui.QPushButton( |
|
56 | self.ExitBtn = QtGui.QPushButton(Dialog) | |
|
57 | self.ExitBtn.setText(QtGui.QApplication.translate("Dialog", "Exit", None, QtGui.QApplication.UnicodeUTF8)) | |||
57 | self.ExitBtn.setObjectName(_fromUtf8("ExitBtn")) |
|
58 | self.ExitBtn.setObjectName(_fromUtf8("ExitBtn")) | |
58 | self.horizontalLayout.addWidget(self.ExitBtn) |
|
59 | self.horizontalLayout_4.addWidget(self.ExitBtn) | |
59 |
self.ContinueBtn = QtGui.QPushButton( |
|
60 | self.ContinueBtn = QtGui.QPushButton(Dialog) | |
|
61 | self.ContinueBtn.setText(QtGui.QApplication.translate("Dialog", "Continue", None, QtGui.QApplication.UnicodeUTF8)) | |||
60 | self.ContinueBtn.setObjectName(_fromUtf8("ContinueBtn")) |
|
62 | self.ContinueBtn.setObjectName(_fromUtf8("ContinueBtn")) | |
61 | self.horizontalLayout.addWidget(self.ContinueBtn) |
|
63 | self.horizontalLayout_4.addWidget(self.ContinueBtn) | |
62 | spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) |
|
64 | spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) | |
63 | self.horizontalLayout.addItem(spacerItem1) |
|
65 | self.horizontalLayout_4.addItem(spacerItem1) | |
64 |
self.horizontalLayout_ |
|
66 | self.horizontalLayout_3.addLayout(self.horizontalLayout_4) | |
65 |
self.verticalLayout_ |
|
67 | self.verticalLayout_3.addLayout(self.horizontalLayout_3) | |
66 |
self.gridLayout.addLayout(self.verticalLayout_ |
|
68 | self.gridLayout.addLayout(self.verticalLayout_3, 0, 0, 1, 1) | |
67 | form.setCentralWidget(self.centralWidget) |
|
|||
68 | self.statusBar = QtGui.QStatusBar(form) |
|
|||
69 | self.statusBar.setObjectName(_fromUtf8("statusBar")) |
|
|||
70 | form.setStatusBar(self.statusBar) |
|
|||
71 |
|
69 | |||
72 |
self.retranslateUi( |
|
70 | self.retranslateUi(Dialog) | |
73 |
QtCore.QMetaObject.connectSlotsByName( |
|
71 | QtCore.QMetaObject.connectSlotsByName(Dialog) | |
74 |
|
72 | |||
75 |
def retranslateUi(self, |
|
73 | def retranslateUi(self, Dialog): | |
76 | form.setWindowTitle(QtGui.QApplication.translate("form", "MainWindow", None, QtGui.QApplication.UnicodeUTF8)) |
|
74 | pass | |
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 |
|
75 | |||
81 |
|
76 | |||
82 | if __name__ == "__main__": |
|
77 | if __name__ == "__main__": | |
83 | import sys |
|
78 | import sys | |
84 | app = QtGui.QApplication(sys.argv) |
|
79 | app = QtGui.QApplication(sys.argv) | |
85 |
|
|
80 | Dialog = QtGui.QDialog() | |
86 | ui = Ui_InitWindow() |
|
81 | ui = Ui_InitWindow() | |
87 |
ui.setupUi( |
|
82 | ui.setupUi(Dialog) | |
88 |
|
|
83 | Dialog.show() | |
89 | sys.exit(app.exec_()) |
|
84 | sys.exit(app.exec_()) | |
90 |
|
85 | |||
|
86 | ||||
|
87 | ||||
|
88 |
General Comments 0
You need to be logged in to leave comments.
Login now