[Eric] about my qt 4.5.3 problem
Linos
info at linos.es
Fri Oct 23 11:07:10 BST 2009
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: start menu.png
Type: image/png
Size: 27018 bytes
Desc: not available
Url : http://www.riverbankcomputing.com/pipermail/eric/attachments/20091023/c0b693cf/startmenu-0001.png
More information about the Eric
mailing list