eric7/Preferences/ShortcutDialog.py

branch
eric7
changeset 8322
b422b4e77d19
parent 8318
962bce857696
child 8325
547319e56c60
equal deleted inserted replaced
8319:ea11a3948f40 8322:b422b4e77d19
136 """ 136 """
137 Protected method to handle a key press event. 137 Protected method to handle a key press event.
138 138
139 @param evt the key event (QKeyEvent) 139 @param evt the key event (QKeyEvent)
140 """ 140 """
141 # TODO: change code to use QKeyCombination
141 if evt.key() in [ 142 if evt.key() in [
142 Qt.Key.Key_Control, Qt.Key.Key_Meta, Qt.Key.Key_Shift, 143 Qt.Key.Key_Control, Qt.Key.Key_Meta, Qt.Key.Key_Shift,
143 Qt.Key.Key_Alt, Qt.Key.Key_Menu, 144 Qt.Key.Key_Alt, Qt.Key.Key_Menu,
144 Qt.Key.Key_Hyper_L, Qt.Key.Key_Hyper_R, 145 Qt.Key.Key_Hyper_L, Qt.Key.Key_Hyper_R,
145 Qt.Key.Key_Super_L, Qt.Key.Key_Super_R 146 Qt.Key.Key_Super_L, Qt.Key.Key_Super_R

eric ide

mercurial