eric6/Preferences/ShortcutsDialog.py

changeset 7900
72b88fb20261
parent 7775
4a1db75550bd
child 7923
91e843545d9a
equal deleted inserted replaced
7899:ecf67e07b6e0 7900:72b88fb20261
90 """ 90 """
91 Private method to generate a keyboard shortcut item. 91 Private method to generate a keyboard shortcut item.
92 92
93 @param category reference to the category item (QTreeWidgetItem) 93 @param category reference to the category item (QTreeWidgetItem)
94 @param action reference to the keyboard action (E5Action) 94 @param action reference to the keyboard action (E5Action)
95 @keyparam noCheck flag indicating that no uniqueness check should 95 @param noCheck flag indicating that no uniqueness check should
96 be performed (boolean) 96 be performed (boolean)
97 @keyparam objectType type of the object (string). Objects of the same 97 @param objectType type of the object (string). Objects of the same
98 type are not checked for duplicate shortcuts. 98 type are not checked for duplicate shortcuts.
99 """ 99 """
100 itm = QTreeWidgetItem( 100 itm = QTreeWidgetItem(
101 category, 101 category,
102 [action.iconText(), action.shortcut().toString(), 102 [action.iconText(), action.shortcut().toString(),

eric ide

mercurial