6 """ |
6 """ |
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 from __future__ import unicode_literals |
10 from __future__ import unicode_literals |
11 try: |
|
12 str = unicode |
|
13 except NameError: |
|
14 pass |
|
15 |
11 |
16 from PyQt5.QtCore import pyqtSlot, QFileInfo, Qt |
12 from PyQt5.QtCore import pyqtSlot, QFileInfo, Qt |
17 from PyQt5.QtGui import QTextCursor, QCursor |
13 from PyQt5.QtGui import QTextCursor, QCursor |
18 from PyQt5.QtWidgets import QWidget, QDialogButtonBox, QApplication |
14 from PyQt5.QtWidgets import QWidget, QDialogButtonBox, QApplication |
19 |
15 |