8 """ |
8 """ |
9 |
9 |
10 import os |
10 import os |
11 |
11 |
12 from PyQt6.QtCore import ( |
12 from PyQt6.QtCore import ( |
|
13 QCoreApplication, |
13 QProcess, |
14 QProcess, |
|
15 QProcessEnvironment, |
|
16 Qt, |
14 QTimer, |
17 QTimer, |
15 pyqtSlot, |
18 pyqtSlot, |
16 Qt, |
|
17 QCoreApplication, |
|
18 QProcessEnvironment, |
|
19 ) |
19 ) |
20 from PyQt6.QtWidgets import QDialog, QDialogButtonBox, QLineEdit |
20 from PyQt6.QtWidgets import QDialog, QDialogButtonBox, QLineEdit |
21 |
21 |
|
22 from eric7 import Preferences |
22 from eric7.EricWidgets import EricMessageBox |
23 from eric7.EricWidgets import EricMessageBox |
|
24 from eric7.Globals import strToQByteArray |
23 |
25 |
24 from .Ui_GitDialog import Ui_GitDialog |
26 from .Ui_GitDialog import Ui_GitDialog |
25 |
|
26 from eric7 import Preferences |
|
27 from eric7.Globals import strToQByteArray |
|
28 |
27 |
29 |
28 |
30 class GitDialog(QDialog, Ui_GitDialog): |
29 class GitDialog(QDialog, Ui_GitDialog): |
31 """ |
30 """ |
32 Class implementing a dialog starting a process and showing its output. |
31 Class implementing a dialog starting a process and showing its output. |