33 |
33 |
34 @param vcs reference to the vcs object |
34 @param vcs reference to the vcs object |
35 @param mode mode of the dialog (HgBookmarksInOutDialog.INCOMING, |
35 @param mode mode of the dialog (HgBookmarksInOutDialog.INCOMING, |
36 HgBookmarksInOutDialog.OUTGOING) |
36 HgBookmarksInOutDialog.OUTGOING) |
37 @param parent reference to the parent widget (QWidget) |
37 @param parent reference to the parent widget (QWidget) |
|
38 @exception ValueError raised to indicate an invalid dialog mode |
38 """ |
39 """ |
39 super().__init__(parent) |
40 super().__init__(parent) |
40 self.setupUi(self) |
41 self.setupUi(self) |
41 |
42 |
42 self.buttonBox.button(QDialogButtonBox.Close).setEnabled(False) |
43 self.buttonBox.button(QDialogButtonBox.Close).setEnabled(False) |
85 def start(self, path): |
86 def start(self, path): |
86 """ |
87 """ |
87 Public slot to start the bookmarks command. |
88 Public slot to start the bookmarks command. |
88 |
89 |
89 @param path name of directory to be listed (string) |
90 @param path name of directory to be listed (string) |
|
91 @exception ValueError raised to indicate an invalid dialog mode |
90 """ |
92 """ |
91 self.errorGroup.hide() |
93 self.errorGroup.hide() |
92 |
94 |
93 self.intercept = False |
95 self.intercept = False |
94 self.activateWindow() |
96 self.activateWindow() |