108 @pyqtSlot() |
109 @pyqtSlot() |
109 def on_fileButton_clicked(self): |
110 def on_fileButton_clicked(self): |
110 """ |
111 """ |
111 Private slot to select a file via a file selection dialog. |
112 Private slot to select a file via a file selection dialog. |
112 """ |
113 """ |
113 file = QFileDialog.getOpenFileName( |
114 file = E5FileDialog.getOpenFileName( |
114 self, |
115 self, |
115 self.trUtf8("Select filename of the breakpoint"), |
116 self.trUtf8("Select filename of the breakpoint"), |
116 self.filenameCombo.currentText(), |
117 self.filenameCombo.currentText(), |
117 "", |
118 "") |
118 QFileDialog.DontUseNativeDialog) |
|
119 |
119 |
120 if file: |
120 if file: |
121 self.filenameCombo.setEditText(Utilities.toNativeSeparators(file)) |
121 self.filenameCombo.setEditText(Utilities.toNativeSeparators(file)) |
122 |
122 |
123 def on_filenameCombo_editTextChanged(self, fn): |
123 def on_filenameCombo_editTextChanged(self, fn): |