2523:139f182b72f6 | 2525:8b507a9a2d40 |
---|---|
4 # | 4 # |
5 | 5 |
6 """ | 6 """ |
7 Module implementing a dialog to enter the data to relocate the workspace. | 7 Module implementing a dialog to enter the data to relocate the workspace. |
8 """ | 8 """ |
9 | |
10 from __future__ import unicode_literals # __IGNORE_WARNING__ | |
9 | 11 |
10 from PyQt4.QtGui import QDialog | 12 from PyQt4.QtGui import QDialog |
11 | 13 |
12 from .Ui_SvnRelocateDialog import Ui_SvnRelocateDialog | 14 from .Ui_SvnRelocateDialog import Ui_SvnRelocateDialog |
13 | 15 |
21 Constructor | 23 Constructor |
22 | 24 |
23 @param currUrl current repository URL (string) | 25 @param currUrl current repository URL (string) |
24 @param parent parent widget (QWidget) | 26 @param parent parent widget (QWidget) |
25 """ | 27 """ |
26 super().__init__(parent) | 28 super(SvnRelocateDialog, self).__init__(parent) |
27 self.setupUi(self) | 29 self.setupUi(self) |
28 | 30 |
29 self.currUrlLabel.setText(currUrl) | 31 self.currUrlLabel.setText(currUrl) |
30 self.newUrlEdit.setText(currUrl) | 32 self.newUrlEdit.setText(currUrl) |
31 | 33 |