26#ifndef QT_NO_CONTEXTMENU
27class QContextMenuEvent;
73#ifndef QT_NO_CONTEXTMENU
87 bool eventFilter(QObject* watched, QEvent* event)
override;
Selects and hosts editors while preserving detached document preparation.
Project document navigator used by the SILICON editor.
void updateStatus() const
Refreshes the status bar text for the current scene mode.
void updateComponentCatalogGeometry()
Repositions and resizes the component catalog overlay.
void refreshProjectUi()
Refreshes the property dock after a project-level change.
ProjectSession projectSession
SiliconWindow()
Constructs and initializes the SILICON editor window.
void selectionChanged()
Updates action enabled states and property UI after selection changes.
AboutDialog * aboutDialog
std::unique_ptr< EditorWorkspace > workspace
void contextMenuEvent(QContextMenuEvent *event) override
Opens the diagram context menu for mode and editing actions.
CircuitEditor * circuitEditor
QDockWidget * propertyDock
Dock containing the current property editor.
std::unique_ptr< ProjectFileController > fileController
bool closeAfterSaveConfirmation
Allows the close event triggered after an accepted dirty-file prompt.
void initializeProjectTree()
Creates and wires the project tree widget shown in the project dock.
void closeEvent(QCloseEvent *event) override
void about() const
Shows the application about dialog.
bool eventFilter(QObject *watched, QEvent *event) override
Handles viewport events needed by floating child widgets.
std::unique_ptr< WindowLifetime > windowLifetime
QDockWidget * logDock
Dock containing application log output.
void projectTreeSelectionChanged()
Handles user selection changes in the project circuit tree.
void showProjectTreeContextMenu(const QPoint &position)
Shows the context menu for project-tree circuit actions.
void resizeEvent(QResizeEvent *event) override
Keeps floating overlays aligned when the main window is resized.
ComponentCatalogOverlay * componentCatalogOverlay
ProjectTree * projectTree
Borrowed handles into the workspace and Qt widget hierarchy.
std::unique_ptr< ProjectDocumentController > documentController
std::unique_ptr< WindowActions > actionSet
std::unique_ptr< PropertyPanel > propertyPanel
ScopedEventFilter viewportFilter
std::unique_ptr< DiagramInteractionController > interactionController
std::unique_ptr< WaveformController > waveformController
QDockWidget * documentDock
Dock containing the project document tree.
std::unique_ptr< QUndoStack > undoStack
LogSideView * logSideView
void updatePropertyDock()
Rebuilds the property dock for the current selection or active circuit.
~SiliconWindow() override
Releases scoped callbacks and UI owners in dependency order.
void exportImage()
Placeholder slot for exporting the diagram as an image.
void refreshActiveDocumentUi()
Refreshes actions and docks that depend on the active document.
std::unique_ptr< ArchitectureController > architectureController
std::unique_ptr< GraphicalLogStream > graphicalLogStream
Owns main-window actions, menus, shortcuts, and their enabled state.