~mcfletch/eric/update-to-4.5.13

« back to all changes in this revision

Viewing changes to eric/Documentation/Source/eric4.E4Gui.E4Action.html

Tags: 4.5.0-1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
134
134
<td><a href="#E4Action.__init__">E4Action</a></td>
135
135
<td>Constructor</td>
136
136
</tr><tr>
 
137
<td><a href="#E4Action.__ammendToolTip">__ammendToolTip</a></td>
 
138
<td>Private slot to add the primary keyboard accelerator to the tooltip.</td>
 
139
</tr><tr>
137
140
<td><a href="#E4Action.alternateShortcut">alternateShortcut</a></td>
138
141
<td>Public method to retrieve the alternative keyboard shortcut.</td>
139
142
</tr><tr>
140
143
<td><a href="#E4Action.setAlternateShortcut">setAlternateShortcut</a></td>
141
144
<td>Public slot to set the alternative keyboard shortcut.</td>
 
145
</tr><tr>
 
146
<td><a href="#E4Action.setIconText">setIconText</a></td>
 
147
<td>Public slot to set the icon text of the action.</td>
 
148
</tr><tr>
 
149
<td><a href="#E4Action.setShortcut">setShortcut</a></td>
 
150
<td>Public slot to set the keyboard shortcut.</td>
 
151
</tr><tr>
 
152
<td><a href="#E4Action.setShortcuts">setShortcuts</a></td>
 
153
<td>Public slot to set the list of keyboard shortcuts.</td>
142
154
</tr>
143
155
</table>
144
156
<h3>Static Methods</h3>
169
181
                parent (QObject), name (string or QString)</li>
170
182
            </ul>
171
183
</dd>
172
 
</dl><a NAME="E4Action.alternateShortcut" ID="E4Action.alternateShortcut"></a>
 
184
</dl><a NAME="E4Action.__ammendToolTip" ID="E4Action.__ammendToolTip"></a>
 
185
<h4>E4Action.__ammendToolTip</h4>
 
186
<b>__ammendToolTip</b>(<i></i>)
 
187
<p>
 
188
        Private slot to add the primary keyboard accelerator to the tooltip.
 
189
</p><a NAME="E4Action.alternateShortcut" ID="E4Action.alternateShortcut"></a>
173
190
<h4>E4Action.alternateShortcut</h4>
174
191
<b>alternateShortcut</b>(<i></i>)
175
192
<p>
181
198
</dd>
182
199
</dl><a NAME="E4Action.setAlternateShortcut" ID="E4Action.setAlternateShortcut"></a>
183
200
<h4>E4Action.setAlternateShortcut</h4>
184
 
<b>setAlternateShortcut</b>(<i>shortcut</i>)
 
201
<b>setAlternateShortcut</b>(<i>shortcut, removeEmpty=False</i>)
185
202
<p>
186
203
        Public slot to set the alternative keyboard shortcut.
187
204
</p><dl>
188
205
<dt><i>shortcut</i></dt>
189
206
<dd>
190
207
the alternative accelerator (QKeySequence)
 
208
</dd><dt><i>removeEmpty</i></dt>
 
209
<dd>
 
210
flag indicating to remove the alternate shortcut,
 
211
            if it is empty (boolean)
 
212
</dd>
 
213
</dl><a NAME="E4Action.setIconText" ID="E4Action.setIconText"></a>
 
214
<h4>E4Action.setIconText</h4>
 
215
<b>setIconText</b>(<i>text</i>)
 
216
<p>
 
217
        Public slot to set the icon text of the action.
 
218
</p><dl>
 
219
<dt><i>text</i></dt>
 
220
<dd>
 
221
new tool tip (string or QString)
 
222
</dd>
 
223
</dl><a NAME="E4Action.setShortcut" ID="E4Action.setShortcut"></a>
 
224
<h4>E4Action.setShortcut</h4>
 
225
<b>setShortcut</b>(<i>shortcut</i>)
 
226
<p>
 
227
        Public slot to set the keyboard shortcut.
 
228
</p><dl>
 
229
<dt><i>shortcut</i></dt>
 
230
<dd>
 
231
the accelerator (QKeySequence)
 
232
</dd>
 
233
</dl><a NAME="E4Action.setShortcuts" ID="E4Action.setShortcuts"></a>
 
234
<h4>E4Action.setShortcuts</h4>
 
235
<b>setShortcuts</b>(<i>shortcuts</i>)
 
236
<p>
 
237
        Public slot to set the list of keyboard shortcuts.
 
238
</p><dl>
 
239
<dt><i>shortcuts</i></dt>
 
240
<dd>
 
241
list of keyboard accelerators (list of QKeySequence)
 
242
            or key for a platform dependent list of accelerators 
 
243
            (QKeySequence.StandardKey)
191
244
</dd>
192
245
</dl>
193
246
<div align="right"><a href="#top">Up</a></div>