MCPcopy Create free account
hub / github.com/BehaviorTree/Groot / setExpanded

Method setExpanded

bt_editor/models/SubtreeNodeModel.cpp:36–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34}
35
36void SubtreeNodeModel::setExpanded(bool expand)
37{
38 _expanded = expand;
39 _expand_button->setText( _expanded ? "Collapse" : "Expand");
40 _expand_button->adjustSize();
41 _main_widget->adjustSize();
42}
43
44void SubtreeNodeModel::setInstanceName(const QString &name)
45{

Callers 2

subTreeExpandMethod · 0.80
recursiveLoadStepMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected