21 Constructor |
21 Constructor |
22 |
22 |
23 @param selections list of entries to select from (list of string) |
23 @param selections list of entries to select from (list of string) |
24 @param parent reference to the parent widget (QWidget) |
24 @param parent reference to the parent widget (QWidget) |
25 """ |
25 """ |
26 super(GitListDialog, self).__init__(parent) |
26 super().__init__(parent) |
27 self.setupUi(self) |
27 self.setupUi(self) |
28 |
28 |
29 self.selectionList.addItems(selections) |
29 self.selectionList.addItems(selections) |
30 |
30 |
31 def getSelection(self): |
31 def getSelection(self): |