4 # |
4 # |
5 |
5 |
6 """ |
6 """ |
7 Module implementing a dialog to show the output of the svn log command process. |
7 Module implementing a dialog to show the output of the svn log command process. |
8 """ |
8 """ |
|
9 |
|
10 from __future__ import unicode_literals # __IGNORE_WARNING__ |
|
11 try: |
|
12 str = unicode |
|
13 except (NameError): |
|
14 pass |
9 |
15 |
10 import os |
16 import os |
11 |
17 |
12 from PyQt4.QtCore import QTimer, QByteArray, QProcess, QRegExp, QUrl, pyqtSlot |
18 from PyQt4.QtCore import QTimer, QByteArray, QProcess, QRegExp, QUrl, pyqtSlot |
13 from PyQt4.QtGui import QWidget, QLineEdit, QApplication, QTextCursor, QDialogButtonBox |
19 from PyQt4.QtGui import QWidget, QLineEdit, QApplication, QTextCursor, QDialogButtonBox |
32 Constructor |
38 Constructor |
33 |
39 |
34 @param vcs reference to the vcs object |
40 @param vcs reference to the vcs object |
35 @param parent parent widget (QWidget) |
41 @param parent parent widget (QWidget) |
36 """ |
42 """ |
37 super().__init__(parent) |
43 super(SvnLogDialog, self).__init__(parent) |
38 self.setupUi(self) |
44 self.setupUi(self) |
39 |
45 |
40 self.buttonBox.button(QDialogButtonBox.Close).setDefault(True) |
46 self.buttonBox.button(QDialogButtonBox.Close).setDefault(True) |
41 |
47 |
42 self.process = QProcess() |
48 self.process = QProcess() |