15 #ifndef BORNAGAIN_GUI_VIEW_MASK_MASKEDITORCANVAS_H
16 #define BORNAGAIN_GUI_VIEW_MASK_MASKEDITORCANVAS_H
24 class QItemSelectionModel;
Defines class MaskEditorFlags.
Painting widget for MaskEditor, contains graphics scene and graphics view.
void deleteSelectedRequest()
void onSavePlotRequest()
Saves plot into project directory.
MaskGraphicsView * m_view
bool isAxisRangeMatchData() const
Returns true if IntensityData is currently at 100% zoom level.
PlotStatusLabel * m_statusLabel
void changeActivityRequest(MaskEditorFlags::Activity)
void onResetViewRequest()
MaskGraphicsScene * getScene()
void onPresentationTypeRequest(MaskEditorFlags::PresentationType presentationType)
MaskResultsPresenter * m_resultsPresenter
IntensityDataItem * m_intensityDataItem
void setSelectionModel(QItemSelectionModel *model)
MaskGraphicsScene * m_scene
void setMaskContext(SessionModel *model, const QModelIndex &maskContainerIndex, IntensityDataItem *intensityItem)
MaskEditorCanvas(QWidget *parent=nullptr)
Graphics scene for MaskEditorCanvas to draw masks on top of intensity data widgets.
Graphics view for MaskEditorCanvas.
Updates bin values inside IntensityData to display current mask state. Returns IntensityData to origi...
The PlotStatusLabel class shows status string as reported by DescriptedPlot in a frame....
Base class for a GUI data collection. A collection is e.g. all real data (RealDataModel)....