MCPcopy Create free account
hub / github.com/FreeCAD/FreeCAD / insertItem

Method insertItem

src/Gui/ToolBox.cpp:77–80  ·  view source on GitHub ↗

* This is an overloaded member function, provided for convenience. It behaves essentially like the * above function. * * Inserts the widget \a item at position \a index, or at the bottom of the toolbox if \a index is * out of range. The new item's label is set to \a label. Returns the new item's index. */

Source from the content-addressed store, hash-verified

75 * out of range. The new item's label is set to \a label. Returns the new item's index.
76 */
77int ToolBox::insertItem(int index, QWidget* item, const QString& label)
78{
79 return _pToolBox->insertItem(index, item, label);
80}
81
82/**
83 * Inserts the widget \a item at position \a index, or at the bottom of the toolbox if \a index is

Callers 15

tryModifyMenuBarMethod · 0.45
tryModifyToolBarMethod · 0.45
addPermanentMenuItemsMethod · 0.45
setupMenuBarMethod · 0.45
appendMenuMethod · 0.45
setDirectionMethod · 0.45
setDirectionMethod · 0.45
setDirectionMethod · 0.45
addLinkBeforeMethod · 0.45
setDirectionMethod · 0.45
DlgCustomActionsImpMethod · 0.45
setupMenuBarMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected