@@ -7,8 +7,10 | |||||
7 | import sys |
|
7 | import sys | |
8 | app = QApplication(sys.argv) |
|
8 | app = QApplication(sys.argv) | |
9 | wnd = MainWindow() |
|
9 | wnd = MainWindow() | |
|
10 | sys.stdout=wnd | |||
10 | wnd.show() |
|
11 | wnd.show() | |
11 | sys.exit(app.exec_()) |
|
12 | sys.exit(app.exec_()) | |
|
13 | ||||
12 |
|
14 | |||
13 | if __name__ == '__main__': |
|
15 | if __name__ == '__main__': | |
14 | main() |
|
16 | main() |
@@ -23,13 +23,16 | |||||
23 | QMainWindow.__init__(self, parent) |
|
23 | QMainWindow.__init__(self, parent) | |
24 | self.setupUi(self) |
|
24 | self.setupUi(self) | |
25 | self.setupUi2() |
|
25 | self.setupUi2() | |
26 |
|
|
26 | sys.stdout = self | |
27 |
|
27 | |||
28 |
|
28 | |||
29 | def setupUi2(self): |
|
29 | def setupUi2(self): | |
30 | self.txtDpath.setText('/home/ricardoar/optional/STORAGE/EW_DRIFTS') |
|
30 | self.txtDpath.setText('/home/ricardoar/optional/STORAGE/EW_DRIFTS') | |
31 | self.txtRpath.setText('/home/ricardoar/optional/STORAGE/prueba1_jro_backup_manager') |
|
31 | self.txtRpath.setText('/home/ricardoar/optional/STORAGE/prueba1_jro_backup_manager') | |
32 | self.txtElabel.setText('EW_DRIFTS') |
|
32 | self.txtElabel.setText('EW_DRIFTS') | |
|
33 | ||||
|
34 | def write(self, txt): | |||
|
35 | self.txtInfo.append(str(txt)) | |||
33 |
|
36 | |||
34 |
|
37 | |||
35 | @pyqtSignature("") |
|
38 | @pyqtSignature("") | |
@@ -77,7 +80,7 | |||||
77 | output_p2=commands.getstatusoutput(var_cmd)[1] |
|
80 | output_p2=commands.getstatusoutput(var_cmd)[1] | |
78 |
|
81 | |||
79 | #INFO: Muestra los dias que se encontraron |
|
82 | #INFO: Muestra los dias que se encontraron | |
80 | self.txtInfo.append(output_p2) |
|
83 | #self.txtInfo.append(output_p2) | |
81 |
|
84 | |||
82 | #Se cargan las listas para seleccionar StartDay y StopDay |
|
85 | #Se cargan las listas para seleccionar StartDay y StopDay | |
83 | self.var_list=[] |
|
86 | self.var_list=[] | |
@@ -290,6 +293,8 | |||||
290 | var_n_files += len(var_files_list_2) |
|
293 | var_n_files += len(var_files_list_2) | |
291 | self.txtInfo.append(str(var_n_files)) |
|
294 | self.txtInfo.append(str(var_n_files)) | |
292 | self.tabParameters.setEnabled(False) |
|
295 | self.tabParameters.setEnabled(False) | |
|
296 | self.btnGbkp.setEnabled(False) | |||
|
297 | self.txtDtype.setText('tipo INV') | |||
293 |
|
298 | |||
294 |
|
299 | |||
295 | @pyqtSignature("") |
|
300 | @pyqtSignature("") | |
@@ -297,6 +302,9 | |||||
297 | """ |
|
302 | """ | |
298 | Slot documentation goes here. |
|
303 | Slot documentation goes here. | |
299 | """ |
|
304 | """ | |
|
305 | sys.stdout = self | |||
|
306 | #sys.stderr = self | |||
|
307 | print "stdout_!!!" | |||
300 | var_Rpath=self.txtRpath.text() |
|
308 | var_Rpath=self.txtRpath.text() | |
301 | var_Rpath_ppath=var_Rpath+"/ppath" |
|
309 | var_Rpath_ppath=var_Rpath+"/ppath" | |
302 | var_Rpath_iso=var_Rpath+"/iso" |
|
310 | var_Rpath_iso=var_Rpath+"/iso" | |
@@ -315,9 +323,9 | |||||
315 | #self.txtInfo.append(var_output) |
|
323 | #self.txtInfo.append(var_output) | |
316 |
|
324 | |||
317 | #os.system(str(var_cmd)) |
|
325 | #os.system(str(var_cmd)) | |
318 |
p = subprocess.Popen(str( |
|
326 | #p = subprocess.Popen(str('ls /'), shell=True, stdout=self) | |
319 | #os.waitpid(p.pid, 0) |
|
327 | #os.waitpid(p.pid, 0) | |
320 | self.txtInfo.append(str(p.pid)) |
|
328 | ####self.txtInfo.append(str(p.pid)) | |
321 |
|
329 | |||
322 | #timer.time = 10 |
|
330 | #timer.time = 10 | |
323 | #timer.init() |
|
331 | #timer.init() | |
@@ -328,3 +336,4 | |||||
328 | Slot documentation goes here. |
|
336 | Slot documentation goes here. | |
329 | """ |
|
337 | """ | |
330 | self.tabParameters.setEnabled(True) |
|
338 | self.tabParameters.setEnabled(True) | |
|
339 | self.btnGbkp.setEnabled(True) |
@@ -6,7 +6,7 | |||||
6 | <rect> |
|
6 | <rect> | |
7 | <x>0</x> |
|
7 | <x>0</x> | |
8 | <y>0</y> |
|
8 | <y>0</y> | |
9 |
<width>5 |
|
9 | <width>585</width> | |
10 | <height>787</height> |
|
10 | <height>787</height> | |
11 | </rect> |
|
11 | </rect> | |
12 | </property> |
|
12 | </property> | |
@@ -14,7 +14,7 | |||||
14 | <string>JRO BACKUP MANAGER</string> |
|
14 | <string>JRO BACKUP MANAGER</string> | |
15 | </property> |
|
15 | </property> | |
16 | <widget class="QWidget" name="centralwidget"> |
|
16 | <widget class="QWidget" name="centralwidget"> | |
17 |
<layout class="QVBoxLayout" name="verticalLayout |
|
17 | <layout class="QVBoxLayout" name="verticalLayout"> | |
18 | <item> |
|
18 | <item> | |
19 | <widget class="QTabWidget" name="tabWidget"> |
|
19 | <widget class="QTabWidget" name="tabWidget"> | |
20 | <property name="enabled"> |
|
20 | <property name="enabled"> | |
@@ -27,7 +27,7 | |||||
27 | </sizepolicy> |
|
27 | </sizepolicy> | |
28 | </property> |
|
28 | </property> | |
29 | <property name="currentIndex"> |
|
29 | <property name="currentIndex"> | |
30 |
<number> |
|
30 | <number>1</number> | |
31 | </property> |
|
31 | </property> | |
32 | <widget class="QWidget" name="tabParameters"> |
|
32 | <widget class="QWidget" name="tabParameters"> | |
33 | <property name="enabled"> |
|
33 | <property name="enabled"> | |
@@ -211,137 +211,173 | |||||
211 | <attribute name="title"> |
|
211 | <attribute name="title"> | |
212 | <string>Device Config.</string> |
|
212 | <string>Device Config.</string> | |
213 | </attribute> |
|
213 | </attribute> | |
214 | <layout class="QVBoxLayout" name="verticalLayout"> |
|
214 | <layout class="QVBoxLayout" name="verticalLayout_3"> | |
215 | <item> |
|
215 | <item> | |
216 |
< |
|
216 | <layout class="QGridLayout" name="gridLayout"> | |
217 | <property name="sizePolicy"> |
|
217 | <item row="0" column="0"> | |
218 | <sizepolicy hsizetype="Minimum" vsizetype="Minimum"> |
|
218 | <layout class="QVBoxLayout" name="verticalLayout_15"> | |
219 | <horstretch>0</horstretch> |
|
219 | <item> | |
220 | <verstretch>0</verstretch> |
|
220 | <widget class="QCheckBox" name="chkDevA"> | |
221 | </sizepolicy> |
|
221 | <property name="text"> | |
222 | </property> |
|
222 | <string>Dev A</string> | |
223 |
<property |
|
223 | </property> | |
224 |
|
|
224 | </widget> | |
225 |
< |
|
225 | </item> | |
226 | <height>16777215</height> |
|
226 | <item> | |
227 | </size> |
|
227 | <layout class="QVBoxLayout" name="verticalLayout_11"> | |
228 |
|
|
228 | <item> | |
229 |
|
|
229 | <widget class="QLineEdit" name="txtDeviceA"/> | |
230 | <item row="0" column="0"> |
|
230 | </item> | |
231 | <widget class="QCheckBox" name="chkDevA"> |
|
231 | <item> | |
232 | <property name="text"> |
|
232 | <widget class="QLineEdit" name="txtBspeedA"/> | |
233 | <string>Dev A</string> |
|
233 | </item> | |
234 |
|
|
234 | <item> | |
235 | </widget> |
|
235 | <widget class="QLineEdit" name="txtBmodeA"/> | |
236 | </item> |
|
236 | </item> | |
237 |
<item |
|
237 | <item> | |
238 |
<widget class="Q |
|
238 | <widget class="QPushButton" name="btnTdevA"> | |
239 | <property name="text"> |
|
239 | <property name="text"> | |
240 |
<string> |
|
240 | <string>Test DevA</string> | |
241 | </property> |
|
241 | </property> | |
242 | </widget> |
|
242 | </widget> | |
243 | </item> |
|
243 | </item> | |
244 | <item row="0" column="2"> |
|
244 | </layout> | |
245 | <widget class="QCheckBox" name="chkDevC"> |
|
245 | </item> | |
246 | <property name="text"> |
|
246 | </layout> | |
247 | <string>Dev C</string> |
|
247 | </item> | |
248 | </property> |
|
248 | <item row="0" column="1"> | |
249 | </widget> |
|
249 | <layout class="QVBoxLayout" name="verticalLayout_16"> | |
250 |
< |
|
250 | <item> | |
251 | <item row="0" column="3"> |
|
251 | <widget class="QCheckBox" name="chkDevB"> | |
252 | <widget class="QCheckBox" name="chkDevD"> |
|
252 | <property name="text"> | |
253 | <property name="text"> |
|
253 | <string>Dev B</string> | |
254 | <string>Dev D</string> |
|
254 | </property> | |
255 |
</ |
|
255 | </widget> | |
256 |
</ |
|
256 | </item> | |
257 |
< |
|
257 | <item> | |
258 | <item row="2" column="1"> |
|
258 | <layout class="QVBoxLayout" name="verticalLayout_12"> | |
259 | <widget class="QLineEdit" name="txtDeviceB"/> |
|
259 | <item> | |
260 | </item> |
|
260 | <widget class="QLineEdit" name="txtDeviceB"/> | |
261 | <item row="4" column="0"> |
|
261 | </item> | |
262 | <widget class="QLineEdit" name="txtBspeedA"/> |
|
262 | <item> | |
263 | </item> |
|
263 | <widget class="QLineEdit" name="txtBspeedB"/> | |
264 | <item row="2" column="0"> |
|
264 | </item> | |
265 | <widget class="QLineEdit" name="txtDeviceA"/> |
|
265 | <item> | |
266 | </item> |
|
266 | <widget class="QLineEdit" name="txtBmodeB"/> | |
267 | <item row="4" column="1"> |
|
267 | </item> | |
268 | <widget class="QLineEdit" name="txtBspeedB"/> |
|
268 | <item> | |
269 | </item> |
|
269 | <widget class="QPushButton" name="btnTdevB"> | |
270 | <item row="2" column="4"> |
|
270 | <property name="text"> | |
271 | <widget class="QLabel" name="lblDevice"> |
|
271 | <string>Test DevB</string> | |
272 |
<property |
|
272 | </property> | |
273 | <string>Device</string> |
|
273 | </widget> | |
274 |
|
|
274 | </item> | |
275 |
|
|
275 | </layout> | |
276 | </item> |
|
276 | </item> | |
277 | <item row="2" column="2"> |
|
277 | </layout> | |
278 | <widget class="QLineEdit" name="txtDeviceC"/> |
|
278 | </item> | |
279 |
|
|
279 | <item row="0" column="2"> | |
280 | <item row="2" column="3"> |
|
280 | <layout class="QVBoxLayout" name="verticalLayout_17"> | |
281 | <widget class="QLineEdit" name="txtDeviceD"/> |
|
281 | <item> | |
282 | </item> |
|
282 | <widget class="QCheckBox" name="chkDevC"> | |
283 | <item row="4" column="3"> |
|
283 | <property name="text"> | |
284 | <widget class="QLineEdit" name="txtBspeedD"/> |
|
284 | <string>Dev C</string> | |
285 |
|
|
285 | </property> | |
286 | <item row="5" column="0"> |
|
286 | </widget> | |
287 | <widget class="QLineEdit" name="txtBmodeA"/> |
|
287 | </item> | |
288 |
< |
|
288 | <item> | |
289 | <item row="5" column="1"> |
|
289 | <layout class="QVBoxLayout" name="verticalLayout_13"> | |
290 | <widget class="QLineEdit" name="txtBmodeB"/> |
|
290 | <item> | |
291 | </item> |
|
291 | <widget class="QLineEdit" name="txtDeviceC"/> | |
292 | <item row="4" column="4"> |
|
292 | </item> | |
293 | <widget class="QLabel" name="lblBspeed"> |
|
293 | <item> | |
294 | <property name="text"> |
|
294 | <widget class="QLineEdit" name="txtBspeedC"/> | |
295 | <string>Burn Speed</string> |
|
295 | </item> | |
296 |
|
|
296 | <item> | |
297 | </widget> |
|
297 | <widget class="QLineEdit" name="txtBmodeC"/> | |
298 | </item> |
|
298 | </item> | |
299 |
<item |
|
299 | <item> | |
300 |
<widget class="Q |
|
300 | <widget class="QPushButton" name="btnTdevC"> | |
301 | <property name="text"> |
|
301 | <property name="text"> | |
302 |
<string> |
|
302 | <string>Test DevC</string> | |
303 | </property> |
|
303 | </property> | |
304 | </widget> |
|
304 | </widget> | |
305 | </item> |
|
305 | </item> | |
306 | <item row="5" column="2"> |
|
306 | </layout> | |
307 | <widget class="QLineEdit" name="txtBmodeC"/> |
|
307 | </item> | |
308 |
</ |
|
308 | </layout> | |
309 |
|
|
309 | </item> | |
310 | <widget class="QLineEdit" name="txtBmodeD"/> |
|
310 | <item row="0" column="3"> | |
311 | </item> |
|
311 | <layout class="QVBoxLayout" name="verticalLayout_18"> | |
312 |
<item |
|
312 | <item> | |
313 |
<widget class="Q |
|
313 | <widget class="QCheckBox" name="chkDevD"> | |
314 | <property name="text"> |
|
314 | <property name="text"> | |
315 |
<string> |
|
315 | <string>Dev D</string> | |
316 | </property> |
|
316 | </property> | |
317 | </widget> |
|
317 | </widget> | |
318 | </item> |
|
318 | </item> | |
319 |
<item |
|
319 | <item> | |
320 |
|
|
320 | <layout class="QVBoxLayout" name="verticalLayout_14"> | |
321 |
|
|
321 | <item> | |
322 | <string>Test DevB</string> |
|
322 | <widget class="QLineEdit" name="txtDeviceD"/> | |
323 |
|
|
323 | </item> | |
324 |
|
|
324 | <item> | |
325 | </item> |
|
325 | <widget class="QLineEdit" name="txtBspeedD"/> | |
326 | <item row="6" column="2"> |
|
326 | </item> | |
327 | <widget class="QPushButton" name="btnTdevC"> |
|
327 | <item> | |
328 | <property name="text"> |
|
328 | <widget class="QLineEdit" name="txtBmodeD"/> | |
329 | <string>Test DevC</string> |
|
329 | </item> | |
330 |
|
|
330 | <item> | |
331 | </widget> |
|
331 | <widget class="QPushButton" name="btnTdevD"> | |
332 | </item> |
|
332 | <property name="text"> | |
333 | <item row="6" column="3"> |
|
333 | <string>Test DevD</string> | |
334 | <widget class="QPushButton" name="btnTdevD"> |
|
334 | </property> | |
335 | <property name="text"> |
|
335 | </widget> | |
336 | <string>Test DevD</string> |
|
336 | </item> | |
337 |
</ |
|
337 | </layout> | |
338 |
</ |
|
338 | </item> | |
339 |
</ |
|
339 | </layout> | |
340 |
|
|
340 | </item> | |
341 | <widget class="QLineEdit" name="txtBspeedC"/> |
|
341 | <item row="0" column="4"> | |
342 | </item> |
|
342 | <layout class="QVBoxLayout" name="verticalLayout_19"> | |
343 |
|
|
343 | <item> | |
344 | </widget> |
|
344 | <widget class="QLabel" name="label_2"> | |
|
345 | <property name="text"> | |||
|
346 | <string/> | |||
|
347 | </property> | |||
|
348 | </widget> | |||
|
349 | </item> | |||
|
350 | <item> | |||
|
351 | <widget class="QLabel" name="lblDevice"> | |||
|
352 | <property name="text"> | |||
|
353 | <string>Device</string> | |||
|
354 | </property> | |||
|
355 | </widget> | |||
|
356 | </item> | |||
|
357 | <item> | |||
|
358 | <widget class="QLabel" name="lblBspeed"> | |||
|
359 | <property name="text"> | |||
|
360 | <string>Burn Speed</string> | |||
|
361 | </property> | |||
|
362 | </widget> | |||
|
363 | </item> | |||
|
364 | <item> | |||
|
365 | <widget class="QLabel" name="lblBmode"> | |||
|
366 | <property name="text"> | |||
|
367 | <string>Burn Mode</string> | |||
|
368 | </property> | |||
|
369 | </widget> | |||
|
370 | </item> | |||
|
371 | <item> | |||
|
372 | <widget class="QLabel" name="label"> | |||
|
373 | <property name="text"> | |||
|
374 | <string/> | |||
|
375 | </property> | |||
|
376 | </widget> | |||
|
377 | </item> | |||
|
378 | </layout> | |||
|
379 | </item> | |||
|
380 | </layout> | |||
345 | </item> |
|
381 | </item> | |
346 | <item> |
|
382 | <item> | |
347 | <layout class="QHBoxLayout" name="horizontalLayout_9"> |
|
383 | <layout class="QHBoxLayout" name="horizontalLayout_9"> | |
@@ -384,6 +420,9 | |||||
384 | </property> |
|
420 | </property> | |
385 | <property name="text"> |
|
421 | <property name="text"> | |
386 | <string>Sequentially</string> |
|
422 | <string>Sequentially</string> | |
|
423 | </property> | |||
|
424 | <property name="checked"> | |||
|
425 | <bool>true</bool> | |||
387 | </property> |
|
426 | </property> | |
388 | </widget> |
|
427 | </widget> | |
389 | </item> |
|
428 | </item> | |
@@ -485,6 +524,13 | |||||
485 | </layout> |
|
524 | </layout> | |
486 | </item> |
|
525 | </item> | |
487 | </layout> |
|
526 | </layout> | |
|
527 | <zorder>horizontalLayoutWidget</zorder> | |||
|
528 | <zorder>layoutWidget</zorder> | |||
|
529 | <zorder>layoutWidget_2</zorder> | |||
|
530 | <zorder>layoutWidget_3</zorder> | |||
|
531 | <zorder>layoutWidget_4</zorder> | |||
|
532 | <zorder>layoutWidget_5</zorder> | |||
|
533 | <zorder>chkDevA</zorder> | |||
488 | </widget> |
|
534 | </widget> | |
489 | <widget class="QWidget" name="tabSburn"> |
|
535 | <widget class="QWidget" name="tabSburn"> | |
490 | <attribute name="title"> |
|
536 | <attribute name="title"> | |
@@ -662,7 +708,7 | |||||
662 | <rect> |
|
708 | <rect> | |
663 | <x>0</x> |
|
709 | <x>0</x> | |
664 | <y>0</y> |
|
710 | <y>0</y> | |
665 |
<width>5 |
|
711 | <width>585</width> | |
666 | <height>25</height> |
|
712 | <height>25</height> | |
667 | </rect> |
|
713 | </rect> | |
668 | </property> |
|
714 | </property> | |
@@ -723,26 +769,6 | |||||
723 | <tabstop>txtCopys</tabstop> |
|
769 | <tabstop>txtCopys</tabstop> | |
724 | <tabstop>lstStartDay</tabstop> |
|
770 | <tabstop>lstStartDay</tabstop> | |
725 | <tabstop>lstStopDay</tabstop> |
|
771 | <tabstop>lstStopDay</tabstop> | |
726 | <tabstop>chkDevA</tabstop> |
|
|||
727 | <tabstop>chkDevB</tabstop> |
|
|||
728 | <tabstop>chkDevC</tabstop> |
|
|||
729 | <tabstop>chkDevD</tabstop> |
|
|||
730 | <tabstop>txtDeviceA</tabstop> |
|
|||
731 | <tabstop>txtDeviceB</tabstop> |
|
|||
732 | <tabstop>txtDeviceC</tabstop> |
|
|||
733 | <tabstop>txtDeviceD</tabstop> |
|
|||
734 | <tabstop>txtBspeedA</tabstop> |
|
|||
735 | <tabstop>txtBspeedB</tabstop> |
|
|||
736 | <tabstop>txtBspeedC</tabstop> |
|
|||
737 | <tabstop>txtBspeedD</tabstop> |
|
|||
738 | <tabstop>txtBmodeA</tabstop> |
|
|||
739 | <tabstop>txtBmodeB</tabstop> |
|
|||
740 | <tabstop>txtBmodeC</tabstop> |
|
|||
741 | <tabstop>txtBmodeD</tabstop> |
|
|||
742 | <tabstop>btnTdevA</tabstop> |
|
|||
743 | <tabstop>btnTdevB</tabstop> |
|
|||
744 | <tabstop>btnTdevC</tabstop> |
|
|||
745 | <tabstop>btnTdevD</tabstop> |
|
|||
746 | <tabstop>chkSimultaneously</tabstop> |
|
772 | <tabstop>chkSimultaneously</tabstop> | |
747 | <tabstop>chkSequentially</tabstop> |
|
773 | <tabstop>chkSequentially</tabstop> | |
748 | <tabstop>chkSalert</tabstop> |
|
774 | <tabstop>chkSalert</tabstop> | |
@@ -772,18 +798,34 | |||||
772 | <resources/> |
|
798 | <resources/> | |
773 | <connections> |
|
799 | <connections> | |
774 | <connection> |
|
800 | <connection> | |
775 |
<sender>chk |
|
801 | <sender>chkSequentially</sender> | |
776 |
<signal> |
|
802 | <signal>clicked()</signal> | |
777 |
<receiver> |
|
803 | <receiver>chkSimultaneously</receiver> | |
778 |
<slot> |
|
804 | <slot>toggle()</slot> | |
779 | <hints> |
|
805 | <hints> | |
780 | <hint type="sourcelabel"> |
|
806 | <hint type="sourcelabel"> | |
781 |
<x> |
|
807 | <x>475</x> | |
782 |
<y> |
|
808 | <y>273</y> | |
783 | </hint> |
|
809 | </hint> | |
784 | <hint type="destinationlabel"> |
|
810 | <hint type="destinationlabel"> | |
785 |
<x> |
|
811 | <x>350</x> | |
786 |
<y> |
|
812 | <y>269</y> | |
|
813 | </hint> | |||
|
814 | </hints> | |||
|
815 | </connection> | |||
|
816 | <connection> | |||
|
817 | <sender>chkSimultaneously</sender> | |||
|
818 | <signal>clicked()</signal> | |||
|
819 | <receiver>chkSequentially</receiver> | |||
|
820 | <slot>toggle()</slot> | |||
|
821 | <hints> | |||
|
822 | <hint type="sourcelabel"> | |||
|
823 | <x>350</x> | |||
|
824 | <y>282</y> | |||
|
825 | </hint> | |||
|
826 | <hint type="destinationlabel"> | |||
|
827 | <x>436</x> | |||
|
828 | <y>278</y> | |||
787 | </hint> |
|
829 | </hint> | |
788 | </hints> |
|
830 | </hints> | |
789 | </connection> |
|
831 | </connection> |
@@ -2,8 +2,8 | |||||
2 |
|
2 | |||
3 | # Form implementation generated from reading ui file '/home/ricardoar/principal/JRO_SVN/eric4/jro_backup_manager/ui/MainWindow.ui' |
|
3 | # Form implementation generated from reading ui file '/home/ricardoar/principal/JRO_SVN/eric4/jro_backup_manager/ui/MainWindow.ui' | |
4 | # |
|
4 | # | |
5 |
# Created: |
|
5 | # Created: Wed Apr 28 17:13:17 2010 | |
6 |
# by: PyQt4 UI code generator 4.7. |
|
6 | # by: PyQt4 UI code generator 4.7.3 | |
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 | |||
@@ -12,11 +12,11 | |||||
12 | class Ui_MainWindow(object): |
|
12 | class Ui_MainWindow(object): | |
13 | def setupUi(self, MainWindow): |
|
13 | def setupUi(self, MainWindow): | |
14 | MainWindow.setObjectName("MainWindow") |
|
14 | MainWindow.setObjectName("MainWindow") | |
15 |
MainWindow.resize(5 |
|
15 | MainWindow.resize(585, 787) | |
16 | self.centralwidget = QtGui.QWidget(MainWindow) |
|
16 | self.centralwidget = QtGui.QWidget(MainWindow) | |
17 | self.centralwidget.setObjectName("centralwidget") |
|
17 | self.centralwidget.setObjectName("centralwidget") | |
18 |
self.verticalLayout |
|
18 | self.verticalLayout = QtGui.QVBoxLayout(self.centralwidget) | |
19 |
self.verticalLayout |
|
19 | self.verticalLayout.setObjectName("verticalLayout") | |
20 | self.tabWidget = QtGui.QTabWidget(self.centralwidget) |
|
20 | self.tabWidget = QtGui.QTabWidget(self.centralwidget) | |
21 | self.tabWidget.setEnabled(True) |
|
21 | self.tabWidget.setEnabled(True) | |
22 | sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding) |
|
22 | sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding) | |
@@ -125,88 +125,115 | |||||
125 | sizePolicy.setHeightForWidth(self.tabDconfig.sizePolicy().hasHeightForWidth()) |
|
125 | sizePolicy.setHeightForWidth(self.tabDconfig.sizePolicy().hasHeightForWidth()) | |
126 | self.tabDconfig.setSizePolicy(sizePolicy) |
|
126 | self.tabDconfig.setSizePolicy(sizePolicy) | |
127 | self.tabDconfig.setObjectName("tabDconfig") |
|
127 | self.tabDconfig.setObjectName("tabDconfig") | |
128 | self.verticalLayout = QtGui.QVBoxLayout(self.tabDconfig) |
|
128 | self.verticalLayout_3 = QtGui.QVBoxLayout(self.tabDconfig) | |
129 | self.verticalLayout.setObjectName("verticalLayout") |
|
129 | self.verticalLayout_3.setObjectName("verticalLayout_3") | |
130 |
self. |
|
130 | self.gridLayout = QtGui.QGridLayout() | |
131 | sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Minimum) |
|
|||
132 | sizePolicy.setHorizontalStretch(0) |
|
|||
133 | sizePolicy.setVerticalStretch(0) |
|
|||
134 | sizePolicy.setHeightForWidth(self.widget.sizePolicy().hasHeightForWidth()) |
|
|||
135 | self.widget.setSizePolicy(sizePolicy) |
|
|||
136 | self.widget.setMaximumSize(QtCore.QSize(500, 16777215)) |
|
|||
137 | self.widget.setObjectName("widget") |
|
|||
138 | self.gridLayout = QtGui.QGridLayout(self.widget) |
|
|||
139 | self.gridLayout.setObjectName("gridLayout") |
|
131 | self.gridLayout.setObjectName("gridLayout") | |
140 | self.chkDevA = QtGui.QCheckBox(self.widget) |
|
132 | self.verticalLayout_15 = QtGui.QVBoxLayout() | |
|
133 | self.verticalLayout_15.setObjectName("verticalLayout_15") | |||
|
134 | self.chkDevA = QtGui.QCheckBox(self.tabDconfig) | |||
141 | self.chkDevA.setObjectName("chkDevA") |
|
135 | self.chkDevA.setObjectName("chkDevA") | |
142 |
self. |
|
136 | self.verticalLayout_15.addWidget(self.chkDevA) | |
143 | self.chkDevB = QtGui.QCheckBox(self.widget) |
|
137 | self.verticalLayout_11 = QtGui.QVBoxLayout() | |
|
138 | self.verticalLayout_11.setObjectName("verticalLayout_11") | |||
|
139 | self.txtDeviceA = QtGui.QLineEdit(self.tabDconfig) | |||
|
140 | self.txtDeviceA.setObjectName("txtDeviceA") | |||
|
141 | self.verticalLayout_11.addWidget(self.txtDeviceA) | |||
|
142 | self.txtBspeedA = QtGui.QLineEdit(self.tabDconfig) | |||
|
143 | self.txtBspeedA.setObjectName("txtBspeedA") | |||
|
144 | self.verticalLayout_11.addWidget(self.txtBspeedA) | |||
|
145 | self.txtBmodeA = QtGui.QLineEdit(self.tabDconfig) | |||
|
146 | self.txtBmodeA.setObjectName("txtBmodeA") | |||
|
147 | self.verticalLayout_11.addWidget(self.txtBmodeA) | |||
|
148 | self.btnTdevA = QtGui.QPushButton(self.tabDconfig) | |||
|
149 | self.btnTdevA.setObjectName("btnTdevA") | |||
|
150 | self.verticalLayout_11.addWidget(self.btnTdevA) | |||
|
151 | self.verticalLayout_15.addLayout(self.verticalLayout_11) | |||
|
152 | self.gridLayout.addLayout(self.verticalLayout_15, 0, 0, 1, 1) | |||
|
153 | self.verticalLayout_16 = QtGui.QVBoxLayout() | |||
|
154 | self.verticalLayout_16.setObjectName("verticalLayout_16") | |||
|
155 | self.chkDevB = QtGui.QCheckBox(self.tabDconfig) | |||
144 | self.chkDevB.setObjectName("chkDevB") |
|
156 | self.chkDevB.setObjectName("chkDevB") | |
145 |
self. |
|
157 | self.verticalLayout_16.addWidget(self.chkDevB) | |
146 | self.chkDevC = QtGui.QCheckBox(self.widget) |
|
158 | self.verticalLayout_12 = QtGui.QVBoxLayout() | |
|
159 | self.verticalLayout_12.setObjectName("verticalLayout_12") | |||
|
160 | self.txtDeviceB = QtGui.QLineEdit(self.tabDconfig) | |||
|
161 | self.txtDeviceB.setObjectName("txtDeviceB") | |||
|
162 | self.verticalLayout_12.addWidget(self.txtDeviceB) | |||
|
163 | self.txtBspeedB = QtGui.QLineEdit(self.tabDconfig) | |||
|
164 | self.txtBspeedB.setObjectName("txtBspeedB") | |||
|
165 | self.verticalLayout_12.addWidget(self.txtBspeedB) | |||
|
166 | self.txtBmodeB = QtGui.QLineEdit(self.tabDconfig) | |||
|
167 | self.txtBmodeB.setObjectName("txtBmodeB") | |||
|
168 | self.verticalLayout_12.addWidget(self.txtBmodeB) | |||
|
169 | self.btnTdevB = QtGui.QPushButton(self.tabDconfig) | |||
|
170 | self.btnTdevB.setObjectName("btnTdevB") | |||
|
171 | self.verticalLayout_12.addWidget(self.btnTdevB) | |||
|
172 | self.verticalLayout_16.addLayout(self.verticalLayout_12) | |||
|
173 | self.gridLayout.addLayout(self.verticalLayout_16, 0, 1, 1, 1) | |||
|
174 | self.verticalLayout_17 = QtGui.QVBoxLayout() | |||
|
175 | self.verticalLayout_17.setObjectName("verticalLayout_17") | |||
|
176 | self.chkDevC = QtGui.QCheckBox(self.tabDconfig) | |||
147 | self.chkDevC.setObjectName("chkDevC") |
|
177 | self.chkDevC.setObjectName("chkDevC") | |
148 |
self. |
|
178 | self.verticalLayout_17.addWidget(self.chkDevC) | |
149 | self.chkDevD = QtGui.QCheckBox(self.widget) |
|
179 | self.verticalLayout_13 = QtGui.QVBoxLayout() | |
|
180 | self.verticalLayout_13.setObjectName("verticalLayout_13") | |||
|
181 | self.txtDeviceC = QtGui.QLineEdit(self.tabDconfig) | |||
|
182 | self.txtDeviceC.setObjectName("txtDeviceC") | |||
|
183 | self.verticalLayout_13.addWidget(self.txtDeviceC) | |||
|
184 | self.txtBspeedC = QtGui.QLineEdit(self.tabDconfig) | |||
|
185 | self.txtBspeedC.setObjectName("txtBspeedC") | |||
|
186 | self.verticalLayout_13.addWidget(self.txtBspeedC) | |||
|
187 | self.txtBmodeC = QtGui.QLineEdit(self.tabDconfig) | |||
|
188 | self.txtBmodeC.setObjectName("txtBmodeC") | |||
|
189 | self.verticalLayout_13.addWidget(self.txtBmodeC) | |||
|
190 | self.btnTdevC = QtGui.QPushButton(self.tabDconfig) | |||
|
191 | self.btnTdevC.setObjectName("btnTdevC") | |||
|
192 | self.verticalLayout_13.addWidget(self.btnTdevC) | |||
|
193 | self.verticalLayout_17.addLayout(self.verticalLayout_13) | |||
|
194 | self.gridLayout.addLayout(self.verticalLayout_17, 0, 2, 1, 1) | |||
|
195 | self.verticalLayout_18 = QtGui.QVBoxLayout() | |||
|
196 | self.verticalLayout_18.setObjectName("verticalLayout_18") | |||
|
197 | self.chkDevD = QtGui.QCheckBox(self.tabDconfig) | |||
150 | self.chkDevD.setObjectName("chkDevD") |
|
198 | self.chkDevD.setObjectName("chkDevD") | |
151 |
self. |
|
199 | self.verticalLayout_18.addWidget(self.chkDevD) | |
152 | self.txtDeviceB = QtGui.QLineEdit(self.widget) |
|
200 | self.verticalLayout_14 = QtGui.QVBoxLayout() | |
153 |
self. |
|
201 | self.verticalLayout_14.setObjectName("verticalLayout_14") | |
154 | self.gridLayout.addWidget(self.txtDeviceB, 2, 1, 1, 1) |
|
202 | self.txtDeviceD = QtGui.QLineEdit(self.tabDconfig) | |
155 | self.txtBspeedA = QtGui.QLineEdit(self.widget) |
|
203 | self.txtDeviceD.setObjectName("txtDeviceD") | |
156 | self.txtBspeedA.setObjectName("txtBspeedA") |
|
204 | self.verticalLayout_14.addWidget(self.txtDeviceD) | |
157 | self.gridLayout.addWidget(self.txtBspeedA, 4, 0, 1, 1) |
|
205 | self.txtBspeedD = QtGui.QLineEdit(self.tabDconfig) | |
158 | self.txtDeviceA = QtGui.QLineEdit(self.widget) |
|
206 | self.txtBspeedD.setObjectName("txtBspeedD") | |
159 | self.txtDeviceA.setObjectName("txtDeviceA") |
|
207 | self.verticalLayout_14.addWidget(self.txtBspeedD) | |
160 | self.gridLayout.addWidget(self.txtDeviceA, 2, 0, 1, 1) |
|
208 | self.txtBmodeD = QtGui.QLineEdit(self.tabDconfig) | |
161 | self.txtBspeedB = QtGui.QLineEdit(self.widget) |
|
209 | self.txtBmodeD.setObjectName("txtBmodeD") | |
162 | self.txtBspeedB.setObjectName("txtBspeedB") |
|
210 | self.verticalLayout_14.addWidget(self.txtBmodeD) | |
163 | self.gridLayout.addWidget(self.txtBspeedB, 4, 1, 1, 1) |
|
211 | self.btnTdevD = QtGui.QPushButton(self.tabDconfig) | |
164 | self.lblDevice = QtGui.QLabel(self.widget) |
|
212 | self.btnTdevD.setObjectName("btnTdevD") | |
|
213 | self.verticalLayout_14.addWidget(self.btnTdevD) | |||
|
214 | self.verticalLayout_18.addLayout(self.verticalLayout_14) | |||
|
215 | self.gridLayout.addLayout(self.verticalLayout_18, 0, 3, 1, 1) | |||
|
216 | self.verticalLayout_19 = QtGui.QVBoxLayout() | |||
|
217 | self.verticalLayout_19.setObjectName("verticalLayout_19") | |||
|
218 | self.label_2 = QtGui.QLabel(self.tabDconfig) | |||
|
219 | self.label_2.setText("") | |||
|
220 | self.label_2.setObjectName("label_2") | |||
|
221 | self.verticalLayout_19.addWidget(self.label_2) | |||
|
222 | self.lblDevice = QtGui.QLabel(self.tabDconfig) | |||
165 | self.lblDevice.setObjectName("lblDevice") |
|
223 | self.lblDevice.setObjectName("lblDevice") | |
166 |
self. |
|
224 | self.verticalLayout_19.addWidget(self.lblDevice) | |
167 |
self. |
|
225 | self.lblBspeed = QtGui.QLabel(self.tabDconfig) | |
168 | self.txtDeviceC.setObjectName("txtDeviceC") |
|
|||
169 | self.gridLayout.addWidget(self.txtDeviceC, 2, 2, 1, 1) |
|
|||
170 | self.txtDeviceD = QtGui.QLineEdit(self.widget) |
|
|||
171 | self.txtDeviceD.setObjectName("txtDeviceD") |
|
|||
172 | self.gridLayout.addWidget(self.txtDeviceD, 2, 3, 1, 1) |
|
|||
173 | self.txtBspeedD = QtGui.QLineEdit(self.widget) |
|
|||
174 | self.txtBspeedD.setObjectName("txtBspeedD") |
|
|||
175 | self.gridLayout.addWidget(self.txtBspeedD, 4, 3, 1, 1) |
|
|||
176 | self.txtBmodeA = QtGui.QLineEdit(self.widget) |
|
|||
177 | self.txtBmodeA.setObjectName("txtBmodeA") |
|
|||
178 | self.gridLayout.addWidget(self.txtBmodeA, 5, 0, 1, 1) |
|
|||
179 | self.txtBmodeB = QtGui.QLineEdit(self.widget) |
|
|||
180 | self.txtBmodeB.setObjectName("txtBmodeB") |
|
|||
181 | self.gridLayout.addWidget(self.txtBmodeB, 5, 1, 1, 1) |
|
|||
182 | self.lblBspeed = QtGui.QLabel(self.widget) |
|
|||
183 | self.lblBspeed.setObjectName("lblBspeed") |
|
226 | self.lblBspeed.setObjectName("lblBspeed") | |
184 |
self. |
|
227 | self.verticalLayout_19.addWidget(self.lblBspeed) | |
185 |
self.lblBmode = QtGui.QLabel(self. |
|
228 | self.lblBmode = QtGui.QLabel(self.tabDconfig) | |
186 | self.lblBmode.setObjectName("lblBmode") |
|
229 | self.lblBmode.setObjectName("lblBmode") | |
187 |
self. |
|
230 | self.verticalLayout_19.addWidget(self.lblBmode) | |
188 |
self. |
|
231 | self.label = QtGui.QLabel(self.tabDconfig) | |
189 |
self. |
|
232 | self.label.setText("") | |
190 | self.gridLayout.addWidget(self.txtBmodeC, 5, 2, 1, 1) |
|
233 | self.label.setObjectName("label") | |
191 | self.txtBmodeD = QtGui.QLineEdit(self.widget) |
|
234 | self.verticalLayout_19.addWidget(self.label) | |
192 | self.txtBmodeD.setObjectName("txtBmodeD") |
|
235 | self.gridLayout.addLayout(self.verticalLayout_19, 0, 4, 1, 1) | |
193 | self.gridLayout.addWidget(self.txtBmodeD, 5, 3, 1, 1) |
|
236 | self.verticalLayout_3.addLayout(self.gridLayout) | |
194 | self.btnTdevA = QtGui.QPushButton(self.widget) |
|
|||
195 | self.btnTdevA.setObjectName("btnTdevA") |
|
|||
196 | self.gridLayout.addWidget(self.btnTdevA, 6, 0, 1, 1) |
|
|||
197 | self.btnTdevB = QtGui.QPushButton(self.widget) |
|
|||
198 | self.btnTdevB.setObjectName("btnTdevB") |
|
|||
199 | self.gridLayout.addWidget(self.btnTdevB, 6, 1, 1, 1) |
|
|||
200 | self.btnTdevC = QtGui.QPushButton(self.widget) |
|
|||
201 | self.btnTdevC.setObjectName("btnTdevC") |
|
|||
202 | self.gridLayout.addWidget(self.btnTdevC, 6, 2, 1, 1) |
|
|||
203 | self.btnTdevD = QtGui.QPushButton(self.widget) |
|
|||
204 | self.btnTdevD.setObjectName("btnTdevD") |
|
|||
205 | self.gridLayout.addWidget(self.btnTdevD, 6, 3, 1, 1) |
|
|||
206 | self.txtBspeedC = QtGui.QLineEdit(self.widget) |
|
|||
207 | self.txtBspeedC.setObjectName("txtBspeedC") |
|
|||
208 | self.gridLayout.addWidget(self.txtBspeedC, 4, 2, 1, 1) |
|
|||
209 | self.verticalLayout.addWidget(self.widget) |
|
|||
210 | self.horizontalLayout_9 = QtGui.QHBoxLayout() |
|
237 | self.horizontalLayout_9 = QtGui.QHBoxLayout() | |
211 | self.horizontalLayout_9.setSizeConstraint(QtGui.QLayout.SetFixedSize) |
|
238 | self.horizontalLayout_9.setSizeConstraint(QtGui.QLayout.SetFixedSize) | |
212 | self.horizontalLayout_9.setObjectName("horizontalLayout_9") |
|
239 | self.horizontalLayout_9.setObjectName("horizontalLayout_9") | |
@@ -232,9 +259,10 | |||||
232 | sizePolicy.setVerticalStretch(0) |
|
259 | sizePolicy.setVerticalStretch(0) | |
233 | sizePolicy.setHeightForWidth(self.chkSequentially.sizePolicy().hasHeightForWidth()) |
|
260 | sizePolicy.setHeightForWidth(self.chkSequentially.sizePolicy().hasHeightForWidth()) | |
234 | self.chkSequentially.setSizePolicy(sizePolicy) |
|
261 | self.chkSequentially.setSizePolicy(sizePolicy) | |
|
262 | self.chkSequentially.setChecked(True) | |||
235 | self.chkSequentially.setObjectName("chkSequentially") |
|
263 | self.chkSequentially.setObjectName("chkSequentially") | |
236 | self.horizontalLayout_9.addWidget(self.chkSequentially) |
|
264 | self.horizontalLayout_9.addWidget(self.chkSequentially) | |
237 | self.verticalLayout.addLayout(self.horizontalLayout_9) |
|
265 | self.verticalLayout_3.addLayout(self.horizontalLayout_9) | |
238 | self.horizontalLayout_11 = QtGui.QHBoxLayout() |
|
266 | self.horizontalLayout_11 = QtGui.QHBoxLayout() | |
239 | self.horizontalLayout_11.setSpacing(6) |
|
267 | self.horizontalLayout_11.setSpacing(6) | |
240 | self.horizontalLayout_11.setSizeConstraint(QtGui.QLayout.SetDefaultConstraint) |
|
268 | self.horizontalLayout_11.setSizeConstraint(QtGui.QLayout.SetDefaultConstraint) | |
@@ -255,7 +283,7 | |||||
255 | self.chkSalert.setSizePolicy(sizePolicy) |
|
283 | self.chkSalert.setSizePolicy(sizePolicy) | |
256 | self.chkSalert.setObjectName("chkSalert") |
|
284 | self.chkSalert.setObjectName("chkSalert") | |
257 | self.horizontalLayout_11.addWidget(self.chkSalert) |
|
285 | self.horizontalLayout_11.addWidget(self.chkSalert) | |
258 | self.verticalLayout.addLayout(self.horizontalLayout_11) |
|
286 | self.verticalLayout_3.addLayout(self.horizontalLayout_11) | |
259 | self.horizontalLayout_10 = QtGui.QHBoxLayout() |
|
287 | self.horizontalLayout_10 = QtGui.QHBoxLayout() | |
260 | self.horizontalLayout_10.setSizeConstraint(QtGui.QLayout.SetFixedSize) |
|
288 | self.horizontalLayout_10.setSizeConstraint(QtGui.QLayout.SetFixedSize) | |
261 | self.horizontalLayout_10.setObjectName("horizontalLayout_10") |
|
289 | self.horizontalLayout_10.setObjectName("horizontalLayout_10") | |
@@ -277,7 +305,7 | |||||
277 | self.lineEdit_17 = QtGui.QLineEdit(self.tabDconfig) |
|
305 | self.lineEdit_17 = QtGui.QLineEdit(self.tabDconfig) | |
278 | self.lineEdit_17.setObjectName("lineEdit_17") |
|
306 | self.lineEdit_17.setObjectName("lineEdit_17") | |
279 | self.horizontalLayout_10.addWidget(self.lineEdit_17) |
|
307 | self.horizontalLayout_10.addWidget(self.lineEdit_17) | |
280 | self.verticalLayout.addLayout(self.horizontalLayout_10) |
|
308 | self.verticalLayout_3.addLayout(self.horizontalLayout_10) | |
281 | self.tabWidget.addTab(self.tabDconfig, "") |
|
309 | self.tabWidget.addTab(self.tabDconfig, "") | |
282 | self.tabSburn = QtGui.QWidget() |
|
310 | self.tabSburn = QtGui.QWidget() | |
283 | self.tabSburn.setObjectName("tabSburn") |
|
311 | self.tabSburn.setObjectName("tabSburn") | |
@@ -359,11 +387,11 | |||||
359 | self.txtSburn.setObjectName("txtSburn") |
|
387 | self.txtSburn.setObjectName("txtSburn") | |
360 | self.verticalLayout_4.addWidget(self.txtSburn) |
|
388 | self.verticalLayout_4.addWidget(self.txtSburn) | |
361 | self.tabWidget.addTab(self.tabSburn, "") |
|
389 | self.tabWidget.addTab(self.tabSburn, "") | |
362 |
self.verticalLayout |
|
390 | self.verticalLayout.addWidget(self.tabWidget) | |
363 | self.txtInfo = QtGui.QTextEdit(self.centralwidget) |
|
391 | self.txtInfo = QtGui.QTextEdit(self.centralwidget) | |
364 | self.txtInfo.setReadOnly(True) |
|
392 | self.txtInfo.setReadOnly(True) | |
365 | self.txtInfo.setObjectName("txtInfo") |
|
393 | self.txtInfo.setObjectName("txtInfo") | |
366 |
self.verticalLayout |
|
394 | self.verticalLayout.addWidget(self.txtInfo) | |
367 | self.horizontalLayout_2 = QtGui.QHBoxLayout() |
|
395 | self.horizontalLayout_2 = QtGui.QHBoxLayout() | |
368 | self.horizontalLayout_2.setSizeConstraint(QtGui.QLayout.SetDefaultConstraint) |
|
396 | self.horizontalLayout_2.setSizeConstraint(QtGui.QLayout.SetDefaultConstraint) | |
369 | self.horizontalLayout_2.setObjectName("horizontalLayout_2") |
|
397 | self.horizontalLayout_2.setObjectName("horizontalLayout_2") | |
@@ -379,10 +407,10 | |||||
379 | self.btnStopburn = QtGui.QPushButton(self.centralwidget) |
|
407 | self.btnStopburn = QtGui.QPushButton(self.centralwidget) | |
380 | self.btnStopburn.setObjectName("btnStopburn") |
|
408 | self.btnStopburn.setObjectName("btnStopburn") | |
381 | self.horizontalLayout_2.addWidget(self.btnStopburn) |
|
409 | self.horizontalLayout_2.addWidget(self.btnStopburn) | |
382 |
self.verticalLayout |
|
410 | self.verticalLayout.addLayout(self.horizontalLayout_2) | |
383 | MainWindow.setCentralWidget(self.centralwidget) |
|
411 | MainWindow.setCentralWidget(self.centralwidget) | |
384 | self.menubar = QtGui.QMenuBar(MainWindow) |
|
412 | self.menubar = QtGui.QMenuBar(MainWindow) | |
385 |
self.menubar.setGeometry(QtCore.QRect(0, 0, 5 |
|
413 | self.menubar.setGeometry(QtCore.QRect(0, 0, 585, 25)) | |
386 | self.menubar.setObjectName("menubar") |
|
414 | self.menubar.setObjectName("menubar") | |
387 | self.menuFile = QtGui.QMenu(self.menubar) |
|
415 | self.menuFile = QtGui.QMenu(self.menubar) | |
388 | self.menuFile.setObjectName("menuFile") |
|
416 | self.menuFile.setObjectName("menuFile") | |
@@ -411,9 +439,10 | |||||
411 | self.menubar.addAction(self.menuHelp.menuAction()) |
|
439 | self.menubar.addAction(self.menuHelp.menuAction()) | |
412 |
|
440 | |||
413 | self.retranslateUi(MainWindow) |
|
441 | self.retranslateUi(MainWindow) | |
414 |
self.tabWidget.setCurrentIndex( |
|
442 | self.tabWidget.setCurrentIndex(1) | |
415 | self.lstDcapacity.setCurrentIndex(2) |
|
443 | self.lstDcapacity.setCurrentIndex(2) | |
416 |
QtCore.QObject.connect(self.chk |
|
444 | QtCore.QObject.connect(self.chkSequentially, QtCore.SIGNAL("clicked()"), self.chkSimultaneously.toggle) | |
|
445 | QtCore.QObject.connect(self.chkSimultaneously, QtCore.SIGNAL("clicked()"), self.chkSequentially.toggle) | |||
417 | QtCore.QMetaObject.connectSlotsByName(MainWindow) |
|
446 | QtCore.QMetaObject.connectSlotsByName(MainWindow) | |
418 | MainWindow.setTabOrder(self.txtDpath, self.btnDpath) |
|
447 | MainWindow.setTabOrder(self.txtDpath, self.btnDpath) | |
419 | MainWindow.setTabOrder(self.btnDpath, self.txtRpath) |
|
448 | MainWindow.setTabOrder(self.btnDpath, self.txtRpath) | |
@@ -425,27 +454,7 | |||||
425 | MainWindow.setTabOrder(self.txtElabel, self.txtCopys) |
|
454 | MainWindow.setTabOrder(self.txtElabel, self.txtCopys) | |
426 | MainWindow.setTabOrder(self.txtCopys, self.lstStartDay) |
|
455 | MainWindow.setTabOrder(self.txtCopys, self.lstStartDay) | |
427 | MainWindow.setTabOrder(self.lstStartDay, self.lstStopDay) |
|
456 | MainWindow.setTabOrder(self.lstStartDay, self.lstStopDay) | |
428 |
MainWindow.setTabOrder(self.lstStopDay, self.chk |
|
457 | MainWindow.setTabOrder(self.lstStopDay, self.chkSimultaneously) | |
429 | MainWindow.setTabOrder(self.chkDevA, self.chkDevB) |
|
|||
430 | MainWindow.setTabOrder(self.chkDevB, self.chkDevC) |
|
|||
431 | MainWindow.setTabOrder(self.chkDevC, self.chkDevD) |
|
|||
432 | MainWindow.setTabOrder(self.chkDevD, self.txtDeviceA) |
|
|||
433 | MainWindow.setTabOrder(self.txtDeviceA, self.txtDeviceB) |
|
|||
434 | MainWindow.setTabOrder(self.txtDeviceB, self.txtDeviceC) |
|
|||
435 | MainWindow.setTabOrder(self.txtDeviceC, self.txtDeviceD) |
|
|||
436 | MainWindow.setTabOrder(self.txtDeviceD, self.txtBspeedA) |
|
|||
437 | MainWindow.setTabOrder(self.txtBspeedA, self.txtBspeedB) |
|
|||
438 | MainWindow.setTabOrder(self.txtBspeedB, self.txtBspeedC) |
|
|||
439 | MainWindow.setTabOrder(self.txtBspeedC, self.txtBspeedD) |
|
|||
440 | MainWindow.setTabOrder(self.txtBspeedD, self.txtBmodeA) |
|
|||
441 | MainWindow.setTabOrder(self.txtBmodeA, self.txtBmodeB) |
|
|||
442 | MainWindow.setTabOrder(self.txtBmodeB, self.txtBmodeC) |
|
|||
443 | MainWindow.setTabOrder(self.txtBmodeC, self.txtBmodeD) |
|
|||
444 | MainWindow.setTabOrder(self.txtBmodeD, self.btnTdevA) |
|
|||
445 | MainWindow.setTabOrder(self.btnTdevA, self.btnTdevB) |
|
|||
446 | MainWindow.setTabOrder(self.btnTdevB, self.btnTdevC) |
|
|||
447 | MainWindow.setTabOrder(self.btnTdevC, self.btnTdevD) |
|
|||
448 | MainWindow.setTabOrder(self.btnTdevD, self.chkSimultaneously) |
|
|||
449 | MainWindow.setTabOrder(self.chkSimultaneously, self.chkSequentially) |
|
458 | MainWindow.setTabOrder(self.chkSimultaneously, self.chkSequentially) | |
450 | MainWindow.setTabOrder(self.chkSequentially, self.chkSalert) |
|
459 | MainWindow.setTabOrder(self.chkSequentially, self.chkSalert) | |
451 | MainWindow.setTabOrder(self.chkSalert, self.lstDcapacity) |
|
460 | MainWindow.setTabOrder(self.chkSalert, self.lstDcapacity) | |
@@ -489,16 +498,16 | |||||
489 | self.lblStopDay.setText(QtGui.QApplication.translate("MainWindow", "Stop Day:", None, QtGui.QApplication.UnicodeUTF8)) |
|
498 | self.lblStopDay.setText(QtGui.QApplication.translate("MainWindow", "Stop Day:", None, QtGui.QApplication.UnicodeUTF8)) | |
490 | self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabParameters), QtGui.QApplication.translate("MainWindow", "Parameters", None, QtGui.QApplication.UnicodeUTF8)) |
|
499 | self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabParameters), QtGui.QApplication.translate("MainWindow", "Parameters", None, QtGui.QApplication.UnicodeUTF8)) | |
491 | self.chkDevA.setText(QtGui.QApplication.translate("MainWindow", "Dev A", None, QtGui.QApplication.UnicodeUTF8)) |
|
500 | self.chkDevA.setText(QtGui.QApplication.translate("MainWindow", "Dev A", None, QtGui.QApplication.UnicodeUTF8)) | |
|
501 | self.btnTdevA.setText(QtGui.QApplication.translate("MainWindow", "Test DevA", None, QtGui.QApplication.UnicodeUTF8)) | |||
492 | self.chkDevB.setText(QtGui.QApplication.translate("MainWindow", "Dev B", None, QtGui.QApplication.UnicodeUTF8)) |
|
502 | self.chkDevB.setText(QtGui.QApplication.translate("MainWindow", "Dev B", None, QtGui.QApplication.UnicodeUTF8)) | |
|
503 | self.btnTdevB.setText(QtGui.QApplication.translate("MainWindow", "Test DevB", None, QtGui.QApplication.UnicodeUTF8)) | |||
493 | self.chkDevC.setText(QtGui.QApplication.translate("MainWindow", "Dev C", None, QtGui.QApplication.UnicodeUTF8)) |
|
504 | self.chkDevC.setText(QtGui.QApplication.translate("MainWindow", "Dev C", None, QtGui.QApplication.UnicodeUTF8)) | |
|
505 | self.btnTdevC.setText(QtGui.QApplication.translate("MainWindow", "Test DevC", None, QtGui.QApplication.UnicodeUTF8)) | |||
494 | self.chkDevD.setText(QtGui.QApplication.translate("MainWindow", "Dev D", None, QtGui.QApplication.UnicodeUTF8)) |
|
506 | self.chkDevD.setText(QtGui.QApplication.translate("MainWindow", "Dev D", None, QtGui.QApplication.UnicodeUTF8)) | |
|
507 | self.btnTdevD.setText(QtGui.QApplication.translate("MainWindow", "Test DevD", None, QtGui.QApplication.UnicodeUTF8)) | |||
495 | self.lblDevice.setText(QtGui.QApplication.translate("MainWindow", "Device", None, QtGui.QApplication.UnicodeUTF8)) |
|
508 | self.lblDevice.setText(QtGui.QApplication.translate("MainWindow", "Device", None, QtGui.QApplication.UnicodeUTF8)) | |
496 | self.lblBspeed.setText(QtGui.QApplication.translate("MainWindow", "Burn Speed", None, QtGui.QApplication.UnicodeUTF8)) |
|
509 | self.lblBspeed.setText(QtGui.QApplication.translate("MainWindow", "Burn Speed", None, QtGui.QApplication.UnicodeUTF8)) | |
497 | self.lblBmode.setText(QtGui.QApplication.translate("MainWindow", "Burn Mode", None, QtGui.QApplication.UnicodeUTF8)) |
|
510 | self.lblBmode.setText(QtGui.QApplication.translate("MainWindow", "Burn Mode", None, QtGui.QApplication.UnicodeUTF8)) | |
498 | self.btnTdevA.setText(QtGui.QApplication.translate("MainWindow", "Test DevA", None, QtGui.QApplication.UnicodeUTF8)) |
|
|||
499 | self.btnTdevB.setText(QtGui.QApplication.translate("MainWindow", "Test DevB", None, QtGui.QApplication.UnicodeUTF8)) |
|
|||
500 | self.btnTdevC.setText(QtGui.QApplication.translate("MainWindow", "Test DevC", None, QtGui.QApplication.UnicodeUTF8)) |
|
|||
501 | self.btnTdevD.setText(QtGui.QApplication.translate("MainWindow", "Test DevD", None, QtGui.QApplication.UnicodeUTF8)) |
|
|||
502 | self.lblBprocess.setText(QtGui.QApplication.translate("MainWindow", "Burning process", None, QtGui.QApplication.UnicodeUTF8)) |
|
511 | self.lblBprocess.setText(QtGui.QApplication.translate("MainWindow", "Burning process", None, QtGui.QApplication.UnicodeUTF8)) | |
503 | self.chkSimultaneously.setText(QtGui.QApplication.translate("MainWindow", "Simultaneously", None, QtGui.QApplication.UnicodeUTF8)) |
|
512 | self.chkSimultaneously.setText(QtGui.QApplication.translate("MainWindow", "Simultaneously", None, QtGui.QApplication.UnicodeUTF8)) | |
504 | self.chkSequentially.setText(QtGui.QApplication.translate("MainWindow", "Sequentially", None, QtGui.QApplication.UnicodeUTF8)) |
|
513 | self.chkSequentially.setText(QtGui.QApplication.translate("MainWindow", "Sequentially", None, QtGui.QApplication.UnicodeUTF8)) |
General Comments 0
You need to be logged in to leave comments.
Login now