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(), |