53 """ |
53 """ |
54 Private slot called to open a directory selection dialog. |
54 Private slot called to open a directory selection dialog. |
55 """ |
55 """ |
56 path = E5FileDialog.getExistingDirectory( |
56 path = E5FileDialog.getExistingDirectory( |
57 self, |
57 self, |
58 self.trUtf8("Select source directory"), |
58 self.tr("Select source directory"), |
59 QDir.fromNativeSeparators(self.pathnameEdit.text())) |
59 QDir.fromNativeSeparators(self.pathnameEdit.text())) |
60 if path: |
60 if path: |
61 self.pathnameEdit.setText(QDir.toNativeSeparators(path)) |
61 self.pathnameEdit.setText(QDir.toNativeSeparators(path)) |
62 |
62 |
63 def __enableOkButton(self): |
63 def __enableOkButton(self): |