120 <table> |
120 <table> |
121 <tr> |
121 <tr> |
122 <td><a href="#E5Action.__init__">E5Action</a></td> |
122 <td><a href="#E5Action.__init__">E5Action</a></td> |
123 <td>Constructor</td> |
123 <td>Constructor</td> |
124 </tr><tr> |
124 </tr><tr> |
|
125 <td><a href="#E5Action.__ammendToolTip">__ammendToolTip</a></td> |
|
126 <td>Private slot to add the primary keyboard accelerator to the tooltip.</td> |
|
127 </tr><tr> |
125 <td><a href="#E5Action.alternateShortcut">alternateShortcut</a></td> |
128 <td><a href="#E5Action.alternateShortcut">alternateShortcut</a></td> |
126 <td>Public method to retrieve the alternative keyboard shortcut.</td> |
129 <td>Public method to retrieve the alternative keyboard shortcut.</td> |
127 </tr><tr> |
130 </tr><tr> |
128 <td><a href="#E5Action.setAlternateShortcut">setAlternateShortcut</a></td> |
131 <td><a href="#E5Action.setAlternateShortcut">setAlternateShortcut</a></td> |
129 <td>Public slot to set the alternative keyboard shortcut.</td> |
132 <td>Public slot to set the alternative keyboard shortcut.</td> |
|
133 </tr><tr> |
|
134 <td><a href="#E5Action.setShortcut">setShortcut</a></td> |
|
135 <td>Public slot to set the keyboard shortcut.</td> |
|
136 </tr><tr> |
|
137 <td><a href="#E5Action.setShortcuts">setShortcuts</a></td> |
|
138 <td>Public slot to set the list of keyboard shortcuts.</td> |
130 </tr> |
139 </tr> |
131 </table> |
140 </table> |
132 <a NAME="E5Action.__init__" ID="E5Action.__init__"></a> |
141 <a NAME="E5Action.__init__" ID="E5Action.__init__"></a> |
133 <h4>E5Action (Constructor)</h4> |
142 <h4>E5Action (Constructor)</h4> |
134 <b>E5Action</b>(<i>*args</i>) |
143 <b>E5Action</b>(<i>*args</i>) |
151 <li>text (string), menu text (string), |
160 <li>text (string), menu text (string), |
152 accelarator (QKeySequence), alternative accelerator (QKeySequence), |
161 accelarator (QKeySequence), alternative accelerator (QKeySequence), |
153 parent (QObject), name (string)</li> |
162 parent (QObject), name (string)</li> |
154 </ul> |
163 </ul> |
155 </dd> |
164 </dd> |
156 </dl><a NAME="E5Action.alternateShortcut" ID="E5Action.alternateShortcut"></a> |
165 </dl><a NAME="E5Action.__ammendToolTip" ID="E5Action.__ammendToolTip"></a> |
|
166 <h4>E5Action.__ammendToolTip</h4> |
|
167 <b>__ammendToolTip</b>(<i></i>) |
|
168 <p> |
|
169 Private slot to add the primary keyboard accelerator to the tooltip. |
|
170 </p><a NAME="E5Action.alternateShortcut" ID="E5Action.alternateShortcut"></a> |
157 <h4>E5Action.alternateShortcut</h4> |
171 <h4>E5Action.alternateShortcut</h4> |
158 <b>alternateShortcut</b>(<i></i>) |
172 <b>alternateShortcut</b>(<i></i>) |
159 <p> |
173 <p> |
160 Public method to retrieve the alternative keyboard shortcut. |
174 Public method to retrieve the alternative keyboard shortcut. |
161 </p><dl> |
175 </p><dl> |
171 </p><dl> |
185 </p><dl> |
172 <dt><i>shortcut</i></dt> |
186 <dt><i>shortcut</i></dt> |
173 <dd> |
187 <dd> |
174 the alternative accelerator (QKeySequence) |
188 the alternative accelerator (QKeySequence) |
175 </dd> |
189 </dd> |
|
190 </dl><a NAME="E5Action.setShortcut" ID="E5Action.setShortcut"></a> |
|
191 <h4>E5Action.setShortcut</h4> |
|
192 <b>setShortcut</b>(<i>shortcut</i>) |
|
193 <p> |
|
194 Public slot to set the keyboard shortcut. |
|
195 </p><dl> |
|
196 <dt><i>shortcut</i></dt> |
|
197 <dd> |
|
198 the accelerator (QKeySequence) |
|
199 </dd> |
|
200 </dl><a NAME="E5Action.setShortcuts" ID="E5Action.setShortcuts"></a> |
|
201 <h4>E5Action.setShortcuts</h4> |
|
202 <b>setShortcuts</b>(<i>shortcuts</i>) |
|
203 <p> |
|
204 Public slot to set the list of keyboard shortcuts. |
|
205 </p><dl> |
|
206 <dt><i>shortcuts</i></dt> |
|
207 <dd> |
|
208 list of keyboard accelerators (list of QKeySequence) |
|
209 or key for a platform dependent list of accelerators |
|
210 (QKeySequence.StandardKey) |
|
211 </dd> |
176 </dl> |
212 </dl> |
177 <div align="right"><a href="#top">Up</a></div> |
213 <div align="right"><a href="#top">Up</a></div> |
178 <hr /><hr /> |
214 <hr /><hr /> |
179 <a NAME="addActions" ID="addActions"></a> |
215 <a NAME="addActions" ID="addActions"></a> |
180 <h2>addActions</h2> |
216 <h2>addActions</h2> |