Preferences/ToolConfigurationDialog.py

changeset 564
b3d966393ba9
parent 537
72b32daeb8d6
child 791
9ec2ac20e54e
equal deleted inserted replaced
563:e35d2cda9a74 564:b3d966393ba9
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:

eric ide

mercurial