# SVN changeset patch # User ralonso # Date 2010-05-27 17:24:22.358115 # Revision 92 #parace todo ok_falta pruebas Index: bk_manager/trunk/functions/functions2.py =================================================================== diff --git a/bk_manager/trunk/functions/functions2.py b/bk_manager/trunk/functions/functions2.py --- a/bk_manager/trunk/functions/functions2.py (revision 91) +++ b/bk_manager/trunk/functions/functions2.py (revision 92) @@ -224,7 +224,11 @@ self.btnGbkp.setEnabled(not(var_bool)) self.btnRestart.setEnabled(var_bool) self.btnStartburn.setEnabled(var_bool) - + + self.txtTDpath.setEnabled(not(var_bool)) + self.txtTDpath.clear() + self.btnTDpath.setEnabled(not(var_bool)) + self.btnCHstart.setEnabled(False) def enabled_items2(var_bool, self): self.btnRestart.setEnabled(not(var_bool)) Index: bk_manager/trunk/ui/MainWindow.py =================================================================== diff --git a/bk_manager/trunk/ui/MainWindow.py b/bk_manager/trunk/ui/MainWindow.py --- a/bk_manager/trunk/ui/MainWindow.py (revision 91) +++ b/bk_manager/trunk/ui/MainWindow.py (revision 92) @@ -348,6 +348,11 @@ Generacion de archivos de configuracion usando los parametros """ + if self.bool_state_manual_check == True: + self.txtInfo.append("First stop the manual check process") + return + + if functions.validate_parameters(self) == False: return Index: bk_manager/trunk/ui/MainWindow.ui =================================================================== diff --git a/bk_manager/trunk/ui/MainWindow.ui b/bk_manager/trunk/ui/MainWindow.ui --- a/bk_manager/trunk/ui/MainWindow.ui (revision 91) +++ b/bk_manager/trunk/ui/MainWindow.ui (revision 92) @@ -1001,7 +1001,7 @@ - false + true true @@ -1011,7 +1011,7 @@ - false + true Temp Data Path @@ -1158,16 +1158,6 @@ - - - - - true - - - MANUAL - - @@ -1357,12 +1347,12 @@ setEnabled(bool) - 701 - 98 + 119 + 103 - 701 - 251 + 119 + 103 @@ -1373,12 +1363,12 @@ setEnabled(bool) - 263 - 79 + 119 + 103 - 251 - 167 + 119 + 103 @@ -1389,12 +1379,12 @@ setEnabled(bool) - 391 - 79 + 119 + 103 - 391 - 202 + 119 + 103 @@ -1409,56 +1399,8 @@ 79 - 95 - 167 - - - - - chkCheck - toggled(bool) - txtTDpath - setEnabled(bool) - - - 160 - 378 - - - 231 - 306 - - - - - chkCheck - toggled(bool) - btnTDpath - setEnabled(bool) - - - 160 - 387 - - - 802 - 305 - - - - - chkCheck - toggled(bool) - txtTDpath - clear() - - - 145 - 388 - - - 377 - 303 + 106 + 103 Index: bk_manager/trunk/ui/Ui_About.py =================================================================== diff --git a/bk_manager/trunk/ui/Ui_About.py b/bk_manager/trunk/ui/Ui_About.py --- a/bk_manager/trunk/ui/Ui_About.py (revision 91) +++ b/bk_manager/trunk/ui/Ui_About.py (revision 92) @@ -2,7 +2,7 @@ # Form implementation generated from reading ui file '/home/ricardoar/JRO_SVN/eric4/jro_backup_manager/ui/About.ui' # -# Created: Thu May 27 12:04:54 2010 +# Created: Thu May 27 12:18:45 2010 # by: PyQt4 UI code generator 4.6 # # WARNING! All changes made in this file will be lost! Index: bk_manager/trunk/ui/Ui_MainWindow.py =================================================================== diff --git a/bk_manager/trunk/ui/Ui_MainWindow.py b/bk_manager/trunk/ui/Ui_MainWindow.py --- a/bk_manager/trunk/ui/Ui_MainWindow.py (revision 91) +++ b/bk_manager/trunk/ui/Ui_MainWindow.py (revision 92) @@ -2,7 +2,7 @@ # Form implementation generated from reading ui file '/home/ricardoar/JRO_SVN/eric4/jro_backup_manager/ui/MainWindow.ui' # -# Created: Thu May 27 12:04:54 2010 +# Created: Thu May 27 12:18:44 2010 # by: PyQt4 UI code generator 4.6 # # WARNING! All changes made in this file will be lost! @@ -457,12 +457,12 @@ spacerItem13 = QtGui.QSpacerItem(50, 20, QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Minimum) self.horizontalLayout_17.addItem(spacerItem13) self.txtTDpath = QtGui.QLineEdit(self.tabStatus) - self.txtTDpath.setEnabled(False) + self.txtTDpath.setEnabled(True) self.txtTDpath.setReadOnly(True) self.txtTDpath.setObjectName("txtTDpath") self.horizontalLayout_17.addWidget(self.txtTDpath) self.btnTDpath = QtGui.QPushButton(self.tabStatus) - self.btnTDpath.setEnabled(False) + self.btnTDpath.setEnabled(True) self.btnTDpath.setObjectName("btnTDpath") self.horizontalLayout_17.addWidget(self.btnTDpath) self.verticalLayout_4.addLayout(self.horizontalLayout_17) @@ -530,10 +530,6 @@ self.horizontalLayout_20.setObjectName("horizontalLayout_20") spacerItem15 = QtGui.QSpacerItem(50, 20, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Minimum) self.horizontalLayout_20.addItem(spacerItem15) - self.chkCheck = QtGui.QCheckBox(self.tabStatus) - self.chkCheck.setEnabled(True) - self.chkCheck.setObjectName("chkCheck") - self.horizontalLayout_20.addWidget(self.chkCheck) spacerItem16 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.horizontalLayout_20.addItem(spacerItem16) self.btnCHstart = QtGui.QPushButton(self.tabStatus) @@ -611,9 +607,6 @@ QtCore.QObject.connect(self.chkDevB, QtCore.SIGNAL("toggled(bool)"), self.grpDevB.setEnabled) QtCore.QObject.connect(self.chkDevC, QtCore.SIGNAL("toggled(bool)"), self.grpDevC.setEnabled) QtCore.QObject.connect(self.chkDevA, QtCore.SIGNAL("toggled(bool)"), self.grpDevA.setEnabled) - QtCore.QObject.connect(self.chkCheck, QtCore.SIGNAL("toggled(bool)"), self.txtTDpath.setEnabled) - QtCore.QObject.connect(self.chkCheck, QtCore.SIGNAL("toggled(bool)"), self.btnTDpath.setEnabled) - QtCore.QObject.connect(self.chkCheck, QtCore.SIGNAL("toggled(bool)"), self.txtTDpath.clear) QtCore.QMetaObject.connectSlotsByName(MainWindow) MainWindow.setTabOrder(self.txtDpath, self.btnDpath) MainWindow.setTabOrder(self.btnDpath, self.txtRpath) @@ -683,7 +676,6 @@ self.lblDevB_2.setText(QtGui.QApplication.translate("MainWindow", "DEV B", None, QtGui.QApplication.UnicodeUTF8)) self.lblDevC_2.setText(QtGui.QApplication.translate("MainWindow", "DEV C", None, QtGui.QApplication.UnicodeUTF8)) self.lblDevD_2.setText(QtGui.QApplication.translate("MainWindow", "DEV D", None, QtGui.QApplication.UnicodeUTF8)) - self.chkCheck.setText(QtGui.QApplication.translate("MainWindow", "MANUAL", None, QtGui.QApplication.UnicodeUTF8)) self.btnCHstart.setText(QtGui.QApplication.translate("MainWindow", "START", None, QtGui.QApplication.UnicodeUTF8)) self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabStatus), QtGui.QApplication.translate("MainWindow", "Status Burn", None, QtGui.QApplication.UnicodeUTF8)) self.btnGbkp.setText(QtGui.QApplication.translate("MainWindow", "Generate Bkp", None, QtGui.QApplication.UnicodeUTF8)) Index: bk_manager/trunk/ui/Ui_Parameters.py =================================================================== diff --git a/bk_manager/trunk/ui/Ui_Parameters.py b/bk_manager/trunk/ui/Ui_Parameters.py --- a/bk_manager/trunk/ui/Ui_Parameters.py (revision 91) +++ b/bk_manager/trunk/ui/Ui_Parameters.py (revision 92) @@ -2,7 +2,7 @@ # Form implementation generated from reading ui file '/home/ricardoar/JRO_SVN/eric4/jro_backup_manager/ui/Parameters.ui' # -# Created: Thu May 27 12:04:54 2010 +# Created: Thu May 27 12:18:45 2010 # by: PyQt4 UI code generator 4.6 # # WARNING! All changes made in this file will be lost!