34 @pyqtSlot() |
35 @pyqtSlot() |
35 def on_fileButton_clicked(self): |
36 def on_fileButton_clicked(self): |
36 """ |
37 """ |
37 Private slot called by pressing the file selection button. |
38 Private slot called by pressing the file selection button. |
38 """ |
39 """ |
39 fn = QFileDialog.getOpenFileName( |
40 fn = E5FileDialog.getOpenFileName( |
40 self, |
41 self, |
41 self.trUtf8("Select file for property"), |
42 self.trUtf8("Select file for property"), |
42 self.propFileEdit.text(), |
43 self.propFileEdit.text(), |
43 "", |
44 "") |
44 QFileDialog.DontUseNativeDialog) |
|
45 |
45 |
46 if fn: |
46 if fn: |
47 self.propFileEdit.setText(Utilities.toNativeSeparators(fn)) |
47 self.propFileEdit.setText(Utilities.toNativeSeparators(fn)) |
48 |
48 |
49 def getData(self): |
49 def getData(self): |