15 #ifndef BORNAGAIN_GUI_VIEW_MASK_MASKEDITOR_H
16 #define BORNAGAIN_GUI_VIEW_MASK_MASKEDITOR_H
18 #include <QMainWindow>
19 #include <QModelIndex>
Defines actions for MaskEditor which are related to selected MaskItem (toggle mask value,...
Painting widget for MaskEditor, contains graphics scene and graphics view.
Tool widget for MaskEditor.
Main class to draw masks on top of intensity data map.
MaskEditorCanvas * m_editorCanvas
void onPropertyPanelRequest()
shows/hides right panel with properties
QList< QAction * > topToolbarActions()
Returns list of actions intended for styled toolbar (on the top).
MaskEditor(QWidget *parent=nullptr)
MaskEditorToolbar * m_toolbar
MaskEditorActions * m_editorActions
void setMaskContext(SessionModel *model, const QModelIndex &maskContainerIndex, IntensityDataItem *intensityItem)
Main method to setup context for mask editing.
void contextMenuEvent(QContextMenuEvent *event) override
Context menu reimplemented to supress default menu.
MaskEditorPropertyPanel * m_editorPropertyPanel
Base class for a GUI data collection. A collection is e.g. all real data (RealDataModel)....