eric6/Documentation/Source/eric6.E5Gui.E5ModelMenu.html

changeset 7989
a21d673a8f99
parent 7273
391d6b7b1eff
equal deleted inserted replaced
7988:c4c17121eff8 7989:a21d673a8f99
247 <dd> 247 <dd>
248 index of the item to create an action for (QModelIndex) 248 index of the item to create an action for (QModelIndex)
249 </dd> 249 </dd>
250 </dl> 250 </dl>
251 <dl> 251 <dl>
252 <dt>Returns:</dt> 252 <dt>Return:</dt>
253 <dd> 253 <dd>
254 reference to the created action (QAction) 254 reference to the created action (QAction)
255 </dd> 255 </dd>
256 </dl> 256 </dl>
257 <a NAME="E5ModelMenu.createBaseMenu" ID="E5ModelMenu.createBaseMenu"></a> 257 <a NAME="E5ModelMenu.createBaseMenu" ID="E5ModelMenu.createBaseMenu"></a>
260 260
261 <p> 261 <p>
262 Public method to get the menu that is used to populate sub menu's. 262 Public method to get the menu that is used to populate sub menu's.
263 </p> 263 </p>
264 <dl> 264 <dl>
265 <dt>Returns:</dt> 265 <dt>Return:</dt>
266 <dd> 266 <dd>
267 reference to the menu (E5ModelMenu) 267 reference to the menu (E5ModelMenu)
268 </dd> 268 </dd>
269 </dl> 269 </dl>
270 <a NAME="E5ModelMenu.createMenu" ID="E5ModelMenu.createMenu"></a> 270 <a NAME="E5ModelMenu.createMenu" ID="E5ModelMenu.createMenu"></a>
328 328
329 <p> 329 <p>
330 Public method to get the first separator. 330 Public method to get the first separator.
331 </p> 331 </p>
332 <dl> 332 <dl>
333 <dt>Returns:</dt> 333 <dt>Return:</dt>
334 <dd> 334 <dd>
335 row number of the first separator (integer) 335 row number of the first separator (integer)
336 </dd> 336 </dd>
337 </dl> 337 </dl>
338 <a NAME="E5ModelMenu.index" ID="E5ModelMenu.index"></a> 338 <a NAME="E5ModelMenu.index" ID="E5ModelMenu.index"></a>
348 <dd> 348 <dd>
349 reference to the action to get the index for (QAction) 349 reference to the action to get the index for (QAction)
350 </dd> 350 </dd>
351 </dl> 351 </dl>
352 <dl> 352 <dl>
353 <dt>Returns:</dt> 353 <dt>Return:</dt>
354 <dd> 354 <dd>
355 index of the action (QModelIndex) 355 index of the action (QModelIndex)
356 </dd> 356 </dd>
357 </dl> 357 </dl>
358 <a NAME="E5ModelMenu.makeAction" ID="E5ModelMenu.makeAction"></a> 358 <a NAME="E5ModelMenu.makeAction" ID="E5ModelMenu.makeAction"></a>
376 <dd> 376 <dd>
377 reference to the parent object (QObject) 377 reference to the parent object (QObject)
378 </dd> 378 </dd>
379 </dl> 379 </dl>
380 <dl> 380 <dl>
381 <dt>Returns:</dt> 381 <dt>Return:</dt>
382 <dd> 382 <dd>
383 reference to the created action (QAction) 383 reference to the created action (QAction)
384 </dd> 384 </dd>
385 </dl> 385 </dl>
386 <a NAME="E5ModelMenu.maxRows" ID="E5ModelMenu.maxRows"></a> 386 <a NAME="E5ModelMenu.maxRows" ID="E5ModelMenu.maxRows"></a>
389 389
390 <p> 390 <p>
391 Public method to get the maximum number of entries to show. 391 Public method to get the maximum number of entries to show.
392 </p> 392 </p>
393 <dl> 393 <dl>
394 <dt>Returns:</dt> 394 <dt>Return:</dt>
395 <dd> 395 <dd>
396 maximum number of entries to show (integer) 396 maximum number of entries to show (integer)
397 </dd> 397 </dd>
398 </dl> 398 </dl>
399 <a NAME="E5ModelMenu.model" ID="E5ModelMenu.model"></a> 399 <a NAME="E5ModelMenu.model" ID="E5ModelMenu.model"></a>
402 402
403 <p> 403 <p>
404 Public method to get a reference to the model. 404 Public method to get a reference to the model.
405 </p> 405 </p>
406 <dl> 406 <dl>
407 <dt>Returns:</dt> 407 <dt>Return:</dt>
408 <dd> 408 <dd>
409 reference to the model (QAbstractItemModel) 409 reference to the model (QAbstractItemModel)
410 </dd> 410 </dd>
411 </dl> 411 </dl>
412 <a NAME="E5ModelMenu.mouseMoveEvent" ID="E5ModelMenu.mouseMoveEvent"></a> 412 <a NAME="E5ModelMenu.mouseMoveEvent" ID="E5ModelMenu.mouseMoveEvent"></a>
464 464
465 <p> 465 <p>
466 Public method to add any actions before the tree. 466 Public method to add any actions before the tree.
467 </p> 467 </p>
468 <dl> 468 <dl>
469 <dt>Returns:</dt> 469 <dt>Return:</dt>
470 <dd> 470 <dd>
471 flag indicating if any actions were added 471 flag indicating if any actions were added
472 </dd> 472 </dd>
473 </dl> 473 </dl>
474 <a NAME="E5ModelMenu.removeEntry" ID="E5ModelMenu.removeEntry"></a> 474 <a NAME="E5ModelMenu.removeEntry" ID="E5ModelMenu.removeEntry"></a>
498 498
499 <p> 499 <p>
500 Public method to get the index of the root item. 500 Public method to get the index of the root item.
501 </p> 501 </p>
502 <dl> 502 <dl>
503 <dt>Returns:</dt> 503 <dt>Return:</dt>
504 <dd> 504 <dd>
505 index of the root item (QModelIndex) 505 index of the root item (QModelIndex)
506 </dd> 506 </dd>
507 </dl> 507 </dl>
508 <a NAME="E5ModelMenu.separatorRole" ID="E5ModelMenu.separatorRole"></a> 508 <a NAME="E5ModelMenu.separatorRole" ID="E5ModelMenu.separatorRole"></a>
511 511
512 <p> 512 <p>
513 Public method to get the role of the separator. 513 Public method to get the role of the separator.
514 </p> 514 </p>
515 <dl> 515 <dl>
516 <dt>Returns:</dt> 516 <dt>Return:</dt>
517 <dd> 517 <dd>
518 role of the separator (integer) 518 role of the separator (integer)
519 </dd> 519 </dd>
520 </dl> 520 </dl>
521 <a NAME="E5ModelMenu.setFirstSeparator" ID="E5ModelMenu.setFirstSeparator"></a> 521 <a NAME="E5ModelMenu.setFirstSeparator" ID="E5ModelMenu.setFirstSeparator"></a>
608 608
609 <p> 609 <p>
610 Public method to get the role of the status bar text. 610 Public method to get the role of the status bar text.
611 </p> 611 </p>
612 <dl> 612 <dl>
613 <dt>Returns:</dt> 613 <dt>Return:</dt>
614 <dd> 614 <dd>
615 role of the status bar text (integer) 615 role of the status bar text (integer)
616 </dd> 616 </dd>
617 </dl> 617 </dl>
618 <div align="right"><a href="#top">Up</a></div> 618 <div align="right"><a href="#top">Up</a></div>

eric ide

mercurial