##// END OF EJS Templates
#parace todo ok_falta pruebas
ralonso -
r91:92
parent child
Show More
@@ -224,7 +224,11
224 self.btnGbkp.setEnabled(not(var_bool))
224 self.btnGbkp.setEnabled(not(var_bool))
225 self.btnRestart.setEnabled(var_bool)
225 self.btnRestart.setEnabled(var_bool)
226 self.btnStartburn.setEnabled(var_bool)
226 self.btnStartburn.setEnabled(var_bool)
227
227
228 self.txtTDpath.setEnabled(not(var_bool))
229 self.txtTDpath.clear()
230 self.btnTDpath.setEnabled(not(var_bool))
231 self.btnCHstart.setEnabled(False)
228
232
229 def enabled_items2(var_bool, self):
233 def enabled_items2(var_bool, self):
230 self.btnRestart.setEnabled(not(var_bool))
234 self.btnRestart.setEnabled(not(var_bool))
@@ -348,6 +348,11
348 Generacion de archivos de configuracion usando los parametros
348 Generacion de archivos de configuracion usando los parametros
349 """
349 """
350
350
351 if self.bool_state_manual_check == True:
352 self.txtInfo.append("First stop the manual check process")
353 return
354
355
351 if functions.validate_parameters(self) == False:
356 if functions.validate_parameters(self) == False:
352 return
357 return
353
358
@@ -1001,7 +1001,7
1001 <item>
1001 <item>
1002 <widget class="QLineEdit" name="txtTDpath">
1002 <widget class="QLineEdit" name="txtTDpath">
1003 <property name="enabled">
1003 <property name="enabled">
1004 <bool>false</bool>
1004 <bool>true</bool>
1005 </property>
1005 </property>
1006 <property name="readOnly">
1006 <property name="readOnly">
1007 <bool>true</bool>
1007 <bool>true</bool>
@@ -1011,7 +1011,7
1011 <item>
1011 <item>
1012 <widget class="QPushButton" name="btnTDpath">
1012 <widget class="QPushButton" name="btnTDpath">
1013 <property name="enabled">
1013 <property name="enabled">
1014 <bool>false</bool>
1014 <bool>true</bool>
1015 </property>
1015 </property>
1016 <property name="text">
1016 <property name="text">
1017 <string>Temp Data Path</string>
1017 <string>Temp Data Path</string>
@@ -1158,16 +1158,6
1158 </size>
1158 </size>
1159 </property>
1159 </property>
1160 </spacer>
1160 </spacer>
1161 </item>
1162 <item>
1163 <widget class="QCheckBox" name="chkCheck">
1164 <property name="enabled">
1165 <bool>true</bool>
1166 </property>
1167 <property name="text">
1168 <string>MANUAL</string>
1169 </property>
1170 </widget>
1171 </item>
1161 </item>
1172 <item>
1162 <item>
1173 <spacer name="horizontalSpacer_15">
1163 <spacer name="horizontalSpacer_15">
@@ -1357,12 +1347,12
1357 <slot>setEnabled(bool)</slot>
1347 <slot>setEnabled(bool)</slot>
1358 <hints>
1348 <hints>
1359 <hint type="sourcelabel">
1349 <hint type="sourcelabel">
1360 <x>701</x>
1350 <x>119</x>
1361 <y>98</y>
1351 <y>103</y>
1362 </hint>
1352 </hint>
1363 <hint type="destinationlabel">
1353 <hint type="destinationlabel">
1364 <x>701</x>
1354 <x>119</x>
1365 <y>251</y>
1355 <y>103</y>
1366 </hint>
1356 </hint>
1367 </hints>
1357 </hints>
1368 </connection>
1358 </connection>
@@ -1373,12 +1363,12
1373 <slot>setEnabled(bool)</slot>
1363 <slot>setEnabled(bool)</slot>
1374 <hints>
1364 <hints>
1375 <hint type="sourcelabel">
1365 <hint type="sourcelabel">
1376 <x>263</x>
1366 <x>119</x>
1377 <y>79</y>
1367 <y>103</y>
1378 </hint>
1368 </hint>
1379 <hint type="destinationlabel">
1369 <hint type="destinationlabel">
1380 <x>251</x>
1370 <x>119</x>
1381 <y>167</y>
1371 <y>103</y>
1382 </hint>
1372 </hint>
1383 </hints>
1373 </hints>
1384 </connection>
1374 </connection>
@@ -1389,12 +1379,12
1389 <slot>setEnabled(bool)</slot>
1379 <slot>setEnabled(bool)</slot>
1390 <hints>
1380 <hints>
1391 <hint type="sourcelabel">
1381 <hint type="sourcelabel">
1392 <x>391</x>
1382 <x>119</x>
1393 <y>79</y>
1383 <y>103</y>
1394 </hint>
1384 </hint>
1395 <hint type="destinationlabel">
1385 <hint type="destinationlabel">
1396 <x>391</x>
1386 <x>119</x>
1397 <y>202</y>
1387 <y>103</y>
1398 </hint>
1388 </hint>
1399 </hints>
1389 </hints>
1400 </connection>
1390 </connection>
@@ -1409,56 +1399,8
1409 <y>79</y>
1399 <y>79</y>
1410 </hint>
1400 </hint>
1411 <hint type="destinationlabel">
1401 <hint type="destinationlabel">
1412 <x>95</x>
1402 <x>106</x>
1413 <y>167</y>
1403 <y>103</y>
1414 </hint>
1415 </hints>
1416 </connection>
1417 <connection>
1418 <sender>chkCheck</sender>
1419 <signal>toggled(bool)</signal>
1420 <receiver>txtTDpath</receiver>
1421 <slot>setEnabled(bool)</slot>
1422 <hints>
1423 <hint type="sourcelabel">
1424 <x>160</x>
1425 <y>378</y>
1426 </hint>
1427 <hint type="destinationlabel">
1428 <x>231</x>
1429 <y>306</y>
1430 </hint>
1431 </hints>
1432 </connection>
1433 <connection>
1434 <sender>chkCheck</sender>
1435 <signal>toggled(bool)</signal>
1436 <receiver>btnTDpath</receiver>
1437 <slot>setEnabled(bool)</slot>
1438 <hints>
1439 <hint type="sourcelabel">
1440 <x>160</x>
1441 <y>387</y>
1442 </hint>
1443 <hint type="destinationlabel">
1444 <x>802</x>
1445 <y>305</y>
1446 </hint>
1447 </hints>
1448 </connection>
1449 <connection>
1450 <sender>chkCheck</sender>
1451 <signal>toggled(bool)</signal>
1452 <receiver>txtTDpath</receiver>
1453 <slot>clear()</slot>
1454 <hints>
1455 <hint type="sourcelabel">
1456 <x>145</x>
1457 <y>388</y>
1458 </hint>
1459 <hint type="destinationlabel">
1460 <x>377</x>
1461 <y>303</y>
1462 </hint>
1404 </hint>
1463 </hints>
1405 </hints>
1464 </connection>
1406 </connection>
@@ -2,7 +2,7
2
2
3 # Form implementation generated from reading ui file '/home/ricardoar/JRO_SVN/eric4/jro_backup_manager/ui/About.ui'
3 # Form implementation generated from reading ui file '/home/ricardoar/JRO_SVN/eric4/jro_backup_manager/ui/About.ui'
4 #
4 #
5 # Created: Thu May 27 12:04:54 2010
5 # Created: Thu May 27 12:18:45 2010
6 # by: PyQt4 UI code generator 4.6
6 # by: PyQt4 UI code generator 4.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!
@@ -2,7 +2,7
2
2
3 # Form implementation generated from reading ui file '/home/ricardoar/JRO_SVN/eric4/jro_backup_manager/ui/MainWindow.ui'
3 # Form implementation generated from reading ui file '/home/ricardoar/JRO_SVN/eric4/jro_backup_manager/ui/MainWindow.ui'
4 #
4 #
5 # Created: Thu May 27 12:04:54 2010
5 # Created: Thu May 27 12:18:44 2010
6 # by: PyQt4 UI code generator 4.6
6 # by: PyQt4 UI code generator 4.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!
@@ -457,12 +457,12
457 spacerItem13 = QtGui.QSpacerItem(50, 20, QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Minimum)
457 spacerItem13 = QtGui.QSpacerItem(50, 20, QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Minimum)
458 self.horizontalLayout_17.addItem(spacerItem13)
458 self.horizontalLayout_17.addItem(spacerItem13)
459 self.txtTDpath = QtGui.QLineEdit(self.tabStatus)
459 self.txtTDpath = QtGui.QLineEdit(self.tabStatus)
460 self.txtTDpath.setEnabled(False)
460 self.txtTDpath.setEnabled(True)
461 self.txtTDpath.setReadOnly(True)
461 self.txtTDpath.setReadOnly(True)
462 self.txtTDpath.setObjectName("txtTDpath")
462 self.txtTDpath.setObjectName("txtTDpath")
463 self.horizontalLayout_17.addWidget(self.txtTDpath)
463 self.horizontalLayout_17.addWidget(self.txtTDpath)
464 self.btnTDpath = QtGui.QPushButton(self.tabStatus)
464 self.btnTDpath = QtGui.QPushButton(self.tabStatus)
465 self.btnTDpath.setEnabled(False)
465 self.btnTDpath.setEnabled(True)
466 self.btnTDpath.setObjectName("btnTDpath")
466 self.btnTDpath.setObjectName("btnTDpath")
467 self.horizontalLayout_17.addWidget(self.btnTDpath)
467 self.horizontalLayout_17.addWidget(self.btnTDpath)
468 self.verticalLayout_4.addLayout(self.horizontalLayout_17)
468 self.verticalLayout_4.addLayout(self.horizontalLayout_17)
@@ -530,10 +530,6
530 self.horizontalLayout_20.setObjectName("horizontalLayout_20")
530 self.horizontalLayout_20.setObjectName("horizontalLayout_20")
531 spacerItem15 = QtGui.QSpacerItem(50, 20, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Minimum)
531 spacerItem15 = QtGui.QSpacerItem(50, 20, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Minimum)
532 self.horizontalLayout_20.addItem(spacerItem15)
532 self.horizontalLayout_20.addItem(spacerItem15)
533 self.chkCheck = QtGui.QCheckBox(self.tabStatus)
534 self.chkCheck.setEnabled(True)
535 self.chkCheck.setObjectName("chkCheck")
536 self.horizontalLayout_20.addWidget(self.chkCheck)
537 spacerItem16 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
533 spacerItem16 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
538 self.horizontalLayout_20.addItem(spacerItem16)
534 self.horizontalLayout_20.addItem(spacerItem16)
539 self.btnCHstart = QtGui.QPushButton(self.tabStatus)
535 self.btnCHstart = QtGui.QPushButton(self.tabStatus)
@@ -611,9 +607,6
611 QtCore.QObject.connect(self.chkDevB, QtCore.SIGNAL("toggled(bool)"), self.grpDevB.setEnabled)
607 QtCore.QObject.connect(self.chkDevB, QtCore.SIGNAL("toggled(bool)"), self.grpDevB.setEnabled)
612 QtCore.QObject.connect(self.chkDevC, QtCore.SIGNAL("toggled(bool)"), self.grpDevC.setEnabled)
608 QtCore.QObject.connect(self.chkDevC, QtCore.SIGNAL("toggled(bool)"), self.grpDevC.setEnabled)
613 QtCore.QObject.connect(self.chkDevA, QtCore.SIGNAL("toggled(bool)"), self.grpDevA.setEnabled)
609 QtCore.QObject.connect(self.chkDevA, QtCore.SIGNAL("toggled(bool)"), self.grpDevA.setEnabled)
614 QtCore.QObject.connect(self.chkCheck, QtCore.SIGNAL("toggled(bool)"), self.txtTDpath.setEnabled)
615 QtCore.QObject.connect(self.chkCheck, QtCore.SIGNAL("toggled(bool)"), self.btnTDpath.setEnabled)
616 QtCore.QObject.connect(self.chkCheck, QtCore.SIGNAL("toggled(bool)"), self.txtTDpath.clear)
617 QtCore.QMetaObject.connectSlotsByName(MainWindow)
610 QtCore.QMetaObject.connectSlotsByName(MainWindow)
618 MainWindow.setTabOrder(self.txtDpath, self.btnDpath)
611 MainWindow.setTabOrder(self.txtDpath, self.btnDpath)
619 MainWindow.setTabOrder(self.btnDpath, self.txtRpath)
612 MainWindow.setTabOrder(self.btnDpath, self.txtRpath)
@@ -683,7 +676,6
683 self.lblDevB_2.setText(QtGui.QApplication.translate("MainWindow", "DEV B", None, QtGui.QApplication.UnicodeUTF8))
676 self.lblDevB_2.setText(QtGui.QApplication.translate("MainWindow", "DEV B", None, QtGui.QApplication.UnicodeUTF8))
684 self.lblDevC_2.setText(QtGui.QApplication.translate("MainWindow", "DEV C", None, QtGui.QApplication.UnicodeUTF8))
677 self.lblDevC_2.setText(QtGui.QApplication.translate("MainWindow", "DEV C", None, QtGui.QApplication.UnicodeUTF8))
685 self.lblDevD_2.setText(QtGui.QApplication.translate("MainWindow", "DEV D", None, QtGui.QApplication.UnicodeUTF8))
678 self.lblDevD_2.setText(QtGui.QApplication.translate("MainWindow", "DEV D", None, QtGui.QApplication.UnicodeUTF8))
686 self.chkCheck.setText(QtGui.QApplication.translate("MainWindow", "MANUAL", None, QtGui.QApplication.UnicodeUTF8))
687 self.btnCHstart.setText(QtGui.QApplication.translate("MainWindow", "START", None, QtGui.QApplication.UnicodeUTF8))
679 self.btnCHstart.setText(QtGui.QApplication.translate("MainWindow", "START", None, QtGui.QApplication.UnicodeUTF8))
688 self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabStatus), QtGui.QApplication.translate("MainWindow", "Status Burn", None, QtGui.QApplication.UnicodeUTF8))
680 self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabStatus), QtGui.QApplication.translate("MainWindow", "Status Burn", None, QtGui.QApplication.UnicodeUTF8))
689 self.btnGbkp.setText(QtGui.QApplication.translate("MainWindow", "Generate Bkp", None, QtGui.QApplication.UnicodeUTF8))
681 self.btnGbkp.setText(QtGui.QApplication.translate("MainWindow", "Generate Bkp", None, QtGui.QApplication.UnicodeUTF8))
@@ -2,7 +2,7
2
2
3 # Form implementation generated from reading ui file '/home/ricardoar/JRO_SVN/eric4/jro_backup_manager/ui/Parameters.ui'
3 # Form implementation generated from reading ui file '/home/ricardoar/JRO_SVN/eric4/jro_backup_manager/ui/Parameters.ui'
4 #
4 #
5 # Created: Thu May 27 12:04:54 2010
5 # Created: Thu May 27 12:18:45 2010
6 # by: PyQt4 UI code generator 4.6
6 # by: PyQt4 UI code generator 4.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!
General Comments 0
You need to be logged in to leave comments. Login now