it seems that if i change E4Action for QAction objects i get the correct behavior with the shortcuts. I have changed this in Debugger/DebugUI.py.

self.runProjectAct = E4Action(self.trUtf8('Run Project'),
        UI.PixmapCache.getIcon("runProject.png"),
        self.trUtf8('Run &Project...'),Qt.SHIFT + Qt.Key_F2,0,self,
       'dbg_run_project')

for this:

from PyQt4.QtGui import QAction, QKeySequence
self.runProjectAct = QAction(UI.PixmapCache.getIcon("runProject.png"),\
        self.trUtf8('Run Project'), self)
self.runProjectAct.setShortcut(QKeySequence(Qt.SHIFT + Qt.Key_F2))

and now this shortcut works ok as you can see in the screenshot. Eric it is the only application i have problems with qt 4.5.3 upgrade, i have tried in qt creator and i can use all the keys in the editor window, arrow and backspace too. Anyone know how i can fix this?

Regards,
Miguel Angel.

<<inline: start menu.png>>

_______________________________________________
Eric mailing list
Eric@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/eric

Reply via email to