20 def __init__(self, bundleHeads, branches, parent=None): |
20 def __init__(self, bundleHeads, branches, parent=None): |
21 """ |
21 """ |
22 Constructor |
22 Constructor |
23 |
23 |
24 @param bundleHeads list of heads contained in a bundle |
24 @param bundleHeads list of heads contained in a bundle |
25 (list of strings) |
25 @type list of str |
26 @param branches list of available branch names (list of strings) |
26 @param branches list of available branch names |
27 @param parent reference to the parent widget (QWidget) |
27 @type list of str |
|
28 @param parent reference to the parent widget |
|
29 @type QWidget |
28 """ |
30 """ |
29 super().__init__(parent) |
31 super().__init__(parent) |
30 self.setupUi(self) |
32 self.setupUi(self) |
31 |
33 |
32 self.headCombo.addItems(sorted(bundleHeads)) |
34 self.headCombo.addItems(sorted(bundleHeads)) |