6 """ |
6 """ |
7 Module implementing a dialog to browse the reflog history. |
7 Module implementing a dialog to browse the reflog history. |
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, Qt, QProcess, QTimer, QPoint |
14 from PyQt5.QtCore import pyqtSlot, Qt, QProcess, QTimer, QPoint |
19 from PyQt5.QtGui import QCursor |
15 from PyQt5.QtGui import QCursor |
22 |
18 |
23 from E5Gui import E5MessageBox |
19 from E5Gui import E5MessageBox |
24 |
20 |
25 from .Ui_GitReflogBrowserDialog import Ui_GitReflogBrowserDialog |
21 from .Ui_GitReflogBrowserDialog import Ui_GitReflogBrowserDialog |
26 |
22 |
27 from .GitUtilities import strToQByteArray |
|
28 |
|
29 import Preferences |
23 import Preferences |
|
24 from Globals import strToQByteArray |
30 |
25 |
31 |
26 |
32 class GitReflogBrowserDialog(QWidget, Ui_GitReflogBrowserDialog): |
27 class GitReflogBrowserDialog(QWidget, Ui_GitReflogBrowserDialog): |
33 """ |
28 """ |
34 Class implementing a dialog to browse the reflog history. |
29 Class implementing a dialog to browse the reflog history. |