2523:139f182b72f6 | 2525:8b507a9a2d40 |
---|---|
4 # | 4 # |
5 | 5 |
6 """ | 6 """ |
7 Module implementing a dialog to remove sub-repositories. | 7 Module implementing a dialog to remove sub-repositories. |
8 """ | 8 """ |
9 | |
10 from __future__ import unicode_literals # __IGNORE_WARNING__ | |
9 | 11 |
10 from PyQt4.QtCore import pyqtSlot | 12 from PyQt4.QtCore import pyqtSlot |
11 from PyQt4.QtGui import QDialog | 13 from PyQt4.QtGui import QDialog |
12 | 14 |
13 from .Ui_HgRemoveSubrepositoriesDialog import Ui_HgRemoveSubrepositoriesDialog | 15 from .Ui_HgRemoveSubrepositoriesDialog import Ui_HgRemoveSubrepositoriesDialog |
22 Constructor | 24 Constructor |
23 | 25 |
24 @param subrepositories list of sub-repository entries (list of strings) | 26 @param subrepositories list of sub-repository entries (list of strings) |
25 @param parent reference to the parent widget (QWidget) | 27 @param parent reference to the parent widget (QWidget) |
26 """ | 28 """ |
27 super().__init__(parent) | 29 super(HgRemoveSubrepositoriesDialog, self).__init__(parent) |
28 self.setupUi(self) | 30 self.setupUi(self) |
29 | 31 |
30 self.subrepositories.addItems(subrepositories) | 32 self.subrepositories.addItems(subrepositories) |
31 self.__removed = [] | 33 self.__removed = [] |
32 | 34 |