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

Method on_toolButtonLayout_clicked

bt_editor/mainwindow.cpp:1236–1245  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1234}
1235
1236void MainWindow::on_toolButtonLayout_clicked()
1237{
1238 if( _current_layout == QtNodes::PortLayout::Horizontal)
1239 {
1240 refreshNodesLayout( QtNodes::PortLayout::Vertical );
1241 }
1242 else{
1243 refreshNodesLayout( QtNodes::PortLayout::Horizontal );
1244 }
1245}
1246
1247void MainWindow::on_actionEditor_mode_triggered()
1248{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected