5138 return False |
5138 return False |
5139 |
5139 |
5140 @pyqtSlot() |
5140 @pyqtSlot() |
5141 def upgradeEricPyQt(self): |
5141 def upgradeEricPyQt(self): |
5142 """ |
5142 """ |
5143 Public slot to upgrade the eric-ide and Pyqt packages of the eric7 |
5143 Public slot to upgrade the eric-ide and PyQt packages of the eric7 |
5144 environment. |
5144 environment. |
5145 |
5145 |
5146 @return flag indicating a successful upgrade |
5146 @return flag indicating a successful upgrade |
5147 @rtype bool |
5147 @rtype bool |
5148 """ |
5148 """ |
5149 yes = EricMessageBox.yesNo( |
5149 yes = EricMessageBox.yesNo( |
5150 None, |
5150 None, |
5151 self.tr("Upgrade Eric"), |
5151 self.tr("Upgrade Eric and PyQt6"), |
5152 self.tr( |
5152 self.tr( |
5153 """eric needs to be closed in order to upgrade eric and""" |
5153 """eric needs to be closed in order to upgrade eric and""" |
5154 """ PyQt. It will be restarted once the upgrade process""" |
5154 """ PyQt. It will be restarted once the upgrade process""" |
5155 """ has finished. This may take some time.\n\n Shall""" |
5155 """ has finished. This may take some time.\n\n Shall""" |
5156 """ the upgrade be done now?""" |
5156 """ the upgrade be done now?""" |