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