15 #ifndef BORNAGAIN_GUI_VIEW_PROJECTION_PROJECTIONSEDITORCANVAS_H
16 #define BORNAGAIN_GUI_VIEW_PROJECTION_PROJECTIONSEDITORCANVAS_H
19 #include <QModelIndex>
29 class QItemSelectionModel;
Defines class MaskEditorFlags.
The ColorMap class presents 2D intensity data from IntensityDataItem as color map.
Graphics scene for MaskEditorCanvas to draw masks on top of intensity data widgets.
Graphics view for MaskEditorCanvas.
A base class for all mask items.
The PlotStatusLabel class shows status string as reported by DescriptedPlot in a frame....
Holds a graphics scene to draw projections on top of ColorMap. Being a part of ProjectionEditor,...
PlotStatusLabel * m_statusLabel
void setSelectionModel(QItemSelectionModel *model)
MaskEditorFlags::Activity m_currentActivity
void onActivityModeChanged(MaskEditorFlags::Activity value)
void onEnteringColorMap()
void onPositionChanged(double x, double y)
ProjectionsEditorCanvas(QWidget *parent=nullptr)
QModelIndex m_containerIndex
void onResetViewRequest()
MaskItem * m_liveProjection
temporary projection item matching mouse move
void changeActivityRequest(MaskEditorFlags::Activity)
void setConnected(bool isConnected)
void setContext(SessionModel *model, const QModelIndex &shapeContainerIndex, IntensityDataItem *intensityItem)
void marginsChanged(double left, double right)
void setColorMap(ColorMap *colorMap)
void deleteSelectedRequest()
MaskGraphicsView * m_view
MaskGraphicsScene * m_scene
MaskGraphicsScene * getScene()
IntensityDataItem * m_intensityDataItem
Base class for a GUI data collection. A collection is e.g. all real data (RealDataModel)....