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

Method on_buttonLock_toggled

bt_editor/sidepanel_editor.cpp:429–436  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

427
428
429void SidepanelEditor::on_buttonLock_toggled(bool locked)
430{
431 static QIcon icon_locked( QPixmap(":/icons/svg/lock.svg" ) );
432 static QIcon icon_unlocked( QPixmap(":/icons/svg/lock_open.svg") );
433
434 ui->buttonLock->setIcon( locked ? icon_locked : icon_unlocked);
435 updateTreeView();
436}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected