6 """ |
6 """ |
7 Module implementing a dialog to show the results of the git describe action. |
7 Module implementing a dialog to show the results of the git describe action. |
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 import os |
12 import os |
17 |
13 |
18 from PyQt5.QtCore import pyqtSlot, QProcess, Qt, QTimer, QCoreApplication |
14 from PyQt5.QtCore import pyqtSlot, QProcess, Qt, QTimer, QCoreApplication |
19 from PyQt5.QtWidgets import QDialog, QDialogButtonBox, QHeaderView, \ |
15 from PyQt5.QtWidgets import QDialog, QDialogButtonBox, QHeaderView, \ |
21 |
17 |
22 from E5Gui import E5MessageBox |
18 from E5Gui import E5MessageBox |
23 |
19 |
24 from .Ui_GitDescribeDialog import Ui_GitDescribeDialog |
20 from .Ui_GitDescribeDialog import Ui_GitDescribeDialog |
25 |
21 |
26 from .GitUtilities import strToQByteArray |
|
27 |
|
28 import Preferences |
22 import Preferences |
|
23 from Globals import strToQByteArray |
29 |
24 |
30 |
25 |
31 class GitDescribeDialog(QDialog, Ui_GitDescribeDialog): |
26 class GitDescribeDialog(QDialog, Ui_GitDescribeDialog): |
32 """ |
27 """ |
33 Class implementing a dialog to show the results of the git describe action. |
28 Class implementing a dialog to show the results of the git describe action. |