60 self.vcsUrlEdit.text(), |
60 self.vcsUrlEdit.text(), |
61 QFileDialog.Options(QFileDialog.ShowDirsOnly)) |
61 QFileDialog.Options(QFileDialog.ShowDirsOnly)) |
62 |
62 |
63 if directory: |
63 if directory: |
64 self.vcsUrlEdit.setText(Utilities.toNativeSeparators(directory)) |
64 self.vcsUrlEdit.setText(Utilities.toNativeSeparators(directory)) |
65 ## else: |
|
66 ## dlg = SvnRepoBrowserDialog(self.vcs, mode = "select", parent = self) |
|
67 ## dlg.start(self.protocolCombo.currentText() + self.vcsUrlEdit.text()) |
|
68 ## if dlg.exec_() == QDialog.Accepted: |
|
69 ## url = dlg.getSelectedUrl() |
|
70 ## if url: |
|
71 ## protocol = url.split("://")[0] |
|
72 ## path = url.split("://")[1] |
|
73 ## self.protocolCombo.setCurrentIndex(\ |
|
74 ## self.protocolCombo.findText(protocol + "://")) |
|
75 ## self.vcsUrlEdit.setText(path) |
|
76 |
65 |
77 @pyqtSlot() |
66 @pyqtSlot() |
78 def on_projectDirButton_clicked(self): |
67 def on_projectDirButton_clicked(self): |
79 """ |
68 """ |
80 Private slot to display a directory selection dialog. |
69 Private slot to display a directory selection dialog. |