Preferences/Shortcuts.py

branch
Py2 comp.
changeset 3060
5883ce99ee12
parent 3058
0a02c433f52d
parent 3038
7fe9a53280bd
child 3145
a9de05d4a22f
equal deleted inserted replaced
3058:0a02c433f52d 3060:5883ce99ee12
205 QApplication.translate("Shortcuts", "Export Keyboard Shortcuts"), 205 QApplication.translate("Shortcuts", "Export Keyboard Shortcuts"),
206 QApplication.translate( 206 QApplication.translate(
207 "Shortcuts", 207 "Shortcuts",
208 "<p>The keyboard shortcuts could not be written to file" 208 "<p>The keyboard shortcuts could not be written to file"
209 " <b>{0}</b>.</p>") 209 " <b>{0}</b>.</p>")
210 .format(fn)) 210 .format(fn))
211 211
212 212
213 def importShortcuts(fn): 213 def importShortcuts(fn):
214 """ 214 """
215 Module function to import the keyboard shortcuts for the defined E5Actions. 215 Module function to import the keyboard shortcuts for the defined E5Actions.
237 QApplication.translate("Shortcuts", "Import Keyboard Shortcuts"), 237 QApplication.translate("Shortcuts", "Import Keyboard Shortcuts"),
238 QApplication.translate( 238 QApplication.translate(
239 "Shortcuts", 239 "Shortcuts",
240 "<p>The keyboard shortcuts could not be read from file" 240 "<p>The keyboard shortcuts could not be read from file"
241 " <b>{0}</b>.</p>") 241 " <b>{0}</b>.</p>")
242 .format(fn)) 242 .format(fn))
243 return 243 return
244 244
245 245
246 def __setAction(actions, sdict): 246 def __setAction(actions, sdict):
247 """ 247 """

eric ide

mercurial