245 @pyqtSlot() |
245 @pyqtSlot() |
246 def on_executableButton_clicked(self): |
246 def on_executableButton_clicked(self): |
247 """ |
247 """ |
248 Private slot to handle the executable selection via a file selection dialog. |
248 Private slot to handle the executable selection via a file selection dialog. |
249 """ |
249 """ |
250 execfile = QFileDialog.getOpenFileName(\ |
250 execfile = QFileDialog.getOpenFileName( |
251 self, |
251 self, |
252 self.trUtf8("Select executable"), |
252 self.trUtf8("Select executable"), |
253 self.executableEdit.text(), |
253 self.executableEdit.text(), |
254 "") |
254 "") |
255 if execfile: |
255 if execfile: |
266 @pyqtSlot() |
266 @pyqtSlot() |
267 def on_iconButton_clicked(self): |
267 def on_iconButton_clicked(self): |
268 """ |
268 """ |
269 Private slot to handle the icon selection via a file selection dialog. |
269 Private slot to handle the icon selection via a file selection dialog. |
270 """ |
270 """ |
271 icon = QFileDialog.getOpenFileName(\ |
271 icon = QFileDialog.getOpenFileName( |
272 self, |
272 self, |
273 self.trUtf8("Select icon file"), |
273 self.trUtf8("Select icon file"), |
274 self.iconEdit.text(), |
274 self.iconEdit.text(), |
275 self.trUtf8("Icon files (*.png)")) |
275 self.trUtf8("Icon files (*.png)")) |
276 if icon: |
276 if icon: |