15 |
15 |
16 class HgRevisionSelectionDialog(QDialog, Ui_HgRevisionSelectionDialog): |
16 class HgRevisionSelectionDialog(QDialog, Ui_HgRevisionSelectionDialog): |
17 """ |
17 """ |
18 Class implementing a dialog to select a revision. |
18 Class implementing a dialog to select a revision. |
19 """ |
19 """ |
20 def __init__(self, tagsList, branchesList, bookmarksList=None, showNone=False, |
20 def __init__(self, tagsList, branchesList, bookmarksList=None, |
21 parent=None): |
21 showNone=False, parent=None): |
22 """ |
22 """ |
23 Constructor |
23 Constructor |
24 |
24 |
25 @param tagsList list of tags (list of strings) |
25 @param tagsList list of tags (list of strings) |
26 @param branchesList list of branches (list of strings) |
26 @param branchesList list of branches (list of strings) |
27 @param bookmarksList list of bookmarks (list of strings) |
27 @param bookmarksList list of bookmarks (list of strings) |
28 @param showNone flag influencing the label of the 'None' selection (boolean) |
28 @param showNone flag influencing the label of the 'None' selection |
|
29 (boolean) |
29 @param parent parent widget (QWidget) |
30 @param parent parent widget (QWidget) |
30 """ |
31 """ |
31 super().__init__(parent) |
32 super().__init__(parent) |
32 self.setupUi(self) |
33 self.setupUi(self) |
33 |
34 |