31 , m_instrumentModel(mainWindow->instrumentModel())
33 auto horizontalLayout =
new QHBoxLayout;
37 auto mainLayout =
new QVBoxLayout;
38 mainLayout->setMargin(0);
39 mainLayout->setSpacing(0);
41 mainLayout->addLayout(horizontalLayout);
42 setLayout(mainLayout);
Defines class DistributionDialog.
Defines class MainWindow.
Defines class InstrumentModel.
Defines class InstrumentViewActions.
Defines class InstrumentView.
The dialog which shows a MaskEditor.
Collection of actions to add/remove/clone instrument.
void onContextMenuRequest(const QPoint &point, const QModelIndex &indexAtPoint)
void setModel(SessionModel *model)
void setSelectionModel(QItemSelectionModel *selectionModel)
InstrumentViewToolBar * m_toolBar
void showEvent(QShowEvent *)
void onItemSelectionChanged(SessionItem *instrumentItem)
InstrumentModel * m_instrumentModel
InstrumentViewActions * m_actions
ItemStackPresenter< InstrumentEditorWidget > * m_instrumentEditor
InstrumentView(MainWindow *mainWindow)
InstrumentSelectorWidget * m_instrumentSelector
void onExtendedDetectorEditorRequest(DetectorItem *detectorItem)
The ItemStackPresenter templated class extends ItemStackWidget so it could operate with SesionItem ed...
void setItem(U *item, bool *isNew=0)
Shows the widget for given item (and hides previous one).