Interface the host application (MainWindow) provides to BewavedDolphin.
Controller for the left-panel element palette, IC list, and search tab.
Interface MainWindow provides to its extracted controllers (export, IC, …).
virtual void refreshICButtonsEnabled()=0
Re-evaluates the enabled state of the Add-IC button against the current tab.
virtual DolphinHost * dolphinHost()=0
The host's DolphinHost facet, used to drive headless beWavedDolphin exports.
virtual void setICButtonsVisible(bool visible)=0
Shows or hides the IC management tool buttons (Add / Remove / Make-self-contained).
virtual QDir currentDir() const =0
Directory of the currently active .panda file.
virtual WorkSpace * currentTab() const =0
Currently visible WorkSpace tab, or nullptr when none is open.
virtual ~MainWindowHost()=default
virtual QFileInfo currentFile() const =0
QFileInfo of the currently active .panda file.
virtual ElementPalette * palette() const =0
The element palette panel (file-based and embedded IC lists live here).
virtual QFileInfo icListFile() const =0
File info used to populate the file-based IC palette (parent workspace for inline IC tabs).
virtual void showStatusMessage(const QString &message, int timeout)=0
Shows message in the host's status bar for timeout milliseconds.
virtual void requestSave()=0
Saves the current tab (equivalent to triggering the Save action).
virtual QWidget * widget()=0
Widget used to parent modal dialogs spawned by a controller.
A widget containing a complete circuit editing environment.