Skip to content
Snippets Groups Projects
Commit 53c27a64 authored by Raphael Grimm's avatar Raphael Grimm
Browse files

Add kill all button to ScenarioManagerGui

parent 5ffa6ee1
No related branches found
No related tags found
No related merge requests found
......@@ -243,6 +243,12 @@ QPointer<QWidget> ScenarioManagerWidgetController::getCustomTitlebarWidget(QWidg
customToolbar->addAction(QIcon(":/icons/configure-3.png"), "Configure", &settingsController, SLOT(showSettings()));
QToolTip::showText(customToolbar->mapToGlobal(QPoint(0, 0)), "Additional Packages can be opened in the settings");
customToolbar->addAction(editModeAction);
{
QAction* killallAction = new QAction("Kill All", this);
customToolbar->addAction(killallAction);
killallAction->setToolTip("Kill all armarx applications except guis on this pc (executes 'armarx killAll')");
connect(killallAction, &QAction::triggered, [] { [[maybe_unused]] auto result = std::system("armarx killAll");});
}
return customToolbar.data();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment