53 void openICRequested(
const QString &blobName,
int icElementId,
const QByteArray &blob);
58 void addUndoRedoMenu();
59 void removeUndoRedoMenu();
60 void syncZoomActions();
63 void updateStatusInfo();
68 QLabel *m_statusInfo =
nullptr;
72 QShortcut *m_prevMainPropShortcut;
73 QShortcut *m_nextMainPropShortcut;
74 QShortcut *m_prevSecndPropShortcut;
75 QShortcut *m_nextSecndPropShortcut;
76 QShortcut *m_changePrevElmShortcut;
77 QShortcut *m_changeNextElmShortcut;
Controller for the left-panel element palette, IC list, and search tab.
SceneUiBinder(MainWindowUi *ui, ElementPalette *palette, ICPreviewPopup *previewPopup, QWidget *shortcutParent, QObject *parent=nullptr)
void bind(WorkSpace *tab)
Connects tab's scene/view/simulation to the chrome and syncs action state.
void unbind()
Tears down the connections established by bind() for the currently bound tab.
void loadFileRequested(const QString &filePath)
The bound scene asked to open a file-based IC by path (forwarded to the tab owner).
void openICRequested(const QString &blobName, int icElementId, const QByteArray &blob)
The bound scene asked to open an embedded IC in a tab (forwarded to the tab owner).
A widget containing a complete circuit editing environment.