4 # |
4 # |
5 |
5 |
6 """ |
6 """ |
7 Module implementing a dialog to browse the log history. |
7 Module implementing a dialog to browse the log history. |
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, QDate, QProcess, QRegExp, Qt, pyqtSlot |
18 from PyQt4.QtCore import QTimer, QDate, QProcess, QRegExp, Qt, pyqtSlot |
13 from PyQt4.QtGui import QCursor, QHeaderView, QLineEdit, QDialog, \ |
19 from PyQt4.QtGui import QCursor, QHeaderView, QLineEdit, QDialog, \ |
29 Constructor |
35 Constructor |
30 |
36 |
31 @param vcs reference to the vcs object |
37 @param vcs reference to the vcs object |
32 @param parent parent widget (QWidget) |
38 @param parent parent widget (QWidget) |
33 """ |
39 """ |
34 super().__init__(parent) |
40 super(SvnLogBrowserDialog, self).__init__(parent) |
35 self.setupUi(self) |
41 self.setupUi(self) |
36 |
42 |
37 self.buttonBox.button(QDialogButtonBox.Close).setEnabled(False) |
43 self.buttonBox.button(QDialogButtonBox.Close).setEnabled(False) |
38 self.buttonBox.button(QDialogButtonBox.Cancel).setDefault(True) |
44 self.buttonBox.button(QDialogButtonBox.Cancel).setDefault(True) |
39 |
45 |