5 |
5 |
6 """ |
6 """ |
7 Module implementing a dialog to show the output of the svn status command |
7 Module implementing a dialog to show the output of the svn status command |
8 process. |
8 process. |
9 """ |
9 """ |
|
10 |
|
11 from __future__ import unicode_literals # __IGNORE_WARNING__ |
|
12 try: |
|
13 str = unicode |
|
14 except (NameError): |
|
15 pass |
10 |
16 |
11 import os |
17 import os |
12 |
18 |
13 from PyQt4.QtCore import QTimer, QProcess, QRegExp, Qt, pyqtSlot |
19 from PyQt4.QtCore import QTimer, QProcess, QRegExp, Qt, pyqtSlot |
14 from PyQt4.QtGui import QWidget, QHeaderView, QLineEdit, QApplication, QMenu, \ |
20 from PyQt4.QtGui import QWidget, QHeaderView, QLineEdit, QApplication, QMenu, \ |
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(SvnStatusDialog, self).__init__(parent) |
38 self.setupUi(self) |
44 self.setupUi(self) |
39 |
45 |
40 self.__toBeCommittedColumn = 0 |
46 self.__toBeCommittedColumn = 0 |
41 self.__changelistColumn = 1 |
47 self.__changelistColumn = 1 |
42 self.__statusColumn = 2 |
48 self.__statusColumn = 2 |