Project/NewDialogClassDialog.py

changeset 880
52ed20236a1c
parent 791
9ec2ac20e54e
child 882
34b86be88bf0
equal deleted inserted replaced
878:a61710d5bbbc 880:52ed20236a1c
48 """ 48 """
49 path = QFileDialog.getExistingDirectory( 49 path = QFileDialog.getExistingDirectory(
50 self, 50 self,
51 self.trUtf8("Select source directory"), 51 self.trUtf8("Select source directory"),
52 QDir.fromNativeSeparators(self.pathnameEdit.text()), 52 QDir.fromNativeSeparators(self.pathnameEdit.text()),
53 QFileDialog.Options(QFileDialog.Option(0))) 53 QFileDialog.Options(QFileDialog.Option(
54 QFileDialog.DontUseNativeDialog)))
54 if path: 55 if path:
55 self.pathnameEdit.setText(QDir.toNativeSeparators(path)) 56 self.pathnameEdit.setText(QDir.toNativeSeparators(path))
56 57
57 def __enableOkButton(self): 58 def __enableOkButton(self):
58 """ 59 """

eric ide

mercurial