196 <p> |
196 <p> |
197 Constructor |
197 Constructor |
198 </p> |
198 </p> |
199 <dl> |
199 <dl> |
200 |
200 |
201 <dt><i>parent</i></dt> |
201 <dt><i>parent</i> (QWidget)</dt> |
202 <dd> |
202 <dd> |
203 reference to the parent widget (QWidget) |
203 reference to the parent widget |
204 </dd> |
204 </dd> |
205 </dl> |
205 </dl> |
206 <a NAME="EricModelMenu.__aboutToShow" ID="EricModelMenu.__aboutToShow"></a> |
206 <a NAME="EricModelMenu.__aboutToShow" ID="EricModelMenu.__aboutToShow"></a> |
207 <h4>EricModelMenu.__aboutToShow</h4> |
207 <h4>EricModelMenu.__aboutToShow</h4> |
208 <b>__aboutToShow</b>(<i></i>) |
208 <b>__aboutToShow</b>(<i></i>) |
217 <p> |
217 <p> |
218 Private slot to handle the triggering of an action. |
218 Private slot to handle the triggering of an action. |
219 </p> |
219 </p> |
220 <dl> |
220 <dl> |
221 |
221 |
222 <dt><i>action</i></dt> |
222 <dt><i>action</i> (QAction)</dt> |
223 <dd> |
223 <dd> |
224 reference to the action that was triggered (QAction) |
224 reference to the action that was triggered |
225 </dd> |
225 </dd> |
226 </dl> |
226 </dl> |
227 <a NAME="EricModelMenu.__makeAction" ID="EricModelMenu.__makeAction"></a> |
227 <a NAME="EricModelMenu.__makeAction" ID="EricModelMenu.__makeAction"></a> |
228 <h4>EricModelMenu.__makeAction</h4> |
228 <h4>EricModelMenu.__makeAction</h4> |
229 <b>__makeAction</b>(<i>idx</i>) |
229 <b>__makeAction</b>(<i>idx</i>) |
231 <p> |
231 <p> |
232 Private method to create an action. |
232 Private method to create an action. |
233 </p> |
233 </p> |
234 <dl> |
234 <dl> |
235 |
235 |
236 <dt><i>idx</i></dt> |
236 <dt><i>idx</i> (QModelIndex)</dt> |
237 <dd> |
237 <dd> |
238 index of the item to create an action for (QModelIndex) |
238 index of the item to create an action for |
239 </dd> |
239 </dd> |
240 </dl> |
240 </dl> |
241 <dl> |
241 <dl> |
242 <dt>Return:</dt> |
242 <dt>Return:</dt> |
243 <dd> |
243 <dd> |
244 reference to the created action (QAction) |
244 reference to the created action |
|
245 </dd> |
|
246 </dl> |
|
247 <dl> |
|
248 <dt>Return Type:</dt> |
|
249 <dd> |
|
250 QAction |
245 </dd> |
251 </dd> |
246 </dl> |
252 </dl> |
247 <a NAME="EricModelMenu.clear" ID="EricModelMenu.clear"></a> |
253 <a NAME="EricModelMenu.clear" ID="EricModelMenu.clear"></a> |
248 <h4>EricModelMenu.clear</h4> |
254 <h4>EricModelMenu.clear</h4> |
249 <b>clear</b>(<i></i>) |
255 <b>clear</b>(<i></i>) |
259 Public method to get the menu that is used to populate sub menu's. |
265 Public method to get the menu that is used to populate sub menu's. |
260 </p> |
266 </p> |
261 <dl> |
267 <dl> |
262 <dt>Return:</dt> |
268 <dt>Return:</dt> |
263 <dd> |
269 <dd> |
264 reference to the menu (EricModelMenu) |
270 reference to the menu |
|
271 </dd> |
|
272 </dl> |
|
273 <dl> |
|
274 <dt>Return Type:</dt> |
|
275 <dd> |
|
276 EricModelMenu |
265 </dd> |
277 </dd> |
266 </dl> |
278 </dl> |
267 <a NAME="EricModelMenu.createMenu" ID="EricModelMenu.createMenu"></a> |
279 <a NAME="EricModelMenu.createMenu" ID="EricModelMenu.createMenu"></a> |
268 <h4>EricModelMenu.createMenu</h4> |
280 <h4>EricModelMenu.createMenu</h4> |
269 <b>createMenu</b>(<i>parent, max_, parentMenu=None, menu=None</i>) |
281 <b>createMenu</b>(<i>parent, max_, parentMenu=None, menu=None</i>) |
272 Public method to put all the children of a parent into a menu of a |
284 Public method to put all the children of a parent into a menu of a |
273 given length. |
285 given length. |
274 </p> |
286 </p> |
275 <dl> |
287 <dl> |
276 |
288 |
277 <dt><i>parent</i></dt> |
289 <dt><i>parent</i> (QModelIndex)</dt> |
278 <dd> |
290 <dd> |
279 index of the parent item (QModelIndex) |
291 index of the parent item |
280 </dd> |
292 </dd> |
281 <dt><i>max_</i></dt> |
293 <dt><i>max_</i> (int)</dt> |
282 <dd> |
294 <dd> |
283 maximum number of entries (integer) |
295 maximum number of entries |
284 </dd> |
296 </dd> |
285 <dt><i>parentMenu</i></dt> |
297 <dt><i>parentMenu</i> (QMenu)</dt> |
286 <dd> |
298 <dd> |
287 reference to the parent menu (QMenu) |
299 reference to the parent menu |
288 </dd> |
300 </dd> |
289 <dt><i>menu</i></dt> |
301 <dt><i>menu</i> (QMenu)</dt> |
290 <dd> |
302 <dd> |
291 reference to the menu to be populated (QMenu) |
303 reference to the menu to be populated |
292 </dd> |
304 </dd> |
293 </dl> |
305 </dl> |
294 <a NAME="EricModelMenu.dragEnterEvent" ID="EricModelMenu.dragEnterEvent"></a> |
306 <a NAME="EricModelMenu.dragEnterEvent" ID="EricModelMenu.dragEnterEvent"></a> |
295 <h4>EricModelMenu.dragEnterEvent</h4> |
307 <h4>EricModelMenu.dragEnterEvent</h4> |
296 <b>dragEnterEvent</b>(<i>evt</i>) |
308 <b>dragEnterEvent</b>(<i>evt</i>) |
298 <p> |
310 <p> |
299 Protected method to handle drag enter events. |
311 Protected method to handle drag enter events. |
300 </p> |
312 </p> |
301 <dl> |
313 <dl> |
302 |
314 |
303 <dt><i>evt</i></dt> |
315 <dt><i>evt</i> (QDragEnterEvent)</dt> |
304 <dd> |
316 <dd> |
305 reference to the event (QDragEnterEvent) |
317 reference to the event |
306 </dd> |
318 </dd> |
307 </dl> |
319 </dl> |
308 <a NAME="EricModelMenu.dropEvent" ID="EricModelMenu.dropEvent"></a> |
320 <a NAME="EricModelMenu.dropEvent" ID="EricModelMenu.dropEvent"></a> |
309 <h4>EricModelMenu.dropEvent</h4> |
321 <h4>EricModelMenu.dropEvent</h4> |
310 <b>dropEvent</b>(<i>evt</i>) |
322 <b>dropEvent</b>(<i>evt</i>) |
312 <p> |
324 <p> |
313 Protected method to handle drop events. |
325 Protected method to handle drop events. |
314 </p> |
326 </p> |
315 <dl> |
327 <dl> |
316 |
328 |
317 <dt><i>evt</i></dt> |
329 <dt><i>evt</i> (QDropEvent)</dt> |
318 <dd> |
330 <dd> |
319 reference to the event (QDropEvent) |
331 reference to the event |
320 </dd> |
332 </dd> |
321 </dl> |
333 </dl> |
322 <a NAME="EricModelMenu.firstSeparator" ID="EricModelMenu.firstSeparator"></a> |
334 <a NAME="EricModelMenu.firstSeparator" ID="EricModelMenu.firstSeparator"></a> |
323 <h4>EricModelMenu.firstSeparator</h4> |
335 <h4>EricModelMenu.firstSeparator</h4> |
324 <b>firstSeparator</b>(<i></i>) |
336 <b>firstSeparator</b>(<i></i>) |
327 Public method to get the first separator. |
339 Public method to get the first separator. |
328 </p> |
340 </p> |
329 <dl> |
341 <dl> |
330 <dt>Return:</dt> |
342 <dt>Return:</dt> |
331 <dd> |
343 <dd> |
332 row number of the first separator (integer) |
344 row number of the first separator |
|
345 </dd> |
|
346 </dl> |
|
347 <dl> |
|
348 <dt>Return Type:</dt> |
|
349 <dd> |
|
350 int |
333 </dd> |
351 </dd> |
334 </dl> |
352 </dl> |
335 <a NAME="EricModelMenu.index" ID="EricModelMenu.index"></a> |
353 <a NAME="EricModelMenu.index" ID="EricModelMenu.index"></a> |
336 <h4>EricModelMenu.index</h4> |
354 <h4>EricModelMenu.index</h4> |
337 <b>index</b>(<i>action</i>) |
355 <b>index</b>(<i>action</i>) |
339 <p> |
357 <p> |
340 Public method to get the index of an action. |
358 Public method to get the index of an action. |
341 </p> |
359 </p> |
342 <dl> |
360 <dl> |
343 |
361 |
344 <dt><i>action</i></dt> |
362 <dt><i>action</i> (QAction)</dt> |
345 <dd> |
363 <dd> |
346 reference to the action to get the index for (QAction) |
364 reference to the action to get the index for |
347 </dd> |
365 </dd> |
348 </dl> |
366 </dl> |
349 <dl> |
367 <dl> |
350 <dt>Return:</dt> |
368 <dt>Return:</dt> |
351 <dd> |
369 <dd> |
352 index of the action (QModelIndex) |
370 index of the action |
|
371 </dd> |
|
372 </dl> |
|
373 <dl> |
|
374 <dt>Return Type:</dt> |
|
375 <dd> |
|
376 QModelIndex |
353 </dd> |
377 </dd> |
354 </dl> |
378 </dl> |
355 <a NAME="EricModelMenu.makeAction" ID="EricModelMenu.makeAction"></a> |
379 <a NAME="EricModelMenu.makeAction" ID="EricModelMenu.makeAction"></a> |
356 <h4>EricModelMenu.makeAction</h4> |
380 <h4>EricModelMenu.makeAction</h4> |
357 <b>makeAction</b>(<i>icon, text, parent</i>) |
381 <b>makeAction</b>(<i>icon, text, parent</i>) |
359 <p> |
383 <p> |
360 Public method to create an action. |
384 Public method to create an action. |
361 </p> |
385 </p> |
362 <dl> |
386 <dl> |
363 |
387 |
364 <dt><i>icon</i></dt> |
388 <dt><i>icon</i> (QIcon)</dt> |
365 <dd> |
389 <dd> |
366 icon of the action (QIcon) |
390 icon of the action |
367 </dd> |
391 </dd> |
368 <dt><i>text</i></dt> |
392 <dt><i>text</i> (str)</dt> |
369 <dd> |
393 <dd> |
370 text of the action (string) |
394 text of the action |
371 </dd> |
395 </dd> |
372 <dt><i>parent</i></dt> |
396 <dt><i>parent</i> (QObject)</dt> |
373 <dd> |
397 <dd> |
374 reference to the parent object (QObject) |
398 reference to the parent object |
375 </dd> |
399 </dd> |
376 </dl> |
400 </dl> |
377 <dl> |
401 <dl> |
378 <dt>Return:</dt> |
402 <dt>Return:</dt> |
379 <dd> |
403 <dd> |
380 reference to the created action (QAction) |
404 reference to the created action |
|
405 </dd> |
|
406 </dl> |
|
407 <dl> |
|
408 <dt>Return Type:</dt> |
|
409 <dd> |
|
410 QAction |
381 </dd> |
411 </dd> |
382 </dl> |
412 </dl> |
383 <a NAME="EricModelMenu.maxRows" ID="EricModelMenu.maxRows"></a> |
413 <a NAME="EricModelMenu.maxRows" ID="EricModelMenu.maxRows"></a> |
384 <h4>EricModelMenu.maxRows</h4> |
414 <h4>EricModelMenu.maxRows</h4> |
385 <b>maxRows</b>(<i></i>) |
415 <b>maxRows</b>(<i></i>) |
388 Public method to get the maximum number of entries to show. |
418 Public method to get the maximum number of entries to show. |
389 </p> |
419 </p> |
390 <dl> |
420 <dl> |
391 <dt>Return:</dt> |
421 <dt>Return:</dt> |
392 <dd> |
422 <dd> |
393 maximum number of entries to show (integer) |
423 maximum number of entries to show |
|
424 </dd> |
|
425 </dl> |
|
426 <dl> |
|
427 <dt>Return Type:</dt> |
|
428 <dd> |
|
429 int |
394 </dd> |
430 </dd> |
395 </dl> |
431 </dl> |
396 <a NAME="EricModelMenu.model" ID="EricModelMenu.model"></a> |
432 <a NAME="EricModelMenu.model" ID="EricModelMenu.model"></a> |
397 <h4>EricModelMenu.model</h4> |
433 <h4>EricModelMenu.model</h4> |
398 <b>model</b>(<i></i>) |
434 <b>model</b>(<i></i>) |
401 Public method to get a reference to the model. |
437 Public method to get a reference to the model. |
402 </p> |
438 </p> |
403 <dl> |
439 <dl> |
404 <dt>Return:</dt> |
440 <dt>Return:</dt> |
405 <dd> |
441 <dd> |
406 reference to the model (QAbstractItemModel) |
442 reference to the model |
|
443 </dd> |
|
444 </dl> |
|
445 <dl> |
|
446 <dt>Return Type:</dt> |
|
447 <dd> |
|
448 QAbstractItemModel |
407 </dd> |
449 </dd> |
408 </dl> |
450 </dl> |
409 <a NAME="EricModelMenu.mouseMoveEvent" ID="EricModelMenu.mouseMoveEvent"></a> |
451 <a NAME="EricModelMenu.mouseMoveEvent" ID="EricModelMenu.mouseMoveEvent"></a> |
410 <h4>EricModelMenu.mouseMoveEvent</h4> |
452 <h4>EricModelMenu.mouseMoveEvent</h4> |
411 <b>mouseMoveEvent</b>(<i>evt</i>) |
453 <b>mouseMoveEvent</b>(<i>evt</i>) |
413 <p> |
455 <p> |
414 Protected method to handle mouse move events. |
456 Protected method to handle mouse move events. |
415 </p> |
457 </p> |
416 <dl> |
458 <dl> |
417 |
459 |
418 <dt><i>evt</i></dt> |
460 <dt><i>evt</i> (QMouseEvent)</dt> |
419 <dd> |
461 <dd> |
420 reference to the event (QMouseEvent) |
462 reference to the event |
421 </dd> |
463 </dd> |
422 </dl> |
464 </dl> |
423 <a NAME="EricModelMenu.mousePressEvent" ID="EricModelMenu.mousePressEvent"></a> |
465 <a NAME="EricModelMenu.mousePressEvent" ID="EricModelMenu.mousePressEvent"></a> |
424 <h4>EricModelMenu.mousePressEvent</h4> |
466 <h4>EricModelMenu.mousePressEvent</h4> |
425 <b>mousePressEvent</b>(<i>evt</i>) |
467 <b>mousePressEvent</b>(<i>evt</i>) |
427 <p> |
469 <p> |
428 Protected method handling mouse press events. |
470 Protected method handling mouse press events. |
429 </p> |
471 </p> |
430 <dl> |
472 <dl> |
431 |
473 |
432 <dt><i>evt</i></dt> |
474 <dt><i>evt</i> (QMouseEvent)</dt> |
433 <dd> |
475 <dd> |
434 reference to the event object (QMouseEvent) |
476 reference to the event object |
435 </dd> |
477 </dd> |
436 </dl> |
478 </dl> |
437 <a NAME="EricModelMenu.mouseReleaseEvent" ID="EricModelMenu.mouseReleaseEvent"></a> |
479 <a NAME="EricModelMenu.mouseReleaseEvent" ID="EricModelMenu.mouseReleaseEvent"></a> |
438 <h4>EricModelMenu.mouseReleaseEvent</h4> |
480 <h4>EricModelMenu.mouseReleaseEvent</h4> |
439 <b>mouseReleaseEvent</b>(<i>evt</i>) |
481 <b>mouseReleaseEvent</b>(<i>evt</i>) |
441 <p> |
483 <p> |
442 Protected method handling mouse release events. |
484 Protected method handling mouse release events. |
443 </p> |
485 </p> |
444 <dl> |
486 <dl> |
445 |
487 |
446 <dt><i>evt</i></dt> |
488 <dt><i>evt</i> (QMouseEvent)</dt> |
447 <dd> |
489 <dd> |
448 reference to the event object (QMouseEvent) |
490 reference to the event object |
449 </dd> |
491 </dd> |
450 </dl> |
492 </dl> |
451 <a NAME="EricModelMenu.postPopulated" ID="EricModelMenu.postPopulated"></a> |
493 <a NAME="EricModelMenu.postPopulated" ID="EricModelMenu.postPopulated"></a> |
452 <h4>EricModelMenu.postPopulated</h4> |
494 <h4>EricModelMenu.postPopulated</h4> |
453 <b>postPopulated</b>(<i></i>) |
495 <b>postPopulated</b>(<i></i>) |
466 <dt>Return:</dt> |
508 <dt>Return:</dt> |
467 <dd> |
509 <dd> |
468 flag indicating if any actions were added |
510 flag indicating if any actions were added |
469 </dd> |
511 </dd> |
470 </dl> |
512 </dl> |
|
513 <dl> |
|
514 <dt>Return Type:</dt> |
|
515 <dd> |
|
516 bool |
|
517 </dd> |
|
518 </dl> |
471 <a NAME="EricModelMenu.removeEntry" ID="EricModelMenu.removeEntry"></a> |
519 <a NAME="EricModelMenu.removeEntry" ID="EricModelMenu.removeEntry"></a> |
472 <h4>EricModelMenu.removeEntry</h4> |
520 <h4>EricModelMenu.removeEntry</h4> |
473 <b>removeEntry</b>(<i>idx</i>) |
521 <b>removeEntry</b>(<i>idx</i>) |
474 |
522 |
475 <p> |
523 <p> |
476 Public method to remove a menu entry. |
524 Public method to remove a menu entry. |
477 </p> |
525 </p> |
478 <dl> |
526 <dl> |
479 |
527 |
480 <dt><i>idx</i></dt> |
528 <dt><i>idx</i> (QModelIndex)</dt> |
481 <dd> |
529 <dd> |
482 index of the entry to be removed (QModelIndex) |
530 index of the entry to be removed |
483 </dd> |
531 </dd> |
484 </dl> |
532 </dl> |
485 <a NAME="EricModelMenu.resetFlags" ID="EricModelMenu.resetFlags"></a> |
533 <a NAME="EricModelMenu.resetFlags" ID="EricModelMenu.resetFlags"></a> |
486 <h4>EricModelMenu.resetFlags</h4> |
534 <h4>EricModelMenu.resetFlags</h4> |
487 <b>resetFlags</b>(<i></i>) |
535 <b>resetFlags</b>(<i></i>) |
497 Public method to get the index of the root item. |
545 Public method to get the index of the root item. |
498 </p> |
546 </p> |
499 <dl> |
547 <dl> |
500 <dt>Return:</dt> |
548 <dt>Return:</dt> |
501 <dd> |
549 <dd> |
502 index of the root item (QModelIndex) |
550 index of the root item |
|
551 </dd> |
|
552 </dl> |
|
553 <dl> |
|
554 <dt>Return Type:</dt> |
|
555 <dd> |
|
556 QModelIndex |
503 </dd> |
557 </dd> |
504 </dl> |
558 </dl> |
505 <a NAME="EricModelMenu.separatorRole" ID="EricModelMenu.separatorRole"></a> |
559 <a NAME="EricModelMenu.separatorRole" ID="EricModelMenu.separatorRole"></a> |
506 <h4>EricModelMenu.separatorRole</h4> |
560 <h4>EricModelMenu.separatorRole</h4> |
507 <b>separatorRole</b>(<i></i>) |
561 <b>separatorRole</b>(<i></i>) |
510 Public method to get the role of the separator. |
564 Public method to get the role of the separator. |
511 </p> |
565 </p> |
512 <dl> |
566 <dl> |
513 <dt>Return:</dt> |
567 <dt>Return:</dt> |
514 <dd> |
568 <dd> |
515 role of the separator (integer) |
569 role of the separator |
|
570 </dd> |
|
571 </dl> |
|
572 <dl> |
|
573 <dt>Return Type:</dt> |
|
574 <dd> |
|
575 int |
516 </dd> |
576 </dd> |
517 </dl> |
577 </dl> |
518 <a NAME="EricModelMenu.setFirstSeparator" ID="EricModelMenu.setFirstSeparator"></a> |
578 <a NAME="EricModelMenu.setFirstSeparator" ID="EricModelMenu.setFirstSeparator"></a> |
519 <h4>EricModelMenu.setFirstSeparator</h4> |
579 <h4>EricModelMenu.setFirstSeparator</h4> |
520 <b>setFirstSeparator</b>(<i>offset</i>) |
580 <b>setFirstSeparator</b>(<i>offset</i>) |
522 <p> |
582 <p> |
523 Public method to set the first separator. |
583 Public method to set the first separator. |
524 </p> |
584 </p> |
525 <dl> |
585 <dl> |
526 |
586 |
527 <dt><i>offset</i></dt> |
587 <dt><i>offset</i> (int)</dt> |
528 <dd> |
588 <dd> |
529 row number of the first separator (integer) |
589 row number of the first separator |
530 </dd> |
590 </dd> |
531 </dl> |
591 </dl> |
532 <a NAME="EricModelMenu.setMaxRows" ID="EricModelMenu.setMaxRows"></a> |
592 <a NAME="EricModelMenu.setMaxRows" ID="EricModelMenu.setMaxRows"></a> |
533 <h4>EricModelMenu.setMaxRows</h4> |
593 <h4>EricModelMenu.setMaxRows</h4> |
534 <b>setMaxRows</b>(<i>rows</i>) |
594 <b>setMaxRows</b>(<i>rows</i>) |
536 <p> |
596 <p> |
537 Public method to set the maximum number of entries to show. |
597 Public method to set the maximum number of entries to show. |
538 </p> |
598 </p> |
539 <dl> |
599 <dl> |
540 |
600 |
541 <dt><i>rows</i></dt> |
601 <dt><i>rows</i> (int)</dt> |
542 <dd> |
602 <dd> |
543 maximum number of entries to show (integer) |
603 maximum number of entries to show |
544 </dd> |
604 </dd> |
545 </dl> |
605 </dl> |
546 <a NAME="EricModelMenu.setModel" ID="EricModelMenu.setModel"></a> |
606 <a NAME="EricModelMenu.setModel" ID="EricModelMenu.setModel"></a> |
547 <h4>EricModelMenu.setModel</h4> |
607 <h4>EricModelMenu.setModel</h4> |
548 <b>setModel</b>(<i>model</i>) |
608 <b>setModel</b>(<i>model</i>) |
550 <p> |
610 <p> |
551 Public method to set the model for the menu. |
611 Public method to set the model for the menu. |
552 </p> |
612 </p> |
553 <dl> |
613 <dl> |
554 |
614 |
555 <dt><i>model</i></dt> |
615 <dt><i>model</i> (QAbstractItemModel)</dt> |
556 <dd> |
616 <dd> |
557 reference to the model (QAbstractItemModel) |
617 reference to the model |
558 </dd> |
618 </dd> |
559 </dl> |
619 </dl> |
560 <a NAME="EricModelMenu.setRootIndex" ID="EricModelMenu.setRootIndex"></a> |
620 <a NAME="EricModelMenu.setRootIndex" ID="EricModelMenu.setRootIndex"></a> |
561 <h4>EricModelMenu.setRootIndex</h4> |
621 <h4>EricModelMenu.setRootIndex</h4> |
562 <b>setRootIndex</b>(<i>index</i>) |
622 <b>setRootIndex</b>(<i>index</i>) |
564 <p> |
624 <p> |
565 Public method to set the index of the root item. |
625 Public method to set the index of the root item. |
566 </p> |
626 </p> |
567 <dl> |
627 <dl> |
568 |
628 |
569 <dt><i>index</i></dt> |
629 <dt><i>index</i> (QModelIndex)</dt> |
570 <dd> |
630 <dd> |
571 index of the root item (QModelIndex) |
631 index of the root item |
572 </dd> |
632 </dd> |
573 </dl> |
633 </dl> |
574 <a NAME="EricModelMenu.setSeparatorRole" ID="EricModelMenu.setSeparatorRole"></a> |
634 <a NAME="EricModelMenu.setSeparatorRole" ID="EricModelMenu.setSeparatorRole"></a> |
575 <h4>EricModelMenu.setSeparatorRole</h4> |
635 <h4>EricModelMenu.setSeparatorRole</h4> |
576 <b>setSeparatorRole</b>(<i>role</i>) |
636 <b>setSeparatorRole</b>(<i>role</i>) |
578 <p> |
638 <p> |
579 Public method to set the role of the separator. |
639 Public method to set the role of the separator. |
580 </p> |
640 </p> |
581 <dl> |
641 <dl> |
582 |
642 |
583 <dt><i>role</i></dt> |
643 <dt><i>role</i> (int)</dt> |
584 <dd> |
644 <dd> |
585 role of the separator (integer) |
645 role of the separator |
586 </dd> |
646 </dd> |
587 </dl> |
647 </dl> |
588 <a NAME="EricModelMenu.setStatusBarTextRole" ID="EricModelMenu.setStatusBarTextRole"></a> |
648 <a NAME="EricModelMenu.setStatusBarTextRole" ID="EricModelMenu.setStatusBarTextRole"></a> |
589 <h4>EricModelMenu.setStatusBarTextRole</h4> |
649 <h4>EricModelMenu.setStatusBarTextRole</h4> |
590 <b>setStatusBarTextRole</b>(<i>role</i>) |
650 <b>setStatusBarTextRole</b>(<i>role</i>) |
592 <p> |
652 <p> |
593 Public method to set the role of the status bar text. |
653 Public method to set the role of the status bar text. |
594 </p> |
654 </p> |
595 <dl> |
655 <dl> |
596 |
656 |
597 <dt><i>role</i></dt> |
657 <dt><i>role</i> (int)</dt> |
598 <dd> |
658 <dd> |
599 role of the status bar text (integer) |
659 role of the status bar text |
600 </dd> |
660 </dd> |
601 </dl> |
661 </dl> |
602 <a NAME="EricModelMenu.statusBarTextRole" ID="EricModelMenu.statusBarTextRole"></a> |
662 <a NAME="EricModelMenu.statusBarTextRole" ID="EricModelMenu.statusBarTextRole"></a> |
603 <h4>EricModelMenu.statusBarTextRole</h4> |
663 <h4>EricModelMenu.statusBarTextRole</h4> |
604 <b>statusBarTextRole</b>(<i></i>) |
664 <b>statusBarTextRole</b>(<i></i>) |