Core: Introduce Tab-Bar workbench selector

This commit is contained in:
PaddleStroke
2024-02-05 18:53:30 +01:00
committed by Chris Hennes
parent 9aa0fca3e4
commit 5d3de598e7
10 changed files with 504 additions and 111 deletions

View File

@@ -127,6 +127,15 @@ Workbench* WorkbenchManager::active() const
return _activeWorkbench;
}
std::string WorkbenchManager::activeName() const
{
std::string activeWbName = "";
if (_activeWorkbench) {
activeWbName = _activeWorkbench->name();
}
return activeWbName;
}
std::list<std::string> WorkbenchManager::workbenches() const
{
std::list<std::string> wb;