18 from .SvnRepoBrowserDialog import SvnRepoBrowserDialog |
18 from .SvnRepoBrowserDialog import SvnRepoBrowserDialog |
19 from .Ui_SvnNewProjectOptionsDialog import Ui_SvnNewProjectOptionsDialog |
19 from .Ui_SvnNewProjectOptionsDialog import Ui_SvnNewProjectOptionsDialog |
20 from .Config import ConfigSvnProtocols |
20 from .Config import ConfigSvnProtocols |
21 |
21 |
22 import Utilities |
22 import Utilities |
|
23 import Preferences |
23 |
24 |
24 |
25 |
25 class SvnNewProjectOptionsDialog(QDialog, Ui_SvnNewProjectOptionsDialog): |
26 class SvnNewProjectOptionsDialog(QDialog, Ui_SvnNewProjectOptionsDialog): |
26 """ |
27 """ |
27 Class implementing the Options Dialog for a new project from the repository. |
28 Class implementing the Options Dialog for a new project from the repository. |
48 self.vcs = vcs |
49 self.vcs = vcs |
49 |
50 |
50 self.localPath = hd |
51 self.localPath = hd |
51 self.networkPath = "localhost/" |
52 self.networkPath = "localhost/" |
52 self.localProtocol = True |
53 self.localProtocol = True |
|
54 |
|
55 self.vcsProjectDirEdit.setText(Utilities.toNativeSeparators( |
|
56 Preferences.getMultiProject("Workspace"))) |
53 |
57 |
54 @pyqtSlot() |
58 @pyqtSlot() |
55 def on_vcsUrlButton_clicked(self): |
59 def on_vcsUrlButton_clicked(self): |
56 """ |
60 """ |
57 Private slot to display a selection dialog. |
61 Private slot to display a selection dialog. |