Documentation/Source/eric5.E5Gui.E5Action.html

branch
5_1_x
changeset 1523
e38f749a6f28
parent 1278
fb0460fd00b9
equal deleted inserted replaced
1517:862a84b4f3e2 1523:e38f749a6f28
193 <dd> 193 <dd>
194 the alternative accelerator (QKeySequence) 194 the alternative accelerator (QKeySequence)
195 </dd> 195 </dd>
196 </dl><a NAME="E5Action.setAlternateShortcut" ID="E5Action.setAlternateShortcut"></a> 196 </dl><a NAME="E5Action.setAlternateShortcut" ID="E5Action.setAlternateShortcut"></a>
197 <h4>E5Action.setAlternateShortcut</h4> 197 <h4>E5Action.setAlternateShortcut</h4>
198 <b>setAlternateShortcut</b>(<i>shortcut</i>) 198 <b>setAlternateShortcut</b>(<i>shortcut, removeEmpty=False</i>)
199 <p> 199 <p>
200 Public slot to set the alternative keyboard shortcut. 200 Public slot to set the alternative keyboard shortcut.
201 </p><dl> 201 </p><dl>
202 <dt><i>shortcut</i></dt> 202 <dt><i>shortcut</i></dt>
203 <dd> 203 <dd>
204 the alternative accelerator (QKeySequence) 204 the alternative accelerator (QKeySequence)
205 </dd><dt><i>removeEmpty</i></dt>
206 <dd>
207 flag indicating to remove the alternate shortcut,
208 if it is empty (boolean)
205 </dd> 209 </dd>
206 </dl><a NAME="E5Action.setShortcut" ID="E5Action.setShortcut"></a> 210 </dl><a NAME="E5Action.setShortcut" ID="E5Action.setShortcut"></a>
207 <h4>E5Action.setShortcut</h4> 211 <h4>E5Action.setShortcut</h4>
208 <b>setShortcut</b>(<i>shortcut</i>) 212 <b>setShortcut</b>(<i>shortcut</i>)
209 <p> 213 <p>

eric ide

mercurial