eric7/Plugins/VcsPlugins/vcsGit/GitDescribeDialog.py

branch
eric7
changeset 8356
68ec9c3d4de5
parent 8318
962bce857696
child 8358
144a6b854f70
equal deleted inserted replaced
8355:8a7677a63c8d 8356:68ec9c3d4de5
12 from PyQt6.QtCore import pyqtSlot, QProcess, Qt, QTimer, QCoreApplication 12 from PyQt6.QtCore import pyqtSlot, QProcess, Qt, QTimer, QCoreApplication
13 from PyQt6.QtWidgets import ( 13 from PyQt6.QtWidgets import (
14 QDialog, QDialogButtonBox, QHeaderView, QTreeWidgetItem, QLineEdit 14 QDialog, QDialogButtonBox, QHeaderView, QTreeWidgetItem, QLineEdit
15 ) 15 )
16 16
17 from E5Gui import E5MessageBox 17 from E5Gui import EricMessageBox
18 18
19 from .Ui_GitDescribeDialog import Ui_GitDescribeDialog 19 from .Ui_GitDescribeDialog import Ui_GitDescribeDialog
20 20
21 import Preferences 21 import Preferences
22 from Globals import strToQByteArray 22 from Globals import strToQByteArray
110 self.process.start('git', args) 110 self.process.start('git', args)
111 procStarted = self.process.waitForStarted(5000) 111 procStarted = self.process.waitForStarted(5000)
112 if not procStarted: 112 if not procStarted:
113 self.inputGroup.setEnabled(False) 113 self.inputGroup.setEnabled(False)
114 self.inputGroup.hide() 114 self.inputGroup.hide()
115 E5MessageBox.critical( 115 EricMessageBox.critical(
116 self, 116 self,
117 self.tr('Process Generation Error'), 117 self.tr('Process Generation Error'),
118 self.tr( 118 self.tr(
119 'The process {0} could not be started. ' 119 'The process {0} could not be started. '
120 'Ensure, that it is in the search path.' 120 'Ensure, that it is in the search path.'

eric ide

mercurial