1 | # -*- coding: utf-8 -*- |
---|
2 | |
---|
3 | # Form implementation generated from reading ui file 'InvariantDetailsUI.ui' |
---|
4 | # |
---|
5 | # Created by: PyQt4 UI code generator 4.11.4 |
---|
6 | # |
---|
7 | # WARNING! All changes made in this file will be lost! |
---|
8 | |
---|
9 | from PyQt4 import QtCore, QtGui |
---|
10 | |
---|
11 | try: |
---|
12 | _fromUtf8 = QtCore.QString.fromUtf8 |
---|
13 | except AttributeError: |
---|
14 | def _fromUtf8(s): |
---|
15 | return s |
---|
16 | |
---|
17 | try: |
---|
18 | _encoding = QtGui.QApplication.UnicodeUTF8 |
---|
19 | def _translate(context, text, disambig): |
---|
20 | return QtGui.QApplication.translate(context, text, disambig, _encoding) |
---|
21 | except AttributeError: |
---|
22 | def _translate(context, text, disambig): |
---|
23 | return QtGui.QApplication.translate(context, text, disambig) |
---|
24 | |
---|
25 | class Ui_Dialog(object): |
---|
26 | def setupUi(self, Dialog): |
---|
27 | Dialog.setObjectName(_fromUtf8("Dialog")) |
---|
28 | Dialog.resize(449, 458) |
---|
29 | self.gridLayout_4 = QtGui.QGridLayout(Dialog) |
---|
30 | self.gridLayout_4.setObjectName(_fromUtf8("gridLayout_4")) |
---|
31 | self.groupBox = QtGui.QGroupBox(Dialog) |
---|
32 | self.groupBox.setObjectName(_fromUtf8("groupBox")) |
---|
33 | self.gridLayout_2 = QtGui.QGridLayout(self.groupBox) |
---|
34 | self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2")) |
---|
35 | self.label_12 = QtGui.QLabel(self.groupBox) |
---|
36 | self.label_12.setObjectName(_fromUtf8("label_12")) |
---|
37 | self.gridLayout_2.addWidget(self.label_12, 0, 0, 1, 1) |
---|
38 | self.progressBar = QtGui.QProgressBar(self.groupBox) |
---|
39 | self.progressBar.setProperty("value", 24) |
---|
40 | self.progressBar.setObjectName(_fromUtf8("progressBar")) |
---|
41 | self.gridLayout_2.addWidget(self.progressBar, 0, 1, 1, 1) |
---|
42 | self.label_10 = QtGui.QLabel(self.groupBox) |
---|
43 | self.label_10.setObjectName(_fromUtf8("label_10")) |
---|
44 | self.gridLayout_2.addWidget(self.label_10, 1, 0, 1, 1) |
---|
45 | self.progressBar_2 = QtGui.QProgressBar(self.groupBox) |
---|
46 | self.progressBar_2.setProperty("value", 24) |
---|
47 | self.progressBar_2.setObjectName(_fromUtf8("progressBar_2")) |
---|
48 | self.gridLayout_2.addWidget(self.progressBar_2, 1, 1, 1, 1) |
---|
49 | self.label_11 = QtGui.QLabel(self.groupBox) |
---|
50 | self.label_11.setObjectName(_fromUtf8("label_11")) |
---|
51 | self.gridLayout_2.addWidget(self.label_11, 2, 0, 1, 1) |
---|
52 | self.progressBar_3 = QtGui.QProgressBar(self.groupBox) |
---|
53 | self.progressBar_3.setProperty("value", 24) |
---|
54 | self.progressBar_3.setObjectName(_fromUtf8("progressBar_3")) |
---|
55 | self.gridLayout_2.addWidget(self.progressBar_3, 2, 1, 1, 1) |
---|
56 | self.gridLayout_4.addWidget(self.groupBox, 0, 0, 1, 1) |
---|
57 | self.groupBox_2 = QtGui.QGroupBox(Dialog) |
---|
58 | self.groupBox_2.setObjectName(_fromUtf8("groupBox_2")) |
---|
59 | self.gridLayout = QtGui.QGridLayout(self.groupBox_2) |
---|
60 | self.gridLayout.setObjectName(_fromUtf8("gridLayout")) |
---|
61 | self.label = QtGui.QLabel(self.groupBox_2) |
---|
62 | self.label.setObjectName(_fromUtf8("label")) |
---|
63 | self.gridLayout.addWidget(self.label, 0, 0, 1, 1) |
---|
64 | self.lineEdit = QtGui.QLineEdit(self.groupBox_2) |
---|
65 | self.lineEdit.setObjectName(_fromUtf8("lineEdit")) |
---|
66 | self.gridLayout.addWidget(self.lineEdit, 0, 1, 1, 1) |
---|
67 | self.label_2 = QtGui.QLabel(self.groupBox_2) |
---|
68 | self.label_2.setObjectName(_fromUtf8("label_2")) |
---|
69 | self.gridLayout.addWidget(self.label_2, 0, 2, 1, 1) |
---|
70 | self.lineEdit_2 = QtGui.QLineEdit(self.groupBox_2) |
---|
71 | self.lineEdit_2.setObjectName(_fromUtf8("lineEdit_2")) |
---|
72 | self.gridLayout.addWidget(self.lineEdit_2, 0, 3, 1, 1) |
---|
73 | self.label_3 = QtGui.QLabel(self.groupBox_2) |
---|
74 | self.label_3.setObjectName(_fromUtf8("label_3")) |
---|
75 | self.gridLayout.addWidget(self.label_3, 0, 4, 1, 1) |
---|
76 | self.label_5 = QtGui.QLabel(self.groupBox_2) |
---|
77 | self.label_5.setObjectName(_fromUtf8("label_5")) |
---|
78 | self.gridLayout.addWidget(self.label_5, 1, 0, 1, 1) |
---|
79 | self.lineEdit_3 = QtGui.QLineEdit(self.groupBox_2) |
---|
80 | self.lineEdit_3.setObjectName(_fromUtf8("lineEdit_3")) |
---|
81 | self.gridLayout.addWidget(self.lineEdit_3, 1, 1, 1, 1) |
---|
82 | self.label_6 = QtGui.QLabel(self.groupBox_2) |
---|
83 | self.label_6.setObjectName(_fromUtf8("label_6")) |
---|
84 | self.gridLayout.addWidget(self.label_6, 1, 2, 1, 1) |
---|
85 | self.lineEdit_4 = QtGui.QLineEdit(self.groupBox_2) |
---|
86 | self.lineEdit_4.setObjectName(_fromUtf8("lineEdit_4")) |
---|
87 | self.gridLayout.addWidget(self.lineEdit_4, 1, 3, 1, 1) |
---|
88 | self.label_4 = QtGui.QLabel(self.groupBox_2) |
---|
89 | self.label_4.setObjectName(_fromUtf8("label_4")) |
---|
90 | self.gridLayout.addWidget(self.label_4, 1, 4, 1, 1) |
---|
91 | self.label_8 = QtGui.QLabel(self.groupBox_2) |
---|
92 | self.label_8.setObjectName(_fromUtf8("label_8")) |
---|
93 | self.gridLayout.addWidget(self.label_8, 2, 0, 1, 1) |
---|
94 | self.lineEdit_5 = QtGui.QLineEdit(self.groupBox_2) |
---|
95 | self.lineEdit_5.setObjectName(_fromUtf8("lineEdit_5")) |
---|
96 | self.gridLayout.addWidget(self.lineEdit_5, 2, 1, 1, 1) |
---|
97 | self.label_9 = QtGui.QLabel(self.groupBox_2) |
---|
98 | self.label_9.setObjectName(_fromUtf8("label_9")) |
---|
99 | self.gridLayout.addWidget(self.label_9, 2, 2, 1, 1) |
---|
100 | self.lineEdit_6 = QtGui.QLineEdit(self.groupBox_2) |
---|
101 | self.lineEdit_6.setObjectName(_fromUtf8("lineEdit_6")) |
---|
102 | self.gridLayout.addWidget(self.lineEdit_6, 2, 3, 1, 1) |
---|
103 | self.label_7 = QtGui.QLabel(self.groupBox_2) |
---|
104 | self.label_7.setObjectName(_fromUtf8("label_7")) |
---|
105 | self.gridLayout.addWidget(self.label_7, 2, 4, 1, 1) |
---|
106 | self.gridLayout_4.addWidget(self.groupBox_2, 1, 0, 1, 1) |
---|
107 | self.groupBox_3 = QtGui.QGroupBox(Dialog) |
---|
108 | self.groupBox_3.setObjectName(_fromUtf8("groupBox_3")) |
---|
109 | self.gridLayout_3 = QtGui.QGridLayout(self.groupBox_3) |
---|
110 | self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3")) |
---|
111 | self.lblWarning = QtGui.QLabel(self.groupBox_3) |
---|
112 | self.lblWarning.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignTop) |
---|
113 | self.lblWarning.setObjectName(_fromUtf8("lblWarning")) |
---|
114 | self.gridLayout_3.addWidget(self.lblWarning, 0, 0, 1, 1) |
---|
115 | self.gridLayout_4.addWidget(self.groupBox_3, 2, 0, 1, 1) |
---|
116 | self.buttonBox = QtGui.QDialogButtonBox(Dialog) |
---|
117 | self.buttonBox.setOrientation(QtCore.Qt.Horizontal) |
---|
118 | self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Ok) |
---|
119 | self.buttonBox.setObjectName(_fromUtf8("buttonBox")) |
---|
120 | self.gridLayout_4.addWidget(self.buttonBox, 3, 0, 1, 1) |
---|
121 | |
---|
122 | self.retranslateUi(Dialog) |
---|
123 | QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), Dialog.accept) |
---|
124 | QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), Dialog.reject) |
---|
125 | QtCore.QMetaObject.connectSlotsByName(Dialog) |
---|
126 | |
---|
127 | def retranslateUi(self, Dialog): |
---|
128 | Dialog.setWindowTitle(_translate("Dialog", "Dialog", None)) |
---|
129 | self.groupBox.setTitle(_translate("Dialog", "Invariant chart", None)) |
---|
130 | self.label_12.setText(_translate("Dialog", "Q* from Low-Q", None)) |
---|
131 | self.label_10.setText(_translate("Dialog", "Q* from Data", None)) |
---|
132 | self.label_11.setText(_translate("Dialog", "Q* from High-Q", None)) |
---|
133 | self.groupBox_2.setTitle(_translate("Dialog", "Numerical values", None)) |
---|
134 | self.label.setText(_translate("Dialog", "Q* from Low-Q", None)) |
---|
135 | self.label_2.setText(_translate("Dialog", "+/-", None)) |
---|
136 | self.label_3.setText(_translate("Dialog", "<html><head/><body><p>[1/(cm*A<span style=\" vertical-align:super;\">3</span>)]</p></body></html>", None)) |
---|
137 | self.label_5.setText(_translate("Dialog", "Q* from Data", None)) |
---|
138 | self.label_6.setText(_translate("Dialog", "+/-", None)) |
---|
139 | self.label_4.setText(_translate("Dialog", "<html><head/><body><p>[1/(cm*A<span style=\" vertical-align:super;\">3</span>)]</p></body></html>", None)) |
---|
140 | self.label_8.setText(_translate("Dialog", "Q* from High-Q", None)) |
---|
141 | self.label_9.setText(_translate("Dialog", "+/-", None)) |
---|
142 | self.label_7.setText(_translate("Dialog", "<html><head/><body><p>[1/(cm*A<span style=\" vertical-align:super;\">3</span>)]</p></body></html>", None)) |
---|
143 | self.groupBox_3.setTitle(_translate("Dialog", "Warnings", None)) |
---|
144 | self.lblWarning.setText(_translate("Dialog", "<html><head/><body><p>No Details on calculations available...</p></body></html>", None)) |
---|
145 | |
---|
146 | |
---|
147 | class Dialog(QtGui.QDialog, Ui_Dialog): |
---|
148 | def __init__(self, parent=None, f=QtCore.Qt.WindowFlags()): |
---|
149 | QtGui.QDialog.__init__(self, parent, f) |
---|
150 | |
---|
151 | self.setupUi(self) |
---|
152 | |
---|