7 Module implementing a dialog to show the output of the hg diff command process. |
7 Module implementing a dialog to show the output of the hg diff command process. |
8 """ |
8 """ |
9 |
9 |
10 import pathlib |
10 import pathlib |
11 |
11 |
12 from PyQt6.QtCore import pyqtSlot, Qt |
12 from PyQt6.QtCore import Qt, pyqtSlot |
13 from PyQt6.QtGui import QTextCursor |
13 from PyQt6.QtGui import QTextCursor |
14 from PyQt6.QtWidgets import QWidget, QDialogButtonBox |
14 from PyQt6.QtWidgets import QDialogButtonBox, QWidget |
15 |
15 |
16 from eric7.EricWidgets import EricMessageBox, EricFileDialog |
16 from eric7 import Preferences |
|
17 from eric7.EricWidgets import EricFileDialog, EricMessageBox |
17 from eric7.EricWidgets.EricApplication import ericApp |
18 from eric7.EricWidgets.EricApplication import ericApp |
18 |
19 |
|
20 from .HgDiffGenerator import HgDiffGenerator |
|
21 from .HgDiffHighlighter import HgDiffHighlighter |
19 from .Ui_HgDiffDialog import Ui_HgDiffDialog |
22 from .Ui_HgDiffDialog import Ui_HgDiffDialog |
20 from .HgDiffHighlighter import HgDiffHighlighter |
|
21 from .HgDiffGenerator import HgDiffGenerator |
|
22 |
|
23 from eric7 import Preferences |
|
24 |
23 |
25 |
24 |
26 class HgDiffDialog(QWidget, Ui_HgDiffDialog): |
25 class HgDiffDialog(QWidget, Ui_HgDiffDialog): |
27 """ |
26 """ |
28 Class implementing a dialog to show the output of the hg diff command |
27 Class implementing a dialog to show the output of the hg diff command |