|
@@
-1,94
+1,94
|
|
1
|
# -*- coding: utf-8 -*-
|
|
1
|
# -*- coding: utf-8 -*-
|
|
2
|
|
|
2
|
|
|
3
|
# Form implementation generated from reading ui file '/home/roj-idl71/SignalChain/initwindowv2.ui'
|
|
3
|
# Form implementation generated from reading ui file '/home/roj-idl71/SignalChain/initwindowv2.ui'
|
|
4
|
#
|
|
4
|
#
|
|
5
|
# Created: Wed Mar 6 15:32:39 2013
|
|
5
|
# Created: Wed Mar 6 15:32:39 2013
|
|
6
|
# by: PyQt4 UI code generator 4.8.6
|
|
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
|
|
|
10
|
from PyQt4 import QtCore, QtGui
|
|
10
|
from PyQt4 import QtCore, QtGui
|
|
11
|
|
|
11
|
|
|
12
|
try:
|
|
12
|
try:
|
|
13
|
_fromUtf8 = QtCore.QString.fromUtf8
|
|
13
|
_fromUtf8 = QtCore.QString.fromUtf8
|
|
14
|
except AttributeError:
|
|
14
|
except AttributeError:
|
|
15
|
_fromUtf8 = lambda s: s
|
|
15
|
_fromUtf8 = lambda s: s
|
|
16
|
|
|
16
|
|
|
17
|
import os
|
|
17
|
import os
|
|
18
|
from schainpy.gui.figures import tools
|
|
18
|
from schainpy.gui.figures import tools
|
|
19
|
|
|
19
|
|
|
20
|
INITIAL_MSG = "Signal Chain GUI - v2.1.3"
|
|
20
|
INITIAL_MSG = "Signal Chain GUI - v2.1.4"
|
|
21
|
FIGURES_PATH = tools.get_path()
|
|
21
|
FIGURES_PATH = tools.get_path()
|
|
22
|
|
|
22
|
|
|
23
|
class Ui_InitWindow(object):
|
|
23
|
class Ui_InitWindow(object):
|
|
24
|
def setupUi(self, Dialog):
|
|
24
|
def setupUi(self, Dialog):
|
|
25
|
Dialog.setObjectName(_fromUtf8("Dialog"))
|
|
25
|
Dialog.setObjectName(_fromUtf8("Dialog"))
|
|
26
|
Dialog.resize(652, 496)
|
|
26
|
Dialog.resize(652, 496)
|
|
27
|
Dialog.setWindowTitle(QtGui.QApplication.translate("Dialog", "Dialog", None, QtGui.QApplication.UnicodeUTF8))
|
|
27
|
Dialog.setWindowTitle(QtGui.QApplication.translate("Dialog", "Dialog", None, QtGui.QApplication.UnicodeUTF8))
|
|
28
|
self.gridLayout = QtGui.QGridLayout(Dialog)
|
|
28
|
self.gridLayout = QtGui.QGridLayout(Dialog)
|
|
29
|
self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
|
|
29
|
self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
|
|
30
|
self.verticalLayout_3 = QtGui.QVBoxLayout()
|
|
30
|
self.verticalLayout_3 = QtGui.QVBoxLayout()
|
|
31
|
self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3"))
|
|
31
|
self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3"))
|
|
32
|
self.verticalLayout_4 = QtGui.QVBoxLayout()
|
|
32
|
self.verticalLayout_4 = QtGui.QVBoxLayout()
|
|
33
|
self.verticalLayout_4.setObjectName(_fromUtf8("verticalLayout_4"))
|
|
33
|
self.verticalLayout_4.setObjectName(_fromUtf8("verticalLayout_4"))
|
|
34
|
self.label_3 = QtGui.QLabel(Dialog)
|
|
34
|
self.label_3 = QtGui.QLabel(Dialog)
|
|
35
|
font = QtGui.QFont()
|
|
35
|
font = QtGui.QFont()
|
|
36
|
font.setFamily(_fromUtf8("Cambria"))
|
|
36
|
font.setFamily(_fromUtf8("Cambria"))
|
|
37
|
font.setPointSize(22)
|
|
37
|
font.setPointSize(22)
|
|
38
|
font.setBold(False)
|
|
38
|
font.setBold(False)
|
|
39
|
font.setWeight(50)
|
|
39
|
font.setWeight(50)
|
|
40
|
self.label_3.setFont(font)
|
|
40
|
self.label_3.setFont(font)
|
|
41
|
self.label_3.setText(QtGui.QApplication.translate("Dialog", INITIAL_MSG, None, QtGui.QApplication.UnicodeUTF8))
|
|
41
|
self.label_3.setText(QtGui.QApplication.translate("Dialog", INITIAL_MSG, None, QtGui.QApplication.UnicodeUTF8))
|
|
42
|
self.label_3.setObjectName(_fromUtf8("label_3"))
|
|
42
|
self.label_3.setObjectName(_fromUtf8("label_3"))
|
|
43
|
self.verticalLayout_4.addWidget(self.label_3)
|
|
43
|
self.verticalLayout_4.addWidget(self.label_3)
|
|
44
|
self.line_2 = QtGui.QFrame(Dialog)
|
|
44
|
self.line_2 = QtGui.QFrame(Dialog)
|
|
45
|
self.line_2.setFrameShape(QtGui.QFrame.HLine)
|
|
45
|
self.line_2.setFrameShape(QtGui.QFrame.HLine)
|
|
46
|
self.line_2.setFrameShadow(QtGui.QFrame.Sunken)
|
|
46
|
self.line_2.setFrameShadow(QtGui.QFrame.Sunken)
|
|
47
|
self.line_2.setObjectName(_fromUtf8("line_2"))
|
|
47
|
self.line_2.setObjectName(_fromUtf8("line_2"))
|
|
48
|
self.verticalLayout_4.addWidget(self.line_2)
|
|
48
|
self.verticalLayout_4.addWidget(self.line_2)
|
|
49
|
self.label_4 = QtGui.QLabel(Dialog)
|
|
49
|
self.label_4 = QtGui.QLabel(Dialog)
|
|
50
|
self.label_4.setText(_fromUtf8(""))
|
|
50
|
self.label_4.setText(_fromUtf8(""))
|
|
51
|
self.label_4.setPixmap(QtGui.QPixmap(_fromUtf8( os.path.join(FIGURES_PATH,"w.jpg") )))
|
|
51
|
self.label_4.setPixmap(QtGui.QPixmap(_fromUtf8( os.path.join(FIGURES_PATH,"w.jpg") )))
|
|
52
|
self.label_4.setScaledContents(True)
|
|
52
|
self.label_4.setScaledContents(True)
|
|
53
|
self.label_4.setObjectName(_fromUtf8("label_4"))
|
|
53
|
self.label_4.setObjectName(_fromUtf8("label_4"))
|
|
54
|
self.verticalLayout_4.addWidget(self.label_4)
|
|
54
|
self.verticalLayout_4.addWidget(self.label_4)
|
|
55
|
self.verticalLayout_3.addLayout(self.verticalLayout_4)
|
|
55
|
self.verticalLayout_3.addLayout(self.verticalLayout_4)
|
|
56
|
self.horizontalLayout_3 = QtGui.QHBoxLayout()
|
|
56
|
self.horizontalLayout_3 = QtGui.QHBoxLayout()
|
|
57
|
self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3"))
|
|
57
|
self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3"))
|
|
58
|
self.horizontalLayout_4 = QtGui.QHBoxLayout()
|
|
58
|
self.horizontalLayout_4 = QtGui.QHBoxLayout()
|
|
59
|
self.horizontalLayout_4.setObjectName(_fromUtf8("horizontalLayout_4"))
|
|
59
|
self.horizontalLayout_4.setObjectName(_fromUtf8("horizontalLayout_4"))
|
|
60
|
spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
|
|
60
|
spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
|
|
61
|
self.horizontalLayout_4.addItem(spacerItem)
|
|
61
|
self.horizontalLayout_4.addItem(spacerItem)
|
|
62
|
self.ExitBtn = QtGui.QPushButton(Dialog)
|
|
62
|
self.ExitBtn = QtGui.QPushButton(Dialog)
|
|
63
|
self.ExitBtn.setText(QtGui.QApplication.translate("Dialog", "Exit", None, QtGui.QApplication.UnicodeUTF8))
|
|
63
|
self.ExitBtn.setText(QtGui.QApplication.translate("Dialog", "Exit", None, QtGui.QApplication.UnicodeUTF8))
|
|
64
|
self.ExitBtn.setObjectName(_fromUtf8("ExitBtn"))
|
|
64
|
self.ExitBtn.setObjectName(_fromUtf8("ExitBtn"))
|
|
65
|
self.horizontalLayout_4.addWidget(self.ExitBtn)
|
|
65
|
self.horizontalLayout_4.addWidget(self.ExitBtn)
|
|
66
|
self.ContinueBtn = QtGui.QPushButton(Dialog)
|
|
66
|
self.ContinueBtn = QtGui.QPushButton(Dialog)
|
|
67
|
self.ContinueBtn.setText(QtGui.QApplication.translate("Dialog", "Continue", None, QtGui.QApplication.UnicodeUTF8))
|
|
67
|
self.ContinueBtn.setText(QtGui.QApplication.translate("Dialog", "Continue", None, QtGui.QApplication.UnicodeUTF8))
|
|
68
|
self.ContinueBtn.setObjectName(_fromUtf8("ContinueBtn"))
|
|
68
|
self.ContinueBtn.setObjectName(_fromUtf8("ContinueBtn"))
|
|
69
|
self.horizontalLayout_4.addWidget(self.ContinueBtn)
|
|
69
|
self.horizontalLayout_4.addWidget(self.ContinueBtn)
|
|
70
|
spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
|
|
70
|
spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
|
|
71
|
self.horizontalLayout_4.addItem(spacerItem1)
|
|
71
|
self.horizontalLayout_4.addItem(spacerItem1)
|
|
72
|
self.horizontalLayout_3.addLayout(self.horizontalLayout_4)
|
|
72
|
self.horizontalLayout_3.addLayout(self.horizontalLayout_4)
|
|
73
|
self.verticalLayout_3.addLayout(self.horizontalLayout_3)
|
|
73
|
self.verticalLayout_3.addLayout(self.horizontalLayout_3)
|
|
74
|
self.gridLayout.addLayout(self.verticalLayout_3, 0, 0, 1, 1)
|
|
74
|
self.gridLayout.addLayout(self.verticalLayout_3, 0, 0, 1, 1)
|
|
75
|
|
|
75
|
|
|
76
|
self.retranslateUi(Dialog)
|
|
76
|
self.retranslateUi(Dialog)
|
|
77
|
QtCore.QMetaObject.connectSlotsByName(Dialog)
|
|
77
|
QtCore.QMetaObject.connectSlotsByName(Dialog)
|
|
78
|
|
|
78
|
|
|
79
|
def retranslateUi(self, Dialog):
|
|
79
|
def retranslateUi(self, Dialog):
|
|
80
|
pass
|
|
80
|
pass
|
|
81
|
|
|
81
|
|
|
82
|
|
|
82
|
|
|
83
|
if __name__ == "__main__":
|
|
83
|
if __name__ == "__main__":
|
|
84
|
import sys
|
|
84
|
import sys
|
|
85
|
app = QtGui.QApplication(sys.argv)
|
|
85
|
app = QtGui.QApplication(sys.argv)
|
|
86
|
Dialog = QtGui.QDialog()
|
|
86
|
Dialog = QtGui.QDialog()
|
|
87
|
ui = Ui_InitWindow()
|
|
87
|
ui = Ui_InitWindow()
|
|
88
|
ui.setupUi(Dialog)
|
|
88
|
ui.setupUi(Dialog)
|
|
89
|
Dialog.show()
|
|
89
|
Dialog.show()
|
|
90
|
sys.exit(app.exec_())
|
|
90
|
sys.exit(app.exec_())
|
|
91
|
|
|
91
|
|
|
92
|
|
|
92
|
|
|
93
|
|
|
93
|
|
|
94
|
|
|
94
|
|