37 |
37 |
38 @param vcs reference to the vcs object |
38 @param vcs reference to the vcs object |
39 @param mode mode of the dialog (string, "browse" or "select") |
39 @param mode mode of the dialog (string, "browse" or "select") |
40 @param parent parent widget (QWidget) |
40 @param parent parent widget (QWidget) |
41 """ |
41 """ |
42 super(SvnRepoBrowserDialog, self).__init__(parent) |
42 super().__init__(parent) |
43 self.setupUi(self) |
43 self.setupUi(self) |
44 SvnDialogMixin.__init__(self) |
44 SvnDialogMixin.__init__(self) |
45 self.setWindowFlags(Qt.WindowType.Window) |
45 self.setWindowFlags(Qt.WindowType.Window) |
46 |
46 |
47 self.repoTree.headerItem().setText(self.repoTree.columnCount(), "") |
47 self.repoTree.headerItem().setText(self.repoTree.columnCount(), "") |
295 Public slot called when the dialog is accepted. |
295 Public slot called when the dialog is accepted. |
296 """ |
296 """ |
297 if self.focusWidget() == self.urlCombo: |
297 if self.focusWidget() == self.urlCombo: |
298 return |
298 return |
299 |
299 |
300 super(SvnRepoBrowserDialog, self).accept() |
300 super().accept() |
301 |
301 |
302 def getSelectedUrl(self): |
302 def getSelectedUrl(self): |
303 """ |
303 """ |
304 Public method to retrieve the selected repository URL. |
304 Public method to retrieve the selected repository URL. |
305 |
305 |