24 #include <QItemSelectionModel>
34 upperSessionItemWidget))
36 , m_selectionModel(nullptr)
38 addToolBar(Qt::RightToolBarArea,
m_toolbar);
40 auto* splitter =
new QSplitter;
41 splitter->setOrientation(Qt::Vertical);
45 auto* centralWidget =
new QWidget(
this);
46 auto* hLayout =
new QHBoxLayout(centralWidget);
47 hLayout->setContentsMargins(0, 0, 0, 0);
48 hLayout->setSpacing(0);
49 hLayout->addWidget(splitter);
52 setCentralWidget(centralWidget);
54 m_propertyPanel->setSizePolicy(QSizePolicy::Fixed, QSizePolicy::Minimum);
63 Q_UNUSED(shapeContainerIndex);
Defines class IntensityDataItem.
Defines class ProjectionsEditorActions.
Defines class ProjectionsEditorCanvas.
Defines class ProjectionsEditor.
Defines class SessionModel.
Provides various actions for ProjectionsEditor.
void setContext(SessionModel *model, const QModelIndex &shapeContainerIndex, IntensityDataItem *intensityItem)
void setSelectionModel(QItemSelectionModel *selectionModel)
void propertyPanelRequest()
QList< QAction * > topToolbarActions()
Holds a graphics scene to draw projections on top of ColorMap. Being a part of ProjectionEditor,...
void setSelectionModel(QItemSelectionModel *model)
void onActivityModeChanged(MaskEditorFlags::Activity value)
void onResetViewRequest()
void changeActivityRequest(MaskEditorFlags::Activity)
void setContext(SessionModel *model, const QModelIndex &shapeContainerIndex, IntensityDataItem *intensityItem)
void marginsChanged(double left, double right)
void deleteSelectedRequest()
ProjectionsEditorCanvas * m_projectionsCanvas
main tool bar with bottoms at the right
ProjectionsEditor(SessionItemWidget *upperSessionItemWidget=nullptr, QWidget *parent=nullptr)
void setContext(SessionModel *model, const QModelIndex &shapeContainerIndex, IntensityDataItem *intensityItem)
IntensityDataPropertyWidget * m_propertyPanel
bottom widget to draw projections plot
QItemSelectionModel * m_selectionModel
panel at the right with properties
ProjectionsToolbar * m_toolbar
ProjectionsEditorActions * m_editorActions
QList< QAction * > topToolbarActions()
ProjectionsWidget * m_projectionsWidget
canvas with color map at the top
Base class for a GUI data collection. A collection is e.g. all real data (RealDataModel)....