59 void openICRequested(
const QString &blobName,
int icElementId,
const QByteArray &blob);
64 void addUndoRedoMenu();
65 void removeUndoRedoMenu();
66 void syncZoomActions();
69 void updateStatusInfo();
74 QLabel *m_statusInfo =
nullptr;
78 QShortcut *m_prevMainPropShortcut;
79 QShortcut *m_nextMainPropShortcut;
80 QShortcut *m_prevSecndPropShortcut;
81 QShortcut *m_nextSecndPropShortcut;
82 QShortcut *m_changePrevElmShortcut;
83 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)
friend class TestSceneUiBinder
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.