4 # |
4 # |
5 |
5 |
6 """ |
6 """ |
7 Module implementing a dialog to enter the URLs for the svn diff command. |
7 Module implementing a dialog to enter the URLs for the svn diff command. |
8 """ |
8 """ |
|
9 |
|
10 from __future__ import unicode_literals # __IGNORE_WARNING__ |
9 |
11 |
10 from PyQt4.QtCore import QRegExp, pyqtSlot |
12 from PyQt4.QtCore import QRegExp, pyqtSlot |
11 from PyQt4.QtGui import QDialog |
13 from PyQt4.QtGui import QDialog |
12 |
14 |
13 from E5Gui.E5Application import e5App |
15 from E5Gui.E5Application import e5App |
30 @param tagsList list of tags (list of strings) |
32 @param tagsList list of tags (list of strings) |
31 @param branchesList list of branches (list of strings) |
33 @param branchesList list of branches (list of strings) |
32 @param path pathname to determine the repository URL from (string) |
34 @param path pathname to determine the repository URL from (string) |
33 @param parent parent widget of the dialog (QWidget) |
35 @param parent parent widget of the dialog (QWidget) |
34 """ |
36 """ |
35 super().__init__(parent) |
37 super(SvnUrlSelectionDialog, self).__init__(parent) |
36 self.setupUi(self) |
38 self.setupUi(self) |
37 |
39 |
38 if vcs.version < (1, 4, 0): |
40 if vcs.version < (1, 4, 0): |
39 self.summaryCheckBox.setEnabled(False) |
41 self.summaryCheckBox.setEnabled(False) |
40 self.summaryCheckBox.setChecked(False) |
42 self.summaryCheckBox.setChecked(False) |