SILICON
Loading...
Searching...
No Matches
architectureController.hpp
Go to the documentation of this file.
1/*
2 Copyright (c) 2026. Giulio Cocconi
3
4 This program is free software: you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by
6 the Free Software Foundation, either version 3 of the License, or
7 (at your option) any later version.
8 */
9
10#pragma once
11
12#include <QObject>
13
15#include <ui/actionGroups.hpp>
16
17class QAction;
18
19namespace SILICON::ui {
20
21class EditorWorkspace;
23class DocumentEditor;
25struct ProjectSession;
26
54
55} // namespace SILICON::ui
void visualizeActiveArchitecture()
Opens the visualizer tab for the active architecture document.
void bindActions(const ArchitectureActions &actions)
Connects the main-window architecture actions to their commands.
void configureWorkspace(DocumentEditor *editor)
void handleTabChanged(int index)
Activates the document owned by a newly selected architecture tab.
ArchitectureController(ProjectSession &session, EditorWorkspace &workspace, ProjectDocumentController &documents, QObject *parent=nullptr)
ArchitectureDocumentEditor * architectureEditor
void buildActiveArchitecture()
Compiles the active architecture document, reporting build diagnostics.
Selects and hosts editors while preserving detached document preparation.