-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathGamut.py
374 lines (367 loc) · 20.8 KB
/
Gamut.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'Gamut.ui'
#
# Created by: PyQt5 UI code generator 5.15.6
#
# WARNING: Any manual changes made to this file will be lost when pyuic5 is
# run again. Do not edit this file unless you know what you are doing.
from PyQt5 import QtCore, QtGui, QtWidgets
class Ui_MainWindow(object):
def setupUi(self, MainWindow):
MainWindow.setObjectName("MainWindow")
MainWindow.resize(1091, 908)
icon = QtGui.QIcon()
icon.addPixmap(QtGui.QPixmap("icon.jpg"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
MainWindow.setWindowIcon(icon)
self.centralwidget = QtWidgets.QWidget(MainWindow)
self.centralwidget.setObjectName("centralwidget")
self.groupBox_3 = QtWidgets.QGroupBox(self.centralwidget)
self.groupBox_3.setGeometry(QtCore.QRect(30, 20, 501, 691))
self.groupBox_3.setObjectName("groupBox_3")
self.groupBox = QtWidgets.QGroupBox(self.groupBox_3)
self.groupBox.setEnabled(True)
self.groupBox.setGeometry(QtCore.QRect(50, 130, 381, 261))
self.groupBox.setCheckable(False)
self.groupBox.setObjectName("groupBox")
self.tW_sample = QtWidgets.QTableWidget(self.groupBox)
self.tW_sample.setEnabled(True)
self.tW_sample.setGeometry(QtCore.QRect(20, 40, 321, 201))
self.tW_sample.setAcceptDrops(False)
self.tW_sample.setInputMethodHints(QtCore.Qt.ImhNone)
self.tW_sample.setDragEnabled(False)
self.tW_sample.setObjectName("tW_sample")
self.tW_sample.setColumnCount(2)
self.tW_sample.setRowCount(4)
item = QtWidgets.QTableWidgetItem()
self.tW_sample.setVerticalHeaderItem(0, item)
item = QtWidgets.QTableWidgetItem()
self.tW_sample.setVerticalHeaderItem(1, item)
item = QtWidgets.QTableWidgetItem()
self.tW_sample.setVerticalHeaderItem(2, item)
item = QtWidgets.QTableWidgetItem()
self.tW_sample.setVerticalHeaderItem(3, item)
item = QtWidgets.QTableWidgetItem()
self.tW_sample.setHorizontalHeaderItem(0, item)
item = QtWidgets.QTableWidgetItem()
self.tW_sample.setHorizontalHeaderItem(1, item)
item = QtWidgets.QTableWidgetItem()
self.tW_sample.setItem(0, 0, item)
item = QtWidgets.QTableWidgetItem()
self.tW_sample.setItem(0, 1, item)
item = QtWidgets.QTableWidgetItem()
self.tW_sample.setItem(1, 0, item)
item = QtWidgets.QTableWidgetItem()
self.tW_sample.setItem(1, 1, item)
item = QtWidgets.QTableWidgetItem()
self.tW_sample.setItem(2, 0, item)
item = QtWidgets.QTableWidgetItem()
self.tW_sample.setItem(2, 1, item)
item = QtWidgets.QTableWidgetItem()
self.tW_sample.setItem(3, 0, item)
item = QtWidgets.QTableWidgetItem()
self.tW_sample.setItem(3, 1, item)
self.horizontalLayoutWidget = QtWidgets.QWidget(self.groupBox_3)
self.horizontalLayoutWidget.setGeometry(QtCore.QRect(50, 30, 381, 71))
self.horizontalLayoutWidget.setObjectName("horizontalLayoutWidget")
self.horizontalLayout = QtWidgets.QHBoxLayout(self.horizontalLayoutWidget)
self.horizontalLayout.setContentsMargins(0, 0, 40, 0)
self.horizontalLayout.setSpacing(24)
self.horizontalLayout.setObjectName("horizontalLayout")
self.label_sample_name = QtWidgets.QLabel(self.horizontalLayoutWidget)
font = QtGui.QFont()
font.setPointSize(9)
self.label_sample_name.setFont(font)
self.label_sample_name.setObjectName("label_sample_name")
self.horizontalLayout.addWidget(self.label_sample_name)
self.le_sample_name = QtWidgets.QLineEdit(self.horizontalLayoutWidget)
font = QtGui.QFont()
font.setPointSize(9)
self.le_sample_name.setFont(font)
self.le_sample_name.setObjectName("le_sample_name")
self.horizontalLayout.addWidget(self.le_sample_name)
self.rB_table_s = QtWidgets.QRadioButton(self.groupBox_3)
self.rB_table_s.setGeometry(QtCore.QRect(10, 240, 21, 20))
self.rB_table_s.setText("")
self.rB_table_s.setObjectName("rB_table_s")
self.rB_file_s = QtWidgets.QRadioButton(self.groupBox_3)
self.rB_file_s.setGeometry(QtCore.QRect(10, 550, 21, 20))
self.rB_file_s.setText("")
self.rB_file_s.setObjectName("rB_file_s")
self.groupBox_import_sample = QtWidgets.QGroupBox(self.groupBox_3)
self.groupBox_import_sample.setGeometry(QtCore.QRect(50, 450, 441, 221))
self.groupBox_import_sample.setObjectName("groupBox_import_sample")
self.groupBox_7 = QtWidgets.QGroupBox(self.groupBox_import_sample)
self.groupBox_7.setGeometry(QtCore.QRect(10, 30, 361, 81))
self.groupBox_7.setObjectName("groupBox_7")
self.pb_browse_sample = QtWidgets.QPushButton(self.groupBox_7)
self.pb_browse_sample.setGeometry(QtCore.QRect(260, 30, 93, 28))
self.pb_browse_sample.setObjectName("pb_browse_sample")
self.le_browse_sample = QtWidgets.QLineEdit(self.groupBox_7)
self.le_browse_sample.setGeometry(QtCore.QRect(20, 30, 221, 22))
self.le_browse_sample.setObjectName("le_browse_sample")
self.groupBox_sample_filter = QtWidgets.QGroupBox(self.groupBox_import_sample)
self.groupBox_sample_filter.setGeometry(QtCore.QRect(10, 120, 361, 81))
self.groupBox_sample_filter.setCheckable(True)
self.groupBox_sample_filter.setChecked(False)
self.groupBox_sample_filter.setObjectName("groupBox_sample_filter")
self.pb_browse_sample_filter = QtWidgets.QPushButton(self.groupBox_sample_filter)
self.pb_browse_sample_filter.setGeometry(QtCore.QRect(260, 30, 93, 28))
self.pb_browse_sample_filter.setObjectName("pb_browse_sample_filter")
self.le_browse_sample_filter = QtWidgets.QLineEdit(self.groupBox_sample_filter)
self.le_browse_sample_filter.setGeometry(QtCore.QRect(20, 30, 221, 22))
self.le_browse_sample_filter.setObjectName("le_browse_sample_filter")
self.pB_spectrum = QtWidgets.QPushButton(self.groupBox_import_sample)
self.pB_spectrum.setEnabled(True)
self.pB_spectrum.setGeometry(QtCore.QRect(380, 100, 51, 41))
self.pB_spectrum.setText("")
icon1 = QtGui.QIcon()
icon1.addPixmap(QtGui.QPixmap("spectrum_icon_2.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.pB_spectrum.setIcon(icon1)
self.pB_spectrum.setIconSize(QtCore.QSize(30, 30))
self.pB_spectrum.setCheckable(True)
self.pB_spectrum.setChecked(False)
self.pB_spectrum.setObjectName("pB_spectrum")
self.label = QtWidgets.QLabel(self.groupBox_3)
self.label.setGeometry(QtCore.QRect(0, 410, 461, 20))
self.label.setAlignment(QtCore.Qt.AlignCenter)
self.label.setObjectName("label")
self.line = QtWidgets.QFrame(self.groupBox_3)
self.line.setGeometry(QtCore.QRect(80, 420, 118, 3))
self.line.setFrameShape(QtWidgets.QFrame.HLine)
self.line.setFrameShadow(QtWidgets.QFrame.Sunken)
self.line.setObjectName("line")
self.line_2 = QtWidgets.QFrame(self.groupBox_3)
self.line_2.setGeometry(QtCore.QRect(260, 420, 118, 3))
self.line_2.setFrameShape(QtWidgets.QFrame.HLine)
self.line_2.setFrameShadow(QtWidgets.QFrame.Sunken)
self.line_2.setObjectName("line_2")
self.groupBox_4 = QtWidgets.QGroupBox(self.centralwidget)
self.groupBox_4.setGeometry(QtCore.QRect(560, 20, 501, 691))
self.groupBox_4.setObjectName("groupBox_4")
self.groupBox_2 = QtWidgets.QGroupBox(self.groupBox_4)
self.groupBox_2.setGeometry(QtCore.QRect(50, 130, 381, 261))
self.groupBox_2.setObjectName("groupBox_2")
self.tW_reference = QtWidgets.QTableWidget(self.groupBox_2)
self.tW_reference.setGeometry(QtCore.QRect(20, 40, 321, 201))
self.tW_reference.setAcceptDrops(False)
self.tW_reference.setInputMethodHints(QtCore.Qt.ImhNone)
self.tW_reference.setDragEnabled(False)
self.tW_reference.setObjectName("tW_reference")
self.tW_reference.setColumnCount(2)
self.tW_reference.setRowCount(4)
item = QtWidgets.QTableWidgetItem()
self.tW_reference.setVerticalHeaderItem(0, item)
item = QtWidgets.QTableWidgetItem()
self.tW_reference.setVerticalHeaderItem(1, item)
item = QtWidgets.QTableWidgetItem()
self.tW_reference.setVerticalHeaderItem(2, item)
item = QtWidgets.QTableWidgetItem()
self.tW_reference.setVerticalHeaderItem(3, item)
item = QtWidgets.QTableWidgetItem()
self.tW_reference.setHorizontalHeaderItem(0, item)
item = QtWidgets.QTableWidgetItem()
self.tW_reference.setHorizontalHeaderItem(1, item)
item = QtWidgets.QTableWidgetItem()
self.tW_reference.setItem(0, 0, item)
item = QtWidgets.QTableWidgetItem()
self.tW_reference.setItem(0, 1, item)
item = QtWidgets.QTableWidgetItem()
self.tW_reference.setItem(1, 0, item)
item = QtWidgets.QTableWidgetItem()
self.tW_reference.setItem(1, 1, item)
item = QtWidgets.QTableWidgetItem()
self.tW_reference.setItem(2, 0, item)
item = QtWidgets.QTableWidgetItem()
self.tW_reference.setItem(2, 1, item)
item = QtWidgets.QTableWidgetItem()
self.tW_reference.setItem(3, 0, item)
item = QtWidgets.QTableWidgetItem()
self.tW_reference.setItem(3, 1, item)
self.rB_table_r = QtWidgets.QRadioButton(self.groupBox_4)
self.rB_table_r.setGeometry(QtCore.QRect(10, 260, 21, 20))
self.rB_table_r.setText("")
self.rB_table_r.setObjectName("rB_table_r")
self.rB_file_r = QtWidgets.QRadioButton(self.groupBox_4)
self.rB_file_r.setGeometry(QtCore.QRect(10, 560, 21, 20))
self.rB_file_r.setText("")
self.rB_file_r.setObjectName("rB_file_r")
self.line_4 = QtWidgets.QFrame(self.groupBox_4)
self.line_4.setGeometry(QtCore.QRect(80, 420, 118, 3))
self.line_4.setFrameShape(QtWidgets.QFrame.HLine)
self.line_4.setFrameShadow(QtWidgets.QFrame.Sunken)
self.line_4.setObjectName("line_4")
self.label_2 = QtWidgets.QLabel(self.groupBox_4)
self.label_2.setGeometry(QtCore.QRect(0, 410, 461, 20))
self.label_2.setAlignment(QtCore.Qt.AlignCenter)
self.label_2.setObjectName("label_2")
self.line_3 = QtWidgets.QFrame(self.groupBox_4)
self.line_3.setGeometry(QtCore.QRect(260, 420, 118, 3))
self.line_3.setFrameShape(QtWidgets.QFrame.HLine)
self.line_3.setFrameShadow(QtWidgets.QFrame.Sunken)
self.line_3.setObjectName("line_3")
self.groupBox_import_reference = QtWidgets.QGroupBox(self.groupBox_4)
self.groupBox_import_reference.setGeometry(QtCore.QRect(50, 450, 381, 221))
self.groupBox_import_reference.setObjectName("groupBox_import_reference")
self.groupBox_10 = QtWidgets.QGroupBox(self.groupBox_import_reference)
self.groupBox_10.setGeometry(QtCore.QRect(10, 30, 361, 81))
self.groupBox_10.setObjectName("groupBox_10")
self.pb_browse_reference = QtWidgets.QPushButton(self.groupBox_10)
self.pb_browse_reference.setGeometry(QtCore.QRect(260, 30, 93, 28))
self.pb_browse_reference.setObjectName("pb_browse_reference")
self.le_browse_reference = QtWidgets.QLineEdit(self.groupBox_10)
self.le_browse_reference.setGeometry(QtCore.QRect(20, 30, 221, 22))
self.le_browse_reference.setObjectName("le_browse_reference")
self.groupBox_reference_filter = QtWidgets.QGroupBox(self.groupBox_import_reference)
self.groupBox_reference_filter.setGeometry(QtCore.QRect(10, 120, 361, 81))
self.groupBox_reference_filter.setCheckable(True)
self.groupBox_reference_filter.setChecked(False)
self.groupBox_reference_filter.setObjectName("groupBox_reference_filter")
self.pb_browse_reference_filter = QtWidgets.QPushButton(self.groupBox_reference_filter)
self.pb_browse_reference_filter.setGeometry(QtCore.QRect(260, 30, 93, 28))
self.pb_browse_reference_filter.setObjectName("pb_browse_reference_filter")
self.le_browse_reference_filter = QtWidgets.QLineEdit(self.groupBox_reference_filter)
self.le_browse_reference_filter.setGeometry(QtCore.QRect(20, 30, 221, 22))
self.le_browse_reference_filter.setObjectName("le_browse_reference_filter")
self.horizontalLayoutWidget_3 = QtWidgets.QWidget(self.groupBox_4)
self.horizontalLayoutWidget_3.setGeometry(QtCore.QRect(50, 30, 381, 31))
self.horizontalLayoutWidget_3.setObjectName("horizontalLayoutWidget_3")
self.horizontalLayout_3 = QtWidgets.QHBoxLayout(self.horizontalLayoutWidget_3)
self.horizontalLayout_3.setContentsMargins(0, 0, 0, 0)
self.horizontalLayout_3.setObjectName("horizontalLayout_3")
self.cb_bt2020 = QtWidgets.QCheckBox(self.horizontalLayoutWidget_3)
self.cb_bt2020.setObjectName("cb_bt2020")
self.horizontalLayout_3.addWidget(self.cb_bt2020)
self.cb_ntcs1953 = QtWidgets.QCheckBox(self.horizontalLayoutWidget_3)
self.cb_ntcs1953.setObjectName("cb_ntcs1953")
self.horizontalLayout_3.addWidget(self.cb_ntcs1953)
self.cb_adobe = QtWidgets.QCheckBox(self.horizontalLayoutWidget_3)
self.cb_adobe.setObjectName("cb_adobe")
self.horizontalLayout_3.addWidget(self.cb_adobe)
self.cb_srgb = QtWidgets.QCheckBox(self.horizontalLayoutWidget_3)
self.cb_srgb.setObjectName("cb_srgb")
self.horizontalLayout_3.addWidget(self.cb_srgb)
self.horizontalLayoutWidget_4 = QtWidgets.QWidget(self.groupBox_4)
self.horizontalLayoutWidget_4.setGeometry(QtCore.QRect(50, 60, 381, 61))
self.horizontalLayoutWidget_4.setObjectName("horizontalLayoutWidget_4")
self.horizontalLayout_4 = QtWidgets.QHBoxLayout(self.horizontalLayoutWidget_4)
self.horizontalLayout_4.setContentsMargins(0, 0, 39, 0)
self.horizontalLayout_4.setObjectName("horizontalLayout_4")
self.label_reference_name = QtWidgets.QLabel(self.horizontalLayoutWidget_4)
font = QtGui.QFont()
font.setPointSize(9)
self.label_reference_name.setFont(font)
self.label_reference_name.setObjectName("label_reference_name")
self.horizontalLayout_4.addWidget(self.label_reference_name)
self.le_reference_name = QtWidgets.QLineEdit(self.horizontalLayoutWidget_4)
font = QtGui.QFont()
font.setPointSize(9)
self.le_reference_name.setFont(font)
self.le_reference_name.setObjectName("le_reference_name")
self.horizontalLayout_4.addWidget(self.le_reference_name)
self.groupBox_12 = QtWidgets.QGroupBox(self.centralwidget)
self.groupBox_12.setGeometry(QtCore.QRect(370, 730, 351, 131))
font = QtGui.QFont()
font.setPointSize(9)
self.groupBox_12.setFont(font)
self.groupBox_12.setAlignment(QtCore.Qt.AlignCenter)
self.groupBox_12.setObjectName("groupBox_12")
self.textBrowser = QtWidgets.QTextBrowser(self.groupBox_12)
self.textBrowser.setGeometry(QtCore.QRect(30, 30, 291, 81))
font = QtGui.QFont()
font.setPointSize(9)
self.textBrowser.setFont(font)
self.textBrowser.setObjectName("textBrowser")
self.groupBox_6 = QtWidgets.QGroupBox(self.centralwidget)
self.groupBox_6.setGeometry(QtCore.QRect(760, 730, 301, 131))
self.groupBox_6.setObjectName("groupBox_6")
self.rb_1976 = QtWidgets.QRadioButton(self.groupBox_6)
self.rb_1976.setGeometry(QtCore.QRect(180, 30, 95, 20))
self.rb_1976.setObjectName("rb_1976")
self.rb_1931 = QtWidgets.QRadioButton(self.groupBox_6)
self.rb_1931.setGeometry(QtCore.QRect(50, 30, 95, 20))
self.rb_1931.setChecked(True)
self.rb_1931.setObjectName("rb_1931")
self.pB_calculate = QtWidgets.QPushButton(self.groupBox_6)
self.pB_calculate.setGeometry(QtCore.QRect(100, 70, 121, 41))
font = QtGui.QFont()
font.setPointSize(10)
self.pB_calculate.setFont(font)
self.pB_calculate.setObjectName("pB_calculate")
MainWindow.setCentralWidget(self.centralwidget)
self.menubar = QtWidgets.QMenuBar(MainWindow)
self.menubar.setGeometry(QtCore.QRect(0, 0, 1091, 26))
self.menubar.setObjectName("menubar")
self.menuHelp = QtWidgets.QMenu(self.menubar)
self.menuHelp.setObjectName("menuHelp")
MainWindow.setMenuBar(self.menubar)
self.statusbar = QtWidgets.QStatusBar(MainWindow)
self.statusbar.setObjectName("statusbar")
MainWindow.setStatusBar(self.statusbar)
self.actionAbout = QtWidgets.QAction(MainWindow)
self.actionAbout.setObjectName("actionAbout")
self.menuHelp.addAction(self.actionAbout)
self.menubar.addAction(self.menuHelp.menuAction())
self.retranslateUi(MainWindow)
QtCore.QMetaObject.connectSlotsByName(MainWindow)
def retranslateUi(self, MainWindow):
_translate = QtCore.QCoreApplication.translate
MainWindow.setWindowTitle(_translate("MainWindow", "Gamut Calculator"))
self.groupBox_3.setTitle(_translate("MainWindow", "Sample"))
self.groupBox.setTitle(_translate("MainWindow", "Sample CIE xy Coordinates"))
item = self.tW_sample.verticalHeaderItem(0)
item.setText(_translate("MainWindow", "Red"))
item = self.tW_sample.verticalHeaderItem(1)
item.setText(_translate("MainWindow", "Green"))
item = self.tW_sample.verticalHeaderItem(2)
item.setText(_translate("MainWindow", "Blue"))
item = self.tW_sample.verticalHeaderItem(3)
item.setText(_translate("MainWindow", "White"))
item = self.tW_sample.horizontalHeaderItem(0)
item.setText(_translate("MainWindow", "x"))
item = self.tW_sample.horizontalHeaderItem(1)
item.setText(_translate("MainWindow", "y"))
__sortingEnabled = self.tW_sample.isSortingEnabled()
self.tW_sample.setSortingEnabled(False)
self.tW_sample.setSortingEnabled(__sortingEnabled)
self.label_sample_name.setText(_translate("MainWindow", "Sample Name:"))
self.groupBox_import_sample.setTitle(_translate("MainWindow", "Import Data Files"))
self.groupBox_7.setTitle(_translate("MainWindow", "Spectrum File"))
self.pb_browse_sample.setText(_translate("MainWindow", "Browse"))
self.groupBox_sample_filter.setTitle(_translate("MainWindow", "Cell Filter File"))
self.pb_browse_sample_filter.setText(_translate("MainWindow", "Browse"))
self.label.setText(_translate("MainWindow", "OR"))
self.groupBox_4.setTitle(_translate("MainWindow", "Reference"))
self.groupBox_2.setTitle(_translate("MainWindow", "Reference CIE xy Coordinates"))
item = self.tW_reference.verticalHeaderItem(0)
item.setText(_translate("MainWindow", "Red"))
item = self.tW_reference.verticalHeaderItem(1)
item.setText(_translate("MainWindow", "Green"))
item = self.tW_reference.verticalHeaderItem(2)
item.setText(_translate("MainWindow", "Blue"))
item = self.tW_reference.verticalHeaderItem(3)
item.setText(_translate("MainWindow", "White"))
item = self.tW_reference.horizontalHeaderItem(0)
item.setText(_translate("MainWindow", "x"))
item = self.tW_reference.horizontalHeaderItem(1)
item.setText(_translate("MainWindow", "y"))
__sortingEnabled = self.tW_reference.isSortingEnabled()
self.tW_reference.setSortingEnabled(False)
self.tW_reference.setSortingEnabled(__sortingEnabled)
self.label_2.setText(_translate("MainWindow", "OR"))
self.groupBox_import_reference.setTitle(_translate("MainWindow", "Import Data Files"))
self.groupBox_10.setTitle(_translate("MainWindow", "Spectrum File"))
self.pb_browse_reference.setText(_translate("MainWindow", "Browse"))
self.groupBox_reference_filter.setTitle(_translate("MainWindow", "Cell Filter File"))
self.pb_browse_reference_filter.setText(_translate("MainWindow", "Browse"))
self.cb_bt2020.setText(_translate("MainWindow", "BT.2020"))
self.cb_ntcs1953.setText(_translate("MainWindow", "NTSC 1953"))
self.cb_adobe.setText(_translate("MainWindow", "Adobe RGB"))
self.cb_srgb.setText(_translate("MainWindow", "sRGB"))
self.label_reference_name.setText(_translate("MainWindow", "Reference Name:"))
self.groupBox_12.setTitle(_translate("MainWindow", "Results:"))
self.groupBox_6.setTitle(_translate("MainWindow", "Calculate"))
self.rb_1976.setText(_translate("MainWindow", "CIE1976 uv"))
self.rb_1931.setText(_translate("MainWindow", "CIE1931 xy"))
self.pB_calculate.setText(_translate("MainWindow", "Calculate"))
self.menuHelp.setTitle(_translate("MainWindow", "Help"))
self.actionAbout.setText(_translate("MainWindow", "About"))